[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: Libtool weirdness ...
From:       Thomas Leitner <tom () radar ! tu-graz ! ac ! at>
Date:       2000-05-12 6:12:40
[Download RAW message or body]


On Fri, 12 May 2000, Michael Matz wrote:

> That's what it's supposed to do, yes. The .la file is the uninstalled
> version, the .lai file the (to be) installed version of the info file.
> It gets created when the lib is linked, and the install_dir is set.

I see. But it didn't get created on my machine!

> > /bin/sh ../libtool --mode=install ../admin/install-sh -c libDCOP.la
> > /usr/local/kde2/lib/libDCOP.la
> 
> Please post also the link command lines of libDCOP. Somewhere it should
> have the parameter -rpath <destinationdir>.

Looks like this:

creating dcopserver.la
(cd .libs && rm -f dcopserver.la && ln -s ../dcopserver.la dcopserver.la)
/bin/sh ../libtool --mode=link /home/kde2/ldwrapper_cxx  -O2
-fno-exceptions -fno-rtti -fno-check-new -Wall -pedantic -W
-Wpointer-arith -Wmissing-prototypes -Wwrite-strings -Wno-long-long
-fno-builtin -I/usr/local/kde2/include -I/home/kde2/qt-copy/include
-I.  -frtti  -L/usr/lib -L/home/kde2/qt-copy/lib -L/usr/local/kde2/lib  -o
dcopserver -R /usr/local/kde2/lib -R /home/kde2/qt-copy/lib -R /usr/lib
dcopserver.o libDCOP.la
/home/kde2/ldwrapper_cxx -O2 -fno-exceptions -fno-rtti -fno-check-new
-Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings
-Wno-long-long -fno-builtin -I/usr/local/kde2/include
-I/home/kde2/qt-copy/include -I. -frtti -o .libs/dcopserver dcopserver.o
-L/usr/lib -L/home/kde2/qt-copy/lib -L/usr/local/kde2/lib
./.libs/libDCOP.so -lSM -lICE -lqt -lpng -lz -lm -lXext -lX11 -ldnet_stub
-Wl,-rpath -Wl,/usr/local/kde2/lib:/home/kde2/qt-copy/lib:/usr/lib

This was not the last line in the gmake output, the last was this:

/bin/sh ../../libtool --mode=link /home/kde2/ldwrapper_cxx  -O2
-fno-exceptions -fno-rtti -fno-check-new -Wall -pedantic -W
-Wpointer-arith -Wmissing-prototypes -Wwrite-strings -Wno-long-long
-fno-builtin -I/usr/local/kde2/include -I/home/kde2/qt-copy/include
-I.  -frtti  -L/usr/lib -L/home/kde2/qt-copy/lib -L/usr/local/kde2/lib  -o
dcopidl2cpp -R /usr/local/kde2/lib -R /home/kde2/qt-copy/lib -R /usr/lib
main.o skel.o stub.o stubimpl.o -lkde-qt-addon -lqt -lpng -lz -lm -lXext
-lX11 -ldnet_stub
mkdir .libs
/home/kde2/ldwrapper_cxx -O2 -fno-exceptions -fno-rtti -fno-check-new
-Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings
-Wno-long-long -fno-builtin -I/usr/local/kde2/include
-I/home/kde2/qt-copy/include -I. -frtti -o .libs/dcopidl2cpp main.o skel.o
stub.o stubimpl.o  -L/usr/lib -L/home/kde2/qt-copy/lib
-L/usr/local/kde2/lib /usr/local/kde2/lib/libkde-qt-addon.so -lqt -lpng
-lz -lm -lXext -lX11 -ldnet_stub -Wl,-rpath
-Wl,/usr/local/kde2/lib:/home/kde2/qt-copy/lib:/usr/lib

 
> > There's no .libs/libDCOP.lai file, only a .libs/libDCOP.la file!! > 
> A file?? Or a link .libs/libDCOP.la -> ../libDCOP.la?

A link, like you said!

> > I've digged through the libtool script and found this line:
> > 
> > 4269,4270c4269
> > <       instname="$dir/$name"i
> > 
> > and changed it to:
> > 
> > >       instname="$dir/$name"
> 
> That's not correct. Try to find out, why the .lai file is not created. It
> should get created by the libtool... --mode=link command. But then again,
> may be Tru64 support is faulty currently. It _should_ be supported though.

Question: Why aren't you using the libtool 1.3.4 as available from

        http://www.gnu.org/software/libtool/libtool.html

They explicitly have Tru64 5.0 and 4.0 support built in!

Tom

-- 
--------------------------------------------------------------------------
Dr. Tom Leitner                             Dept. of Communications
                                            Graz University of Technology, 
e-mail    : tom@radar.tu-graz.ac.at         Inffeldgasse 12
Phone     : +43-316-873-7455                A-8010 Graz / Austria / Europe
Fax       : +43-316-463-697
Home page : http://wiis.tu-graz.ac.at/people/tom.html
PGP public key on : ftp://wiis.tu-graz.ac.at/pgp-keys/tom.asc or send 
mail with subject "get Thomas Leitner" to pgp-public-keys@keys.pgp.net
--------------------------------------------------------------------------
    Before we have the paperless office, we have the paperless toilet!

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic