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 can't see any workaround. If I link an Xlt example against
> libXlt.la "somehow" libtool puts those dependencies in the link
> command, and I remember that we even ended up with the wrong
> linking order of "-lXt -lXm ..."!?
>
> --
> Alexander Mai
> [EMAIL PROTECTED]
>
>