User forums > Using Code::Blocks
Buidling from CVS - bootstrap error
TheTuxKeeper:
First look where file libtool.m4 is. ( with "locate libtool.m4")
Then take a look at the file /usr/share/aclocal/dirlist . The directory where libtool.m4 is in has to be listed in this file (every directory has to be in an extra line), if not add it (you have to be root to edit the file).
Last step: Try again :D
Daniel
rathapolk:
I looked at the file /usr/share/aclocal/dirlist and it was empty.
I did "locate libtool.m4". The result is ..
/home/user/downloads/wxWidgets-2.6.2/src/expat/conftools/libtool.m4
/home/uset/downloads/gcc-3.4.4/boehm-gc/libtool.m4
/home/user/downloads/gcc-3.4.4/libtool.m4
/usr/share/apps/kapptemplate/admin/libtool.m4.in
/usr/share/aclocal/libtool.m4
I added the these five lines to the dirlist, but bootstrap output the same error.
BTW the Windows version is awesome.
rathapolk
TheTuxKeeper:
OK,
1. Undo the changes you made to dirlist.
2. Look whether "AC_PROG_LIBTOOL" is in the file configure.in (it should be in line 23), if not add it.
It should like this:
--- Code: ---...
CODEBLOCKS_SETUP_FOR_TARGET
AC_DISABLE_STATIC
AC_PROG_LIBTOOL
dnl Checks for header files.
AC_HEADER_DIRENT
AC_HEADER_STDC
...
--- End code ---
I hope this works ;)
Jabber:
Hi,
Not sure if it's ok to bring this topic up again, but I'm having exactly the same problem as rathapolk.
I'm running a Debian testing, C::B svn trunk.
Running ./bootstrap gave me: warning: macro `AM_OPTIONS_WXCONFIG' not found in library.
I then did an export ACLOCAL_FLAGS="--acdir=`wx-config --prefix`/share/aclocal".
The warning disappeared, but now I'm getting lots of aclocal:acinclude.m4:55: warning: macro `AM_CONDITIONAL' not found in library and also
src/plugins/astyle/Makefile.am:10: Libtool library used but `LIBTOOL' is undefined
src/plugins/astyle/Makefile.am:10:
src/plugins/astyle/Makefile.am:10: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
src/plugins/astyle/Makefile.am:10: to `configure.in' and run `aclocal' and `autoconf' again.
I tried to run ./configure anyway, but it fails with ./configure: line 23195: AM_OPTIONS_WXCONFIG: command not found.
BTW, AC_PROG_LIBTOOL was defined in configure.in:
[snip]
CODEBLOCKS_SETUP_FOR_TARGET
AC_DISABLE_STATIC
AC_PROG_LIBTOOL
dnl Checks for header files.
[snip]
Any ideas?
TIA, Jabber
Game_Ender:
In ubuntu you need to have the wx-common package (I dont' know if they have this in debian). You also to make sure your default aclocal is of the proper version. I got the same problem when my aclocal pointed to, to old a version. Updating my symbolic links /etc/alternatives to point to the proper aclocal fixed it.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version