LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 678|回复: 5

编译swig-1.3.29时出错,求助!

[复制链接]
发表于 2006-10-30 22:27:01 | 显示全部楼层 |阅读模式

  1. >>> Emerging (1 of 3) dev-lang/swig-1.3.29-r1 to /
  2. * swig-1.3.29.tar.gz MD5 ;-) ...                                                   [ ok ]
  3. * swig-1.3.29.tar.gz RMD160 ;-) ...                                                [ ok ]
  4. * swig-1.3.29.tar.gz SHA1 ;-) ...                                                  [ ok ]
  5. * swig-1.3.29.tar.gz SHA256 ;-) ...                                                [ ok ]
  6. * swig-1.3.29.tar.gz size ;-) ...                                                  [ ok ]
  7. * checking ebuild checksums ;-) ...                                                [ ok ]
  8. * checking auxfile checksums ;-) ...                                               [ ok ]
  9. * checking miscfile checksums ;-) ...                                              [ ok ]
  10. * checking swig-1.3.29.tar.gz ;-) ...                                              [ ok ]
  11. >>> Unpacking source...
  12. >>> Unpacking swig-1.3.29.tar.gz to /var/tmp/portage/dev-lang/swig-1.3.29-r1/work
  13. * Applying swig-const.patch ...
  14.   [ ok ]
  15. >>> Source unpacked.
  16. >>> Compiling source in /var/tmp/portage/dev-lang/swig-1.3.29-r1/work/swig-1.3.29 ...
  17. * econf: updating /swig-1.3.29/Tools/config/config.guess with /usr/share/gnuconfig/config.guess
  18. * econf: updating /swig-1.3.29/Tools/config/config.sub with /usr/share/gnuconfig/config.sub
  19. ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --without-x --without-tcl --with-python=python --with-perl5=/usr/bin/perl --with-java=/etc/java-config-2/current-system-vm --with-javaincl=/etc/java-config-2/current-system-vm/include --without-guile --without-ruby --without-php4 --without-ocaml --without-pike --without-csharp --without-lua --build=i686-pc-linux-gnu
  20. checking build system type... i686-pc-linux-gnu
  21. checking host system type... i686-pc-linux-gnu
  22. checking for a BSD-compatible install... /bin/install -c
  23. checking whether build environment is sane... yes
  24. checking for gawk... gawk
  25. checking whether make sets $(MAKE)... yes
  26. checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
  27. checking for C compiler default output file name... a.out
  28. checking whether the C compiler works... yes
  29. checking whether we are cross compiling... no
  30. checking for suffix of executables...
  31. checking for suffix of object files... o
  32. checking whether we are using the GNU C compiler... yes
  33. checking whether i686-pc-linux-gnu-gcc accepts -g... yes
  34. checking for i686-pc-linux-gnu-gcc option to accept ANSI C... none needed
  35. checking for style of include used by make... GNU
  36. checking dependency style of i686-pc-linux-gnu-gcc... gcc3
  37. checking for i686-pc-linux-gnu-g++... i686-pc-linux-gnu-g++
  38. checking whether we are using the GNU C++ compiler... yes
  39. checking whether i686-pc-linux-gnu-g++ accepts -g... yes
  40. checking dependency style of i686-pc-linux-gnu-g++... gcc3
  41. checking for bison... bison -y
  42. checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib
  43. checking whether i686-pc-linux-gnu-gcc and cc understand -c and -o together... yes
  44. checking for ar... ar
  45. checking maximum warning verbosity option... -Wall -W -ansi -pedantic for C++ -Wall -W -ansi -pedantic for C
  46. checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E
  47. checking for egrep... grep -E
  48. checking for ANSI C header files... yes
  49. checking for sys/types.h... yes
  50. checking for sys/stat.h... yes
  51. checking for stdlib.h... yes
  52. checking for string.h... yes
  53. checking for memory.h... yes
  54. checking for strings.h... yes
  55. checking for inttypes.h... yes
  56. checking for stdint.h... yes
  57. checking for unistd.h... yes
  58. checking for bool... yes
  59. checking SO... .so
  60. checking LDSHARED... gcc -shared
  61. checking CXXSHARED... gcc -shared
  62. checking TRYLINKINGWITHCXX... CXXSHARED= i686-pc-linux-gnu-g++ -shared
  63. checking CCSHARED... -fpic
  64. checking RPATH... -Xlinker -rpath $(exec_prefix)/lib -Xlinker -rpath .
  65. checking LINKFORSHARED... -Xlinker -export-dynamic

  66. Checking for installed packages.
  67. Note : None of the following packages are required to compile SWIG

  68. checking for popen... yes
  69. checking for dlopen in -ldl... yes
  70. checking for shl_load in -ldld... no
  71. checking for swill_init in -lswill... no
  72. checking for main in -lieee... yes
  73. checking for crypt in -lcrypt... yes
  74. checking for X... disabled
  75. checking for X11 header files... checking for X11 libraries... /usr/X11R6/lib
  76. configure: Disabling Tcl
  77. checking for Python prefix... /usr
  78. checking for Python exec-prefix... /usr
  79. checking for Python version... python2.4
  80. checking for Python lib dir... lib
  81. checking for Python header files... -I/usr/include/python2.4 -I/usr/lib/python2.4/config
  82. checking for Python library... /usr/lib/python2.4/config
  83. checking for Perl5 header files... /usr/lib/perl5/5.8.8/i686-linux/CORE
  84. checking for Perl5 library... perl
  85. checking for Perl5 compiler options... -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -isystem /usr/include/gdbm
  86. checking for javac... /etc/java-config-2/current-system-vm/bin/javac
  87. checking for java include file jni.h... /etc/java-config-2/current-system-vm/include
  88. checking for java include file jni_md.h... /etc/java-config-2/current-system-vm/include/linux
  89. checking for gcj... no
  90. checking for gcjh... no
  91. configure: Disabling Guile
  92. ./configure: line 7078: syntax error near unexpected token `('
  93. ./configure: line 7078: `        RUBYDIR=`($RUBY -rmkmf -e 'print Config::CONFIG["archdir"] || $archdir') 2>/dev/null`'

  94. !!! Please attach the following file when filing a report to bugs.gentoo.org:
  95. !!! /var/tmp/portage/dev-lang/swig-1.3.29-r1/work/swig-1.3.29/config.log

  96. !!! ERROR: dev-lang/swig-1.3.29-r1 failed.
  97. Call stack:
  98.   ebuild.sh, line 1568:   Called dyn_compile
  99.   ebuild.sh, line 937:   Called src_compile
  100.   swig-1.3.29-r1.ebuild, line 48:   Called econf '--without-x' '--without-tcl' '--with-python=python' '--with-perl5=/usr/bin/perl' '--with-java=/etc/java-config-2/current-system-vm' '--with-javaincl=/etc/java-config-2/current-system-vm/include' '--without-guile' '--without-ruby' '--without-php4' '--without-ocaml' '--without-pike' '--without-csharp' '--without-lua'
  101.   ebuild.sh, line 540:   Called die

  102. !!! econf failed
  103. !!! If you need support, post the topmost build error, and the call stack if relevant.
复制代码
发表于 2006-10-30 22:55:24 | 显示全部楼层
发这样的贴,请至少先贴一下bugs.gentoo.org的搜索结果
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-10-30 23:59:25 | 显示全部楼层

没搜到什么有用的结果

Post by zhllg
发这样的贴,请至少先贴一下bugs.gentoo.org的搜索结果

可能是不熟悉,我觉得bugs.gentoo.org不是很好用(在搜索这方面)!
回复 支持 反对

使用道具 举报

发表于 2006-10-31 00:12:05 | 显示全部楼层
不一定要自己来判断到底有没有用
只要你贴出来,就可以省其他人的时间
http://bugs.gentoo.org/buglist.c ... oop&value0-0-0=
回复 支持 反对

使用道具 举报

发表于 2006-10-31 08:36:15 | 显示全部楼层
请问怎么报告bugs呀?我去了几次不知道哪些写在哪?英文比较差点,呵呵。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-10-31 19:38:00 | 显示全部楼层

谢谢您的指点

Post by zhllg
不一定要自己来判断到底有没有用
只要你贴出来,就可以省其他人的时间
http://bugs.gentoo.org/buglist.c ... oop&value0-0-0=

问题已经从bugs.gentoo.org得到解决方法了,原来是我的bash引起的!
谢谢!
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表