[Gambas-user] Gambas2 & SVN: problem

Benoît Minisini gambas at ...1...
Fri Mar 5 12:43:12 CET 2010


> I got an error concerning the version of libtool when I try to compile
> Gambas2 from SVN:
> 
> 
> ************************************************************
> 
> ALL COMPONENTS WILL BE COMPILED
> 
> ************************************************************
> 
> make  all-recursive
> make[1]: Entering directory
> `/tmp/yaourt-tmp-leo/aur-gambas2-svn/gambas2-svn/src/gambas2-build'
> Making all in main
> make[2]: Entering directory
> `/tmp/yaourt-tmp-leo/aur-gambas2-svn/gambas2-svn/src/gambas2-build/main'
> make  all-recursive
> make[3]: Entering directory
> `/tmp/yaourt-tmp-leo/aur-gambas2-svn/gambas2-svn/src/gambas2-build/main'
> Making all in gbx
> make[4]: Entering directory
> `/tmp/yaourt-tmp-leo/aur-gambas2-svn/gambas2-svn/src/gambas2-build/main/gbx
> ' /bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.
> -I..    -DGBX_INFO
> -pipe -Wall -Wno-unused-value -Wcast-align -fsigned-char
> -fvisibility=hidden -g -Os
> -I../share -D_REENTRANT -I/usr/lib/libffi-3.0.8/include    -O0  -MT
> gb_la-gbx_c_class.lo
> -MD -MP -MF .deps/gb_la-gbx_c_class.Tpo -c -o gb_la-gbx_c_class.lo `test -f
> 'gbx_c_class.c' || echo './'`gbx_c_class.c
> libtool: Version mismatch error.  This is libtool 2.2.6, but the
> libtool: definition of this LT_INIT comes from libtool 2.2.6b.
> libtool: You should recreate aclocal.m4 with macros from libtool 2.2.6
> libtool: and run autoconf again.
> make[4]: *** [gb_la-gbx_c_class.lo] Error 63
> make[4]: Leaving directory
> `/tmp/yaourt-tmp-leo/aur-gambas2-svn/gambas2-svn/src/gambas2-build/main/gbx
> ' make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory
> `/tmp/yaourt-tmp-leo/aur-gambas2-svn/gambas2-svn/src/gambas2-build/main'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory
> `/tmp/yaourt-tmp-leo/aur-gambas2-svn/gambas2-svn/src/gambas2-build/main'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory
> `/tmp/yaourt-tmp-leo/aur-gambas2-svn/gambas2-svn/src/gambas2-build'
> make: *** [all] Error 2
> 
> 
> This is the output from libtool:
> [leo@"hp_host" ~]$ libtool --version
> ltmain.sh (GNU libtool) 2.2.6b
> Written by Gordon Matzigkeit <gord at ...2388...>, 1996
> 
> Copyright (C) 2008 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> 
> 
> 
> Ciao.
> Leo.
> 

What happens if you edit the main/configure.ac file and replace the "LT_INIT" 
in it by "AC_PROG_LIBTOOL"? 

Of course, you have to do a ./reconf && ./configure after that. Just test in 
the main directory, do not reconf an configure the entire package.

-- 
Benoît Minisini




More information about the User mailing list