On 3 April 2014 13:10, Robin <rc.rattusrat...@gmail.com> wrote: > On 3 April 2014 12:36, Pierre Labastie <pierre.labas...@neuf.fr> wrote: >> Le 03/04/2014 12:36, Robin a écrit : >>> I'm just going through LFS 9.3 - extra packages - so am still in chroot. >>> >>> The error: >>> >>> 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. >>> configure.ac:43: error: possibly undefined macro: AC_PROG_LIBTOOL >>> If this token and others are legitimate, please use m4_pattern_allow. >>> See the Autoconf documentation. >>> >>> >>> Thanks >>> >> I have the "libtoolize" lines in my log, but no error. Was in chroot, >> using LFS 7.5. >> >> It does not seem there have been changes in the autotools since 7.5, nor >> in GPM, so even if you are using development, it should be the same. Are >> you still using the SVN-LFS-20140331 version? Maybe one of the added >> packages (acl, attr, libcap,...) has triggered that, since they are >> built before the autotools. >> >> Regards >> Pierre >> > > Yes, SVN-LFS-20140331 > > I added AC_CONFIG_MACRO_DIR([m4]) to configure.ac as suggested in the > error message and re-ran libtoolize. > The output was: > libtoolize: You should add the contents of the following files to > `aclocal.m4': > libtoolize: `/usr/share/aclocal/libtool.m4' > libtoolize: `/usr/share/aclocal/ltoptions.m4' > libtoolize: `/usr/share/aclocal/ltversion.m4' > libtoolize: `/usr/share/aclocal/ltsugar.m4' > libtoolize: `/usr/share/aclocal/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: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am. > > ->Armin K. > I have 42 m4 files in /usr/share/aclocal including the libtool ones > > Thanks > -- > rob
Looked at /usr/share/libtool/libltdl/aclocal.m4. It contains the following extract: m4_include([m4/argz.m4]) m4_include([m4/libtool.m4]) m4_include([m4/ltdl.m4]) m4_include([m4/ltoptions.m4]) m4_include([m4/ltsugar.m4]) m4_include([m4/ltversion.m4]) m4_include([m4/lt~obsolete.m4]) Thanks -- rob -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page