On Thu, Apr 26, 2001 at 04:55:35PM -0400, Rick Scott wrote:
> On 26-Apr-01 at 16:44, Alexander Mai ([EMAIL PROTECTED]) wrote:
> > On Thu, Apr 26, 2001 at 06:00:57AM -0400, Rick Scott wrote:
> > > On 26-Apr-01 at 05:52, Alexander Mai ([EMAIL PROTECTED])
> > > wrote: > Just applied some patches to lib/Xlt build mechanism.
> > > >
> > > > 1) drop libtool-based dependency on libXt and similar.
> > > > Unless we use new libtool which finally link share libs against some
> > > > libfoo.la we can not use this.
> > >
> > > Why?? I can see a problem adding Xm to the dependancies, but what is the
> > > problem with the already installed libs??
> > >
> >
> > The problem is that to link against/depend on e.g. libXt
> > you need to specify -L/usr/X11R6/lib which is
> > exactly the place where some other libXm resides.
> > Actually this hurts my quite often. Well, not anymore :-)
>
> Well I really don't like this reason. Just so the examples will build with
> LessTif is _not_ a good reason to break builds on Solaris and HP. After all,
> Xlt _is_ a Motif extension library, not a LessTif extension library. If Xlt is
> picking up a _real_ Motif on a platform that has it installed, it is doing
> _exactly_ what it should be doing, and shouldn't be crippled because of it!!!
>
I'm not sure whether I dropped a bit too much, but I'm not talking
about some strange problems on some strange system ...
I'm talking about doing crap while building:
The previous version was doing things completly wrong as I outlined:
it picked up some Motif which it shouldn't which is wrong
and it was even giving the wrong order while linking.
Also why do you assume "real Motif" is waiting in /usr/X11R6/lib?
Many linux systems feature an ancient LessTif version there!
But I just got a libtool 1.4 announcement. Time to have a look at this
stuff again ...
--
Alexander Mai
[EMAIL PROTECTED]