Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
CB autotools build system crash with libtool version 2.2.6
libfab:
Hi,
CB SVN crashes at configure stage, when the recent release of libtool (version 2.2.6) has been installed (no issue with libtool version 2.2.4).
This is caused by modern features of libtool, not by CB itself.
Three build system files should be altered: configure.in, bootstrap and Makefile.am.
Attached is a patch file. To apply it, go to the trunk directory, and run:
patch -u bootstrap codeblocks.patch
Hope this helps.
best, Fab
[attachment deleted by admin]
killerbot:
what will be the influence of this patch on the old libtool version ??
Jenna:
I just ran ./bootstrap, ./configure, make and make install, without errors.
I got the following messages from libtool:
--- Code: ---libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.in and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
--- End code ---
but had no crash, nor any problems with compiling.
libtool is 2.26a-1 and autoconf is 2.63-1, both from debian experimental
automake is 1.10.1-3 and gcc/g++ is 4.2.4-4, both from debian unstable
libfab:
Hi jens,
I confirm the issue.
I have the same major versions of autotools, compiled from GNU source at ftp.gnu.org, and gcc 4.2/4.3 (ubuntu) or gcc-snapshot (november, source).
Attached is the log (sterr+stdout) of ./boostrap ; ./configure ; make
My autotools normally work OK.
Everything comes back to order with the patch.
Best,
Fab
[attachment deleted by admin]
libfab:
--- Quote from: killerbot on November 23, 2008, 10:05:48 pm ---what will be the influence of this patch on the old libtool version ??
--- End quote ---
libtool is a script that is generated by ./bootstrap. The patched ./bootstrap should refresh it accordingly.
If you altered libtool by hand (which is not generally advised), you'll have to copy these amendments into the new libtool again.
Fab
Navigation
[0] Message Index
[#] Next page
Go to full version