[AMBER-Developers] Fedora 9 and amber11/src/configure_at

From: MengJuei Hsieh <mengjueh.uci.edu>
Date: Wed, 1 Apr 2009 00:58:11 +0100

Hi,

>From my experience on Fedora 9 Linux, configure_at needs to be changed a
little on XHOME setting in order to build xleap. The script was looking for
a libX11.a archive, which may not be available on all platforms, in default
configuration for Fedora 9, the available one is libX11.so. I made a patch
for it, as attached in the end of the mail. This will be committed if no
objection. :p

Thanks,
--
Mengjuei Hsieh, Molecular Biology & Biochem, Univ. of California Irvine.
Index: src/configure_at
===================================================================
--- src/configure_at    (CVS)
+++ src/configure_at    (working copy)
.. -186,7 +186,7 ..
 
 if [ -d /usr/X11R6/lib ]; then
        xhome='/usr/X11R6'
-elif [ -f /usr/lib/libX11.a ]; then
+elif [ -f /usr/lib/libX11.a -o -f /usr/lib/libX11.so ]; then
        xhome='/usr'
 else
        echo "Could not find the X11 libraries; you may need to edit
config.h"
===================================================================
_______________________________________________
AMBER-Developers mailing list
AMBER-Developers.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber-developers
Received on Wed Apr 01 2009 - 01:18:18 PDT
Custom Search