Re: [AMBER] Amber 11 installation problem

From: R. K. Kar <rajivkarpharma.gmail.com>
Date: Wed, 11 Jan 2012 17:20:41 +0530

Now i have installed the gcc and gfortran in my system, and after giving
command

./configure gnu

I am getting the following error

*Checking for zlib: testp.c:2:18: error: zlib.h: No such file or directory
testp.c: In function ‘main’:
testp.c:5: error: ‘gzFile’ undeclared (first use in this function)
testp.c:5: error: (Each undeclared identifier is reported only once
testp.c:5: error: for each function it appears in.)
testp.c:5: error: expected ‘;’ before ‘fp’
./configure: line 1616: ./testp: No such file or directory
Not found.

Checking for libbz2: testp.c:2:19: error: bzlib.h: No such file or directory
testp.c: In function ‘main’:
testp.c:5: error: ‘BZFILE’ undeclared (first use in this function)
testp.c:5: error: (Each undeclared identifier is reported only once
testp.c:5: error: for each function it appears in.)
testp.c:5: error: ‘infile’ undeclared (first use in this function)
./configure: line 1646: ./testp: No such file or directory
Not found.

*and in the next step i am getting the error message as :

*In file included from ../src/MM/amber.h:36,
                 from mmE.cpp:42:
../src/MM/mmPotential.h:45:18: error: zlib.h: No such file or directory
../src/MM/mmPotential.h:875: error: ‘gzFile’ does not name a type
make[2]: *** [mmE.o] Error 1
make[2]: Leaving directory `/home/rajiv/amber11/AmberTools/src/mtkpp/tools'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/rajiv/amber11/AmberTools/src/mtkpp'
make: *** [install_mtkpp] Error 2

*Now i am not getting what to do.
Please help me


*
*


On Wed, Jan 11, 2012 at 1:49 PM, R. K. Kar <rajivkarpharma.gmail.com> wrote:

> *When i am giving command ./configure gnu
> This is the message comming.*
>
> 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.
>
> Obtaining the gnu suite version:
> gcc -v
> The version is
> ./configure: line 601: [: too many arguments
>
> Testing the gcc compiler:
> gcc -DUSE_AMBER_C9XCOMPLEX -D_FILE_OFFSET_BITS=64
> -D_LARGEFILE_SOURCE -o testp testp.c
> ./configure: line 1306: gcc: command not found
> ./configure: line 1307: ./testp: No such file or directory
> Error: Unable to compile a C program using gcc -DUSE_AMBER_C9XCOMPLEX
> -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
> Please check your compiler settings or configure flags.
>
>
>
> *I am new to amber and i am not getting what is happening, can you please
> tell me, what steps i should follow to get this problem rectified.
> *
>
> Thank You.
>
> --
>
> *Rajiv Kumar Kar
> Tel +91 9681016821
> *
>
>


-- 
*Rajiv Kumar Kar
Tel +91 9681016821
*
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Wed Jan 11 2012 - 04:00:03 PST
Custom Search