[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
re: libtool: -e: command not found
From: |
Dan Kegel |
Subject: |
re: libtool: -e: command not found |
Date: |
Thu, 26 Dec 2002 17:38:45 -0800 |
User-agent: |
Mozilla/4.0 (compatible; MSIE 5.5; Windows 98) |
On 29 Aug 2002, address@hidden wrote:
I'm using automake+autoconf in one of my programs. I upgraded to
last version of libtool, autoconf and automake last week, and now I can't
compile my program. The error is:
/bin/sh ../libtool --mode=link gcc -g -O2 -o gtk-agenda -L../libsmtp
-lsmtp -L../libsimpleparser -lsimpleparser main.o support.o interface.o
callbacks.o ddbb_conn.o read_config.o -L/usr/lib -L/usr/X11R6/lib -lgtk
-lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm -lpq
-lmysqlclient
../libtool: line 1: s%^.*/%%: No existe el fichero o el directorio # (file not found)
../libtool: line 1: -e: command not found
../libtool: line 1: -e: command not found
[snip]
I ran into this last week.
export SED=sed
or equivalent will solve this. I'm not sure where the root cause is but this
will get you going.
I just ran into it, too. It comes from a mismatched libtool.m4.
Kaffe, for instance, embeds a copy of libtool.m4 as filename acinclude.m4.
FWIW, the procedure for updating kaffe to use CVS libtool appears to be
something like:
cd kaffe-1.0.7
cp /newlibtool/share/aclocal/libtool.m4 acinclude.m4
/newlibtool/bin/libtoolize -c -f --ltdl
patch kaffe/kaffe/Makefile.am to link app with @LIBLTDL@ per the libtool docs
sh developer/autogen.sh
and possibly also apply the patch I posted to bring kaffe up to autoconf2.5x.
'Course, I haven't actually gotten it working with the new libtool yet,
and I'm generally a libtool nincompoop, so take that with a grain of salt :-)
--
Dan Kegel
Linux User #78045
http://www.kegel.com
- re: libtool: -e: command not found,
Dan Kegel <=