Re: [AMBER] problem in installing xleap

From: Ismail, Mohd F. <farid.ou.edu>
Date: Fri, 2 Sep 2011 16:20:04 +0000

The warning mentions "On Ubuntu OS's install the xorg-dev package". So I'm guessing you can do sudo apt-get install xorg-dev. It might called something else like xorg.1.11.blablabla-dev. You might need to logout/login or reboot.

The compile should work even without xleap.

--Farid

________________________________________
From: sonali dhindwal [sonali11dhindwal.yahoo.co.in]
Sent: Friday, September 02, 2011 8:58 AM
To: AMBER Mailing List
Subject: Re: [AMBER] problem in installing xleap

Thank you so much David and Farid for your help,

I have installed flex and then did,
cd $AMBERHOME/AmberTools/src
./configure gnu

it is giving following error:
Could not find the X11 libraries; you may need to edit config.h
   to set the XHOME and XLIBS variables.
Warning: the X11 libraries are not in the usual location !
    To search for them try the command: locate libXt
    On new Fedora OS's install the libXt-devel libXext-devel
    libX11-devel libICE-devel libSM-devel packages.
    On old Fedora OS's install the xorg-x11-devel package.
    On RedHat OS's install the XFree86-devel package.
    On Ubuntu OS's install the xorg-dev package.
    For the moment Amber will be configured not to build XLEaP.

I located the libraries by locate libXt, it is showing:
/usr/lib/libXt.a
/usr/lib/libXt.so
/usr/lib/libXt.so.6
/usr/lib/libXt.so.6.0.0
/usr/lib/libXtst.a
/usr/lib/libXtst.so
/usr/lib/libXtst.so.6
/usr/lib/libXtst.so.6.1.0

does that mean, I have these libraries in the system and i should edit config.h.
I am not very good at linux, so i dont want to mess with these files, can u please suggest where and how to set the XHOME and XLIBS variable.

Thanks a lot.
Regards
--
Sonali Dhindwal
“Live as if you were to die tomorrow. Learn as if you were to live forever.”
--- On Thu, 1/9/11, David A Case <case.biomaps.rutgers.edu> wrote:
From: David A Case <case.biomaps.rutgers.edu>
Subject: Re: [AMBER] problem in installing xleap
To: "AMBER Mailing List" <amber.ambermd.org>
Date: Thursday, 1 September, 2011, 5:37 PM
On Thu, Sep 01, 2011, sonali dhindwal wrote:
> cd $AMBERHOME/AmberTools/src
> ./configure  gnu
>
> It is giving following:
> Testing flex:
> ./configure: 1339: flex: not found
> Unable to run flex; this is recommended for NAB
> Please check your PATH, or install the program
As the message indicates, you need to install flex.  See
http://ambermd.org/ubuntu.html.
> m4 xaLeap.rm4 > XaLeap_wcl
> /bin/sh: m4: not found
> make[2]: *** [XaLeap_wcl] Error 127
You also need to install m4 (not quite sure where that is, since it's not
explicitly on the list at the above web site.  But something along the lines
of "sudo apt-get install m4" should help.)
I understand that it is hard to follow the output from make, since there is a
lot of it.  But carefully reading the output, and learning how to interpret
its messages, is a useful skill to learn.
....dac
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Fri Sep 02 2011 - 09:30:03 PDT
Custom Search