bug-libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: libtoox 2.x and echo


From: Alberto Simões
Subject: Re: libtoox 2.x and echo
Date: Sun, 13 Apr 2008 15:29:33 +0100
User-agent: Thunderbird 2.0.0.12 (Macintosh/20080213)

Hi, Ralf.

You got me before downgrading. Thanks for your quick answer.
Please let me know if the information bellow helps debugging this situation.

Ralf Wildenhues wrote:
Hello Alberto,

* Alberto Simões wrote on Sun, Apr 13, 2008 at 04:04:48PM CEST:
I had a lot of trouble finding out why libtool resulted on these errors:

/bin/sh ../libtool --tag=CC --mode=compile gcc -DG_LOG_DOMAIN=\"numexp-kernel\" -D_GNU_SOURCE -I. -I.. -I.. -I. -I.. -Wall -ggdb -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -g -O2 -MT element.lo -MD -MP -MF .deps/element.Tpo -c -o element.lo element.c
../libtool: line 809: X--tag=CC: command not found

This happens when macro files (libtool.m4, ltoptions.m4, ...) and script
file (ltmain.sh) do not match.  Probably aclocal picked up some
libtool.m4 from a 1.5.x version.  Please ensure it finds the ones from
Libtool 2.2.x (by using 'aclocal -I ...', installing the macro files in
your package and using ACLOCAL_AMFLAGS, or by adding a line containing
$libtool_prefix/share/aclocal to $automake_prefix/share/aclocal/dirlist.

I tried finding libtool.m4, ltoptions.m4, ltmain.sh and others on my system. The .m4 files are all here:

/usr/share/aclocal/libtool.m4
/usr/share/aclocal/ltoptions.m4
/usr/share/aclocal/ltversion.m4
...

I looked up libtool.m4 and ltoptions.m4 and they do not have a clear version string. Under ltversion.m4 I found:

m4_define([LT_PACKAGE_VERSION], [2.2.2])
m4_define([LT_PACKAGE_REVISION], [1.2627])

Then, searched for a ltmain.sh:
/usr/share/libtool/config/ltmain.sh

That file includes the 2.2.2. string in the top as well.

Also,
$pwd
/tmp/libtool-2.2.2
$diff libltdl/m4/libtool.m4 /usr/share/aclocal/libtool.m4
$


Running aclocal --verbose, I found out:

aclocal: found macro LTOBSOLETE_VERSION in /usr/share/aclocal/lt~obsolete.m4: 36 aclocal: found macro AC_LIBTOOL_LINKER_OPTION in /usr/share/aclocal/lt~obsolete.m4: 38 aclocal: found macro AC_PROG_EGREP in /usr/share/aclocal/lt~obsolete.m4: 39aclocal: found macro _LT_AC_PROG_ECHO_BACKSLASH in /usr/share/aclocal/lt~obsolete
[...]
aclocal: found macro _AC_PROG_LIBTOOL in /usr/share/aclocal/lt~obsolete.m4: 71
[...]
aclocal: found macro AC_LIBTOOL_CONFIG in /usr/share/aclocal/lt~obsolete.m4: 91
[...]
aclocal: found macro LTVERSION_VERSION in /usr/share/aclocal/ltversion.m4: 18
aclocal: found macro LTSUGAR_VERSION in /usr/share/aclocal/ltsugar.m4: 13
aclocal: found macro LTOPTIONS_VERSION in /usr/share/aclocal/ltoptions.m4: 13 aclocal: found macro AC_LIBTOOL_DLOPEN in /usr/share/aclocal/ltoptions.m4: 110
[...]
aclocal: found macro AC_PROG_LIBTOOL in /usr/share/aclocal/libtool.m4: 102
aclocal: found macro AM_PROG_LIBTOOL in /usr/share/aclocal/libtool.m4: 103
aclocal: found macro LT_OUTPUT in /usr/share/aclocal/libtool.m4: 562
aclocal: found macro LT_SUPPORTED_TAG in /usr/share/aclocal/libtool.m4: 757
[...]


--
Alberto Simões - Departamento de Informática - Universidade do Minho
                 Campus de Gualtar - 4710-057 Braga - Portugal




reply via email to

[Prev in Thread] Current Thread [Next in Thread]