hns - 日記自動生成システム - Version 2.19.9

先月 2010年05月 来月
1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31
Namazu for hns による簡易全文検索
詳しくは 詳細指定/ヘルプを参照して下さい
検索式:

2010年05月02日() 旧暦 [n年日記] [更新:"2010/05/22 23:29:42"]

#1 [comp] libtool (Re: compiling pinapa)

Now I am trying to compile pinapa . I am preparing pkgsrc for my own purpose. It still requires strange tricks everywhere. The gcc should be 3.4.1 for the moment and I have installed lang/gcc34 and private/gcc341 in sequence. We may use backage binary for gcc-3.4.6. Besides currently, I needed to say,
env PATH=/usr/pkg/gcc34/bin:$PATH make 
which sounds strange also (Sorry it is just a lack of my knowledge). Anyway the arch is i386 only so far.

libtool version:

I recently noticed that my older machine (installed in last year) ran a little bit far from the start. The newer machine gets following lines.
./libtool[907]: X--tag=CXX: not found
./libtool[907]: libtool: ignoring unknown tag : not found
./libtool[907]: X--mode=compile: not found
./libtool[6577]: *** Warning: inferring the mode of operation is deprecated.: not found
./libtool[6577]: *** Future versions of Libtool will require -mode=MODE be specified.: not found
./libtool[6577]: Xg++: not found
./libtool[6577]: X-DPACKAGE_NAME="pinapa": not found
./libtool[6577]: X-DPACKAGE_TARNAME="pinapa": not found
./libtool[6577]: X-DPACKAGE_VERSION="2.5": not found
....
Now I understand the libtool version difference

OSReleaselibtool-base
OLDNetBSDNetBSD 5.0_STABLElibtool-base-1.5.26
NEWNetBSDNetBSD 5.0_BETAlibtool-base-2.2.6bnb4
So I have backed up to the similar time stamp.
  36  2010-05-02 16:39  cd ../../devel/libtool-base/
  37  2010-05-02 16:40  cvs update -D 2009-01-25
  38  2010-05-02 16:40  sudo pkg_delete libtool-base

  40  2010-05-02 16:40  make clean
  41  2010-05-02 16:40  make package-install

  43  2010-05-02 16:41  cd ../libtool
  44  2010-05-02 16:41  cvs update -D 2009-01-25
  45  2010-05-02 16:41  cd ../libtool-base/
  46  2010-05-02 16:41  make clean
  49  2010-05-02 16:41  make package-install
  50  2010-05-02 16:42  make -i package-install
  51  2010-05-02 16:42  make install
Now both machines run to the same point.
Following URL says the reason is that two libtool versions are mixed. Do autogen.sh again ?

This problem may be fixed with following patch

$NetBSD$

--- work/pinapa/configure.ac.orig	2010-01-26 11:57:06.000000000 +0900
+++ configure.ac	2010-05-22 21:04:44.799813645 +0900
@@ -34,7 +34,7 @@
 AC_CONFIG_AUX_DIR(config)
 
 # Where to find extension macros
-AC_CONFIG_MACRO_DIR(config)
+dnl AC_CONFIG_MACRO_DIR(config)
 
 # Initialization for use of AUTOMAKE version 1.9 or higher
 AM_INIT_AUTOMAKE([dist-bzip2 check-news 1.9])

next issue:

..work/pinapa/../gcc-3.4.1/
  gcc/varray.h:53: error: declaration of `rtx_def*const_equiv_data::rtx'
  gcc/coretypes.h:41: error: changes meaning of `rtx' from `typedef struct rtx_def*rtx'
  gcc/varray.h:113: error: declaration of `rtx_def*varray_data_tag::rtx[1]'
  gcc/coretypes.h:41: error: changes meaning of `rtx' from `typedef struct rtx_def*rtx'
  gcc/varray.h:115: error: declaration of `rtvec_def*varray_data_tag::rtvec[1]'
  gcc/coretypes.h:43: error: changes meaning of `rtvec' from `typedef struct rtvec_def*rtvec'
  gcc/varray.h:117: error: declaration of `tree_node*varray_data_tag::tree[1]'
  gcc/coretypes.h:45: error: changes meaning of `tree' from `typedef union tree_node*tree'
This is cleared by patch. (not exist now) -> alternative: varray.h-patch (but this is not always necessary)

sysc/kernel/sc_process_table.h: No such file or directory:

In file included from ../include/pinapa-analyze-body.h:41,
                 from ../src/pinapa-analyze-body.cpp:33:
../include/pinapa-systemc-light.h:58:42: sysc/kernel/sc_process_table.h: No such file or directory
../include/pinapa-systemc-light.h:59:40: sysc/kernel/sc_process_int.h: No such file or directory
../include/pinapa-systemc-light.h:60:43: sysc/kernel/sc_object_manager.h: No such file or directory
../include/pinapa-systemc-light.h:63:44: sysc/kernel/sc_module_registry.h: No such file or directory
But the same name is found at .. strange ..



最近の日記
2020年02月21日
size of the packages (NetBSD/amd64 9.0RC2) 48 GB
2020年02月08日
concrete5 and php 7.2
2020年01月13日
Hellow world on R
2020年01月05日
Certificate renewed.
2019年12月31日
graphics/adapta-gtk-theme-3.95.0.11nb2
以上、1 日分です。
タイトル一覧
カテゴリ分類
Powered by hns-2.19.9, HyperNikkiSystem Project

Count.cgi (since 2000/02/05)