LinuxSir.cn,穿越时空的Linuxsir!

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

求助:libtool.m4 and ltmain.sh have a version mismatch!

[复制链接]
发表于 2004-12-19 11:09:29 | 显示全部楼层 |阅读模式
emerge --newuse --update --deep world时出错
  1. # emerge --newuse --update --deep world
  2. Calculating world dependencies               ...done!
  3. >>> emerge (1 of 167) media-libs/lcms-1.13 to /
  4. >>> md5 src_uri ;-) lcms-1.13.tar.gz
  5. >>> Unpacking source...
  6. >>> Unpacking lcms-1.13.tar.gz to /var/tmp/portage/lcms-1.13/work
  7. * Using GNU config files from /usr/share/libtool
  8. *  Updating config.sub                                                                                                [ ok ] *  Updating config.guess                                                                                              [ ok ] * Running autoreconf...
  9. * Running libtoolize...
  10. * Patching ${S}/ltmain.sh ...
  11. *   Applying portage-1.4.1.patch ...
  12. *   Applying max_cmd_len-1.5.0.patch ...
  13. *   Applying sed-1.4.3.patch ...
  14. *   Applying tmp-1.3.5.patch ...
  15. * Applying uClibc/libtool patches ...
  16. >>> Source unpacked.
  17. * econf: updating /var/tmp/portage/lcms-1.13/work/lcms-1.13/config.guess with /usr/share/gnuconfig/config.guess
  18. * econf: updating /var/tmp/portage/lcms-1.13/work/lcms-1.13/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 --disable-dependency-tracking --with-jpeg --with-tiff --with-zlib --with-python
  20. configure: WARNING: If you wanted to set the --build type, don't use --host.
  21.     If a cross compiler is detected then cross compile mode will be used.
  22. checking build system type... i686-pc-linux-gnu
  23. checking host system type... i686-pc-linux-gnu
  24. checking target system type... i686-pc-linux-gnu
  25. checking whether build environment is sane... yes
  26. checking for a BSD-compatible install... /bin/install -c
  27. checking for gawk... gawk
  28. checking whether make sets $(MAKE)... yes
  29. checking for i686-pc-linux-gnu-strip... i686-pc-linux-gnu-strip
  30. checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
  31. checking for C compiler default output file name... a.out
  32. checking whether the C compiler works... yes
  33. checking whether we are cross compiling... no
  34. checking for suffix of executables...
  35. checking for suffix of object files... o
  36. checking whether we are using the GNU C compiler... yes
  37. checking whether i686-pc-linux-gnu-gcc accepts -g... yes
  38. checking for i686-pc-linux-gnu-gcc option to accept ANSI C... none needed
  39. checking for style of include used by make... GNU
  40. checking dependency style of i686-pc-linux-gnu-gcc... none
  41. checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E
  42. checking for a sed that does not truncate output... /bin/sed
  43. checking for egrep... grep -E
  44. checking for ld used by i686-pc-linux-gnu-gcc... /usr/i686-pc-linux-gnu/bin/ld
  45. checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
  46. checking for a BSD-compatible install... /bin/install -c
  47. checking whether make sets $(MAKE)... (cached) yes
  48. checking whether ln -s works... yes
  49. checking for i686-pc-linux-gnu-g++... i686-pc-linux-gnu-g++
  50. checking whether we are using the GNU C++ compiler... yes
  51. checking whether i686-pc-linux-gnu-g++ accepts -g... yes
  52. checking dependency style of i686-pc-linux-gnu-g++... none
  53. checking for a Python interpreter with version >= 1.5.2... python
  54. checking for python... /usr/bin/python
  55. checking for python version... 2.3
  56. checking for python platform... linux2
  57. checking for python script directory... ${prefix}/lib/python2.3/site-packages
  58. checking for python extension module directory... ${exec_prefix}/lib/python2.3/site-packages
  59. checking for swig... /usr/bin/swig
  60. checking for swig version... 1.3.21
  61. checking for required swig version >= 1.3.12... yes
  62. checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r
  63. checking for BSD-compatible nm... /usr/bin/i686-pc-linux-gnu-nm -B
  64. checking how to recognise dependent libraries... pass_all
  65. checking for ANSI C header files... yes
  66. checking for sys/types.h... yes
  67. checking for sys/stat.h... yes
  68. checking for stdlib.h... yes
  69. checking for string.h... yes
  70. checking for memory.h... yes
  71. checking for strings.h... yes
  72. checking for inttypes.h... yes
  73. checking for stdint.h... yes
  74. checking for unistd.h... yes
  75. checking dlfcn.h usability... yes
  76. checking dlfcn.h presence... yes
  77. checking for dlfcn.h... yes
  78. checking how to run the C++ preprocessor... i686-pc-linux-gnu-g++ -E
  79. checking for i686-pc-linux-gnu-g77... i686-pc-linux-gnu-g77
  80. checking whether we are using the GNU Fortran 77 compiler... yes
  81. checking whether i686-pc-linux-gnu-g77 accepts -g... yes
  82. checking the maximum length of command line arguments... 32768
  83. checking command to parse /usr/bin/i686-pc-linux-gnu-nm -B output from i686-pc-linux-gnu-gcc object... ok
  84. checking for objdir... .libs
  85. checking for i686-pc-linux-gnu-ar... i686-pc-linux-gnu-ar
  86. checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib
  87. checking for i686-pc-linux-gnu-strip... (cached) i686-pc-linux-gnu-strip
  88. checking for correct ltmain.sh version... no

  89. *** Gentoo sanity check failed! ***
  90. *** libtool.m4 and ltmain.sh have a version mismatch! ***
  91. *** (libtool.m4 = 1.5.10, ltmain.sh = 1.5) ***

  92. Please run:

  93.   libtoolize --copy --force

  94. if appropriate, please contact the maintainer of this
  95. package (or your distribution) for help.


  96. !!! ERROR: media-libs/lcms-1.13 failed.
  97. !!! Function econf, Line 447, Exitcode 1
  98. !!! econf failed
  99. !!! If you need support, post the topmost build error, NOT this status message.
复制代码

找到一处同样现象的,也不知所云:http://gentoo.pl/component/option,com_simpleboard/Itemid,35/func,view/id,3697/catid,4/
:help
 楼主| 发表于 2004-12-19 11:27:53 | 显示全部楼层

补充一下

按提示
# libtoolize --copy --force
libtoolize: `configure.ac' does not exist
Try `libtoolize --help' for more information.
于是
# cd /usr/share/libtool
libtool # libtoolize --copy --force
libtoolize: `configure.ac' does not exist
Try `libtoolize --help' for more information.

# cd /usr/share/libtool/libltdl
libltdl # libtoolize --copy --force
You should update your `aclocal.m4' by running aclocal.
You should update your `aclocal.m4' by running aclocal.
好的
libltdl # aclocal
/usr/share/aclocal/wxwin.m4:36: warning: underquoted definition of AM_OPTIONS_WXCONFIG
  run info '(automake)Extending aclocal'
  or see http://sources.redhat.com/automa ... l#Extending-aclocal
/usr/share/aclocal/wxwin.m4:59: warning: underquoted definition of AM_PATH_WXCONFIG
/usr/share/aclocal/vorbis.m4:9: warning: underquoted definition of XIPH_PATH_VORBIS
/usr/share/aclocal/pkg.m4:5: warning: underquoted definition of PKG_CHECK_MODULES
/usr/share/aclocal/libreiser4.m4:14: warning: underquoted definition of AC_CHECK_LIBREISER4
/usr/share/aclocal/libmikmod.m4:11: warning: underquoted definition of AM_PATH_LIBMIKMOD
/usr/share/aclocal/libaal.m4:14: warning: underquoted definition of AC_CHECK_LIBAAL
/usr/share/aclocal/gtk.m4:7: warning: underquoted definition of AM_PATH_GTK
/usr/share/aclocal/glib.m4:8: warning: underquoted definition of AM_PATH_GLIB
/usr/share/aclocal/audiofile.m4:12: warning: underquoted definition of AM_PATH_AUDIOFILE
/usr/share/aclocal/ao.m4:9: warning: underquoted definition of XIPH_PATH_AO
/usr/share/aclocal/aalib.m4:12: warning: underquoted definition of AM_PATH_AALIB
至此又不知所措了
发表于 2004-12-19 12:39:17 | 显示全部楼层
你先 emerge lcms
在还没有错误之前 也就是说lcms已经解开了 然后
#cd /var/tmp/portage/lcms-1.13/work/lcms-1.13/
然后运行
#libtoolize --copy --force
发表于 2004-12-19 12:49:40 | 显示全部楼层
我前两天也遇到同样的问题,
我装了个更高级的libtool就搞定了。
你看看你有没有装libtool
如果装了就装个更高级的libtool。然后再看看。
 楼主| 发表于 2004-12-19 13:38:36 | 显示全部楼层
tks
原来cd /var/tmp/portage/lcms-1.13/work/lcms-1.13/是关键,不过libtool版本倒是最新的。
菜鸟问题多 :p
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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