Libtool 2.2

Questions or HOWTOs about the above? Post 'em here...
Post Reply
matelich
Private First Class
Private First Class
Posts: 18
Joined: Mon Jan 23, 2006 9:32 pm
Location: spokane, wa

Libtool 2.2

Post by matelich »

I upgraded my linux box to Kubuntu 8.10 beta and it looks like they've bumped the version of libtool they are using to 2.2, which doesn't seem to work with the mainline of bzflag. Unfortunately, I'm not wise in the ways of libtool. Could someone give me a hand?

thanks

/bin/bash ../../libtool --silent --tag=CXX --silent --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../include -I../../include -I/usr/include/freetype2 -D_REENTRANT -Wall -W -Wundef -Wshadow -mtune=i686 -fsigned-char -ffast-math -fno-exceptions -g -O2 -MT buildDate.lo -MD -MP -MF .deps/buildDate.Tpo -c -o buildDate.lobuildDate.cxx
../../libtool: line 838: X--tag=CXX: command not found
../../libtool: line 871: libtool: ignoring unknown tag : command not found
../../libtool: line 838: X--mode=compile: command not found
../../libtool: line 1005: *** Warning: inferring the mode of operation is deprecated.: command not found
../../libtool: line 1006: *** Future versions of Libtool will require --mode=MODE be specified.: command not found
../../libtool: line 1149: Xg++: command not found
../../libtool: line 1149: X-DHAVE_CONFIG_H: command not found
../../libtool: line 1149: X-I.: command not found
../../libtool: line 1149: X-I../../include: No such file or directory
../../libtool: line 1149: X-I../../include: No such file or directory
../../libtool: line 1149: X-I/usr/include/freetype2: No such file or directory
../../libtool: line 1149: X-D_REENTRANT: command not found
../../libtool: line 1149: X-Wall: command not found
../../libtool: line 1149: X-W: command not found
../../libtool: line 1149: X-Wundef: command not found
../../libtool: line 1149: X-Wshadow: command not found
../../libtool: line 1149: X-mtune=i686: command not found
../../libtool: line 1149: X-fsigned-char: command not found
../../libtool: line 1149: X-ffast-math: command not found
../../libtool: line 1149: X-fno-exceptions: command not found
../../libtool: line 1149: X-g: command not found
../../libtool: line 1149: X-O2: command not found
../../libtool: line 1149: X-MT: command not found
../../libtool: line 1149: XbuildDate.lo: command not found
../../libtool: line 1149: X-MD: command not found
../../libtool: line 1149: X-MP: command not found
../../libtool: line 1149: X-MF: command not found
../../libtool: line 1149: X.deps/buildDate.Tpo: No such file or directory
../../libtool: line 1149: X-c: command not found
../../libtool: line 1202: XbuildDate.lo: command not found
../../libtool: line 1207: libtool: compile: cannot determine name of library object from `': command not found
matelich
Private First Class
Private First Class
Posts: 18
Joined: Mon Jan 23, 2006 9:32 pm
Location: spokane, wa

libtoolize failed

Post by matelich »

Well, maybe reading the README is recommended :)

Appended is the output of my failed autogen.sh call. Thanks for any help...

[tom@hammer ML bzflag]$ sh autogen.sh -v
Verbose output enabled
Found a configure template: ./configure.ac
Preparing the BZFlag build system...please wait

Checking autoreconf version: autoreconf --version
Checking autoconf version: autoconf --version
Found GNU Autoconf version 2.61
Checking if 2.61.0 is greater than 2.58.0
Checking automake version: automake --version
Found GNU Automake version 1.10.1
Checking if 1.10.1 is greater than 1.6.0
Checking libtoolize version: libtoolize --version
Found GNU Libtool version 2.2.4
Checking if 2.2.4 is greater than 1.4.2
Checking aclocal version: aclocal --version
Checking autoheader version: autoheader --version
Checking whether to only output version information
Backing up COPYING in /home/tom/bzflag/three/bzflag/bzflag
cp -p COPYING COPYING.31338.protect_from_automake.backup
Backing up INSTALL in /home/tom/bzflag/three/bzflag/bzflag
cp -p INSTALL INSTALL.31338.protect_from_automake.backup
Found an autom4te.cache directory, deleting it
rm -rf autom4te.cache
Recursively scanning the following directories:
"/home/tom/bzflag/three/bzflag/bzflag/plugins" "/home/tom/bzflag/three/bzflag/bzflag/src/other/ftgl" "/home/tom/bzflag/three/bzflag/bzflag/src/other/ares" "/home/tom/bzflag/three/bzflag/bzflag/src/other/curl"
Protecting files from automake in "/home/tom/bzflag/three/bzflag/bzflag/plugins"
Backing up COPYING in /home/tom/bzflag/three/bzflag/bzflag/plugins
cp -p COPYING COPYING.31338.protect_from_automake.backup
Backing up INSTALL in /home/tom/bzflag/three/bzflag/bzflag/plugins
cp -p INSTALL INSTALL.31338.protect_from_automake.backup
Found an autom4te.cache directory, deleting it
rm -rf autom4te.cache
Protecting files from automake in "/home/tom/bzflag/three/bzflag/bzflag/src/other/ftgl"
Backing up COPYING in /home/tom/bzflag/three/bzflag/bzflag/src/other/ftgl
cp -p COPYING COPYING.31338.protect_from_automake.backup
Backing up INSTALL in /home/tom/bzflag/three/bzflag/bzflag/src/other/ftgl
cp -p INSTALL INSTALL.31338.protect_from_automake.backup
Found an autom4te.cache directory, deleting it
rm -rf autom4te.cache
Protecting files from automake in "/home/tom/bzflag/three/bzflag/bzflag/src/other/ares"
Found an autom4te.cache directory, deleting it
rm -rf autom4te.cache
Protecting files from automake in "/home/tom/bzflag/three/bzflag/bzflag/src/other/curl"
Backing up COPYING in /home/tom/bzflag/three/bzflag/bzflag/src/other/curl
cp -p COPYING COPYING.31338.protect_from_automake.backup
Backing up INSTALL in /home/tom/bzflag/three/bzflag/bzflag/src/other/curl
cp -p INSTALL INSTALL.31338.protect_from_automake.backup
Found an autom4te.cache directory, deleting it
rm -rf autom4te.cache
Detected auxillary directory: misc
Detected recursive configure directory: /home/tom/bzflag/three/bzflag/bzflag/plugins
Detected recursive configure directory: /home/tom/bzflag/three/bzflag/bzflag/src/other/ftgl
Detected recursive configure directory: /home/tom/bzflag/three/bzflag/bzflag/src/other/ares
Detected recursive configure directory: /home/tom/bzflag/three/bzflag/bzflag/src/other/curl
Found extra aclocal search directory: m4

Automatically preparing build ... autoreconf -I m4 -i -f
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `.'.
libtoolize: copying file `./config.guess'
libtoolize: copying file `./config.sub'
libtoolize: copying file `./install-sh'
libtoolize: copying file `./ltmain.sh'
libtoolize: putting macros in `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~obsolete.m4'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `.auto'.
libtoolize: copying file `.auto/config.guess'
libtoolize: copying file `.auto/config.sub'
libtoolize: copying file `.auto/install-sh'
libtoolize: copying file `.auto/ltmain.sh'
libtoolize: putting macros in `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~obsolete.m4'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./config.guess'
libtoolize: copying file `./config.sub'
libtoolize: copying file `./install-sh'
libtoolize: copying file `./ltmain.sh'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./config.guess'
libtoolize: copying file `./config.sub'
libtoolize: copying file `./install-sh'
libtoolize: copying file `./ltmain.sh'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `misc'.
libtoolize: can not copy `/usr/share/libtool/config/config.guess' to `misc/'
libtoolize: can not copy `/usr/share/libtool/config/config.sub' to `misc/'
libtoolize: can not copy `/usr/share/libtool/config/install-sh' to `misc/'
libtoolize: can not copy `/usr/share/libtool/config/ltmain.sh' to `misc/'
libtoolize: putting macros in `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~obsolete.m4'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
autoreconf: libtoolize failed with exit status: 1
Warning: autoreconf failed
Attempting to run the preparation steps individually

Preparing build ... aclocal -I m4

Searching for AC_PROG_LIBTOOL in ./configure.ac
libtoolize --automake -c -f
libtoolize: can not copy `/usr/share/libtool/config/ltmain.sh' to `misc/'
ERROR: libtoolize failed
rm -f COPYING.31338.protect_from_automake.backup
rm -f INSTALL.31338.protect_from_automake.backup
Recursively scanning the following directories:
"/home/tom/bzflag/three/bzflag/bzflag/plugins" "/home/tom/bzflag/three/bzflag/bzflag/src/other/ftgl" "/home/tom/bzflag/three/bzflag/bzflag/src/other/ares" "/home/tom/bzflag/three/bzflag/bzflag/src/other/curl"
Checking files for automake damage in "/home/tom/bzflag/three/bzflag/bzflag/plugins"
rm -f COPYING.31338.protect_from_automake.backup
rm -f INSTALL.31338.protect_from_automake.backup
rm -f "./config.guess.backup"
rm -f "./config.sub.backup"
rm -f "./ltmain.sh.backup"
Checking files for automake damage in "/home/tom/bzflag/three/bzflag/bzflag/src/other/ftgl"
rm -f COPYING.31338.protect_from_automake.backup

Restoring INSTALL from backup (automake -f likely clobbered it)
rm -f INSTALL
mv INSTALL.31338.protect_from_automake.backup INSTALL
rm -f INSTALL.31338.protect_from_automake.backup
rm -f ".auto/config.guess.backup"
rm -f ".auto/config.sub.backup"
rm -f ".auto/ltmain.sh.backup"
Checking files for automake damage in "/home/tom/bzflag/three/bzflag/bzflag/src/other/ares"
rm -f "./config.guess.backup"
rm -f "./config.sub.backup"
rm -f "./ltmain.sh.backup"
Checking files for automake damage in "/home/tom/bzflag/three/bzflag/bzflag/src/other/curl"
rm -f COPYING.31338.protect_from_automake.backup
rm -f INSTALL.31338.protect_from_automake.backup
rm -f "./config.guess.backup"
rm -f "./config.sub.backup"
rm -f "./ltmain.sh.backup"
matelich
Private First Class
Private First Class
Posts: 18
Joined: Mon Jan 23, 2006 9:32 pm
Location: spokane, wa

Post by matelich »

well, ran autogen.sh as root to get it to copy files it should have anyway. If only I could erase this whole thread to hide my foolishness from the world :oops:

Anyway, svn revision 18775 successfully built on Kubuntu Intrepid
Post Reply