Re: AMBER: xleap patch for xorg-7.3 ??

From: Xuebin Qiao <xbqiao.gmail.com>
Date: Fri, 9 Nov 2007 22:26:38 +0800

Hi,

The Xorg7 has been designed to a new modularized architecture instead of the
old monolithic source tree. So it may break many old packages, especially
for those are linked with hand-coded linker options.

qxb

On Nov 9, 2007 10:03 AM, David A. Case <case.scripps.edu> wrote:

> On Thu, Nov 08, 2007, M. L. Dodson wrote:
> >
> > I found the following patch to be necessary for successfully
> > linking xaLeap with xorg-7.3
> >
>
> > --- leap/src/leap/Makefile.orig 2007-10-03 09:59:50.000000000-0500
> > +++ leap/src/leap/Makefile 2007-11-08 12:08:59.000000000 -0600
> > .. -114,7 +114,7 ..
> > # XlcDL.o(.text+0xe2): undefined reference to `dlsym'
> > #
> > XALEAP_LIB = ../Xraw/libXaw.a ../Wc/libWcLeap.a ../Xpm/libXpm.a \
> > - ../Xmu/libXmu.a $(XLIBS) -lXt -lXext -lSM -lICE -lX11 $(LM)
> -lpthread
> > + ../Xmu/libXmu.a $(XLIBS) -lXt -lXext -lSM -lICE -lX11 -lXau
> -lXdmcp $(LM) -lpthread
> >
> > OBJ = $(OA) $(OG) $(OO) $(OL)
> >
>
> Thanks for the report. But some more information might help:
>
> What is the error when you don't have -lXau -lXdmcp specified? Do you
> undertstand why xorg-7.3 needs these but not other X-implementations?
>
> (extra credit:) how standard are libXau and libXdmcp? They seem to be
> present
> on IRIX, Cygwin and Linuces, but I don't know about AIX or MacOS (for
> example).
>
> These "standard X" libraries are ancient...why would xorg move things
> around
> in a way almost guaranteed to break old programs?
>
> I'm happy to make the above patch if it is safe for all machines.
> Otherwise,
> we'll have to add code to the configure script to special-case this out.
>
> ...dac
>
> -----------------------------------------------------------------------
> The AMBER Mail Reflector
> To post, send mail to amber.scripps.edu
> To unsubscribe, send "unsubscribe amber" to majordomo.scripps.edu
>



-- 
... there have been two really clean,
consistent models of programming so far:
the C model and the Lisp model.
These two seem points of high ground,
with swampy lowlands between them.
                                     --Paul Graham
-----------------------------------------------------------------------
The AMBER Mail Reflector
To post, send mail to amber.scripps.edu
To unsubscribe, send "unsubscribe amber" to majordomo.scripps.edu
Received on Sun Nov 11 2007 - 06:07:44 PST
Custom Search