AMBER Archive (2007)

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

From: David A. Case (case_at_scripps.edu)
Date: Thu Nov 08 2007 - 20:03:39 CST


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_at_scripps.edu
To unsubscribe, send "unsubscribe amber" to majordomo_at_scripps.edu