Re: Link fix



Owen Taylor wrote:
Dietmar Maurer <dietmar ximian com> writes:

> Michael Meeks wrote:
>
> > On 16 May 2001, Owen Taylor wrote:
> > > Actually, you just upgraded to libtool, that's what fixed the problem
> > > that Michael was "working around" in a way that was:
> > >
> > >  - unportable to various systems that hardcode full paths to libraries
> > >    into executables.
> > >  - GNU make specific.
> >
> >         Yes it stinks, no I was not responsible for this work around. In
> > fact, if you look at the CVS history first 'timur' 'fixed' it like this,
> > then unnamx changed it, then nat did - the first 3 commits to this file
> > were trying to sort out this issue.
> >
> >         If libtool 1.4 allows a nice easy fix, then we should depend on
> > that - I think we do need the _LIBADD, since we want to pull in libefs
> > when we dlopen that plugin - or it'll just go nastily wrong probably
> > silently,
> >
> >         Can you add the _LIBADD Federico ?
>
> The current changes to bonobo does not compile on systems with old libtool.
> And if we commit this change we also need to upgrade all other packages to
> work with libtool1.4.

I've been using libtool-1.4 on a couple of machines for about a week,
and haven't noticed any problems, though I haven't intensively gone
and tried to compile all the GNOME packages.

I suspect most packages won't need any fixing - Bonobo just got caught
out because it was doing something hackish.

ORBit needs a slight modification:
Index: autogen.sh
===================================================================
RCS file: /cvs/gnome/ORBit/autogen.sh,v
retrieving revision 1.26.4.1
diff -u -r1.26.4.1 autogen.sh
--- autogen.sh  2000/02/22 00:52:22     1.26.4.1
+++ autogen.sh  2001/05/17 12:23:14
@@ -21,7 +21,8 @@
 
 # Check for libtool
 (libtool --version | egrep "1.2") > /dev/null || 
-(libtool --version | egrep "1.3") > /dev/null || {
+(libtool --version | egrep "1.3") > /dev/null || 
+(libtool --version | egrep "1.4") > /dev/null || {
        echo
        echo "You must have at minimum libtool version 1.2 installed"
        echo "to compile ORBit. Download the appropriate package for"
But maybe someone has a nicer solution.

- Dietmar



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