I've installed the new gcc version and gfortran however I am getting a new
problem. I realize that I still need to install the XFreee86 but I'm just
trying to get the gfortran stuff working. I am fairly new to linux so I
would appreciate as many details as possible.
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 4.4.4
Testing the gcc compiler:
gcc -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -o testp testp.c
OK
Validating the C++ compiler version:
g++ -v
The version is
./configure: line 993: [: too many arguments
OK
Testing the gfortran compiler:
gfortran -O0 -o testp testp.f
/usr/local/gfortran/libexec/gcc/i686-pc-linux-gnu/4.7.0/f951: error while
loading shared libraries: libmpc.so.2: cannot open shared object file: No
such file or directory
./configure: line 1020: ./testp: No such file or directory
Unable to compile a Fortran program using gfortran -O0
We will be unable to compile sqm
Testing mixed C/Fortran compilation:
gcc -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o testp.c.o testp.c
gfortran -O0 -c -o testp.f.o testp.f
/usr/local/gfortran/libexec/gcc/i686-pc-linux-gnu/4.7.0/f951: error while
loading shared libraries: libmpc.so.2: cannot open shared object file: No
such file or directory
gcc -o testp testp.c.o testp.f.o -lgfortran
gcc: testp.f.o: No such file or directory
./configure: line 1057: ./testp: No such file or directory
WARNING: Unable to compile mixed C/Fortran code.
Testing pointer size:
gcc -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -o test_pointer_size
test_pointer_size.c
Detected 32 bit operating system.
Testing flex:
./configure: line 1117: flex: command not found
Unable to run flex; this is recommended for NAB
Please check your PATH, or install the program
We will try to solider on with precompiled files
Configuring NetCDF; (may be time-consuming)
Error: NetCDF configure returned 1
NetCDF configure failed! Check the netcdf_config.log file.
Continuing but NetCDF will be skipped.
Configuring fftw-2.1.5; (may be time-consuming)
Error: fftw configure returned 1
fftw configure failed! Check the fftw2_config.log file.
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Tue Apr 12 2011 - 13:00:02 PDT