[Top][All Lists]

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

Trouble upgrading to 2.2.6a

From: Alberto Luaces
Subject: Trouble upgrading to 2.2.6a
Date: Mon, 7 Sep 2009 18:17:43 +0200
User-agent: KMail/1.11.4 (Linux/2.6.30-1-amd64; KDE/4.2.4; x86_64; ; )


I have recently updated my system, so now I have new versions of the 

autoconf 2.64-2  
automake 1:1.11-1
libtool 2.2.6a-4

I have a simple testcase where libtool fails to do the linking of a tiny 
executable, here is the process:

$ ls  test1.c

$ autoreconf -vfi
autoreconf: Entering directory `.'
autoreconf: not using Gettext
autoreconf: running: aclocal --force
autoreconf: tracing
autoreconf: running: libtoolize --copy --force
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in
autoreconf: running: /usr/bin/autoconf --force
autoreconf: not using Autoheader
autoreconf: running: automake --add-missing --copy --force-missing
autoreconf: Leaving directory `.'

$ mkdir build && cd build
$ ../configure

[...] skipped configure output

$ ls
config.log  config.status  libtool  Makefile

$ make
gcc -DPACKAGE_NAME=\"test1\" -DPACKAGE_TARNAME=\"test1\" -
DPACKAGE_VERSION=\"0.9.0\" -DPACKAGE_STRING=\"test1\ 0.9.0\" -
DLT_OBJDIR=\".libs/\" -I. -I..     -g -O2 -MT test1.o -MD -MP -MF 
.deps/test1.Tpo -c -o test1.o ../test1.c
mv -f .deps/test1.Tpo .deps/test1.Po
/bin/bash ./libtool --tag=CC   --mode=link gcc  -g -O2   -o test1 test1.o
./libtool: line 827: X--tag=CC: command not found
./libtool: line 860: libtool: ignoring unknown tag : command not found
./libtool: line 827: X--mode=link: command not found
./libtool: line 994: *** Warning: inferring the mode of operation is 
deprecated.: command not found
./libtool: line 995: *** Future versions of Libtool will require --mode=MODE 
be specified.: command not found
./libtool: line 2239: X-g: command not found
./libtool: line 2239: X-O2: command not found
./libtool: line 2408: Xtest1: command not found
X: user not authorized to run the X server, aborting.
./libtool: line 2420: Xtest1: command not found
./libtool: line 2428: mkdir /.libs: No such file or directory
mkdir: cannot create directory `/.libs': Permission denied
make: *** [test1] Error 1

I have searched on the web and it seems that the problem is a mismatch with 
the libtool templates. However, I haven't been able to find any outdated 
template on my system:

$ cd ..
$ aclocal --verbose 2>&1 | grep AC_PROG_LIBTOOL
aclocal: found macro _AC_PROG_LIBTOOL in /usr/share/aclocal/lt~obsolete.m4: 71  
aclocal: found macro AC_PROG_LIBTOOL in /usr/share/aclocal/libtool.m4: 102

$ dpkg -S /usr/share/aclocal/lt~obsolete.m4
libtool: /usr/share/aclocal/lt~obsolete.m4

$ dpkg -S /usr/share/aclocal/libtool.m4
libtool: /usr/share/aclocal/libtool.m4

How can I keep trying to know what is happening?
I'm attaching the small testcase.

Thank you,


Description: Text document

Description: Text document

Attachment: test1.c
Description: Text Data

reply via email to

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