Dear Peker and Farid,
Thanks a lot for the reply,
doing sudo apt-get install xorg-dev, it is giving following:
Reading package lists... Done
Building dependency tree
Reading state information... Done
xorg-dev is already the newest version.
The following packages were automatically installed and are no longer required:
gcc-4.4-multilib linux-headers-2.6.35-22 linux-headers-2.6.35-22-generic
gfortran-4.4 libhal1 gfortran-4.4-doc gfortran-4.4-multilib
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
It means i have the x-org installed on the system, still when i do
cd $AMBERHOME/AmberTools/src/
./configure gnu
It gives
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 !
Please guide how to set XHOME and XLIBS variable, i m not very good at linux.
I want to install xleap program.
Thanks a lot.
Regards
--
Sonali Dhindwal
“Live as if you were to die tomorrow. Learn as if you were to live forever.”
--- On Fri, 2/9/11, peker milas <pekermilas.gmail.com> wrote:
From: peker milas <pekermilas.gmail.com>
Subject: Re: [AMBER] problem in installing xleap
To: "AMBER Mailing List" <amber.ambermd.org>
Date: Friday, 2 September, 2011, 10:51 PM
or you can create a symbolic link in (if i remember it right) /bin pointing
to the folder that has X11 libraries in it. you will probably find them
under xorg-dev something in your file tree. but of course you need to
install "xorg-dev package" first.
hope this helps
best
peker
On Fri, Sep 2, 2011 at 12:20 PM, Ismail, Mohd F. <farid.ou.edu> wrote:
> 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
>
_______________________________________________
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 Sat Sep 03 2011 - 05:00:02 PDT