AMBER Archive (2007)

Subject: AMBER: Amber Installation Error

From: Joe Nolan (spaceace13666_at_yahoo.com)
Date: Fri Jun 15 2007 - 10:58:00 CDT


Hello again Amber users,
I seem to be running into a problem with Amber9 while trying to install on an AMD Opteron dual-core system running RHEL 5, with the gfortran compiler.
I did a plain configure with "./configure gfortran" and the resulting errors are listed:

ake[2]: Entering directory `/usr/local/amber9/src/lib'
make[2]: `amopen.o' is up to date.
make[2]: Leaving directory `/usr/local/amber9/src/lib'
make[2]: Entering directory `/usr/local/amber9/src/lib'
make[2]: `mexit.o' is up to date.
make[2]: Leaving directory `/usr/local/amber9/src/lib'
make[2]: Entering directory `/usr/local/amber9/src/lib'
make[2]: `nxtsec.o' is up to date.
make[2]: Leaving directory `/usr/local/amber9/src/lib'
gfortran -o ambpdb ambpdb.o forFIRSTtype.o forFIRSTbond.o forFIRSThbond.o forFIRSTteth.o forFIRSToutp.o ../lib/amopen.o ../lib/mexit.o ../lib/nxtsec.o
gfortran -o nucgen nucgen.o ngfil.o ../lib/amopen.o ../lib/mexit.o ../lib/nxtsec.o
g++ -c -o elsize.o elsize.cc
elsize.cc:74:21: error: fstream: No such file or directory
elsize.cc:75:21: error: string: No such file or directory
elsize.cc:80:20: error: iostream: No such file or directory
elsize.cc: In function ‘int main(int, char**)’:
elsize.cc:117: error: ‘exit’ was not declared in this scope
elsize.cc:124: error: ‘strcmp’ was not declared in this scope
elsize.cc:145: error: ‘strcmp’ was not declared in this scope
elsize.cc:160: error: ‘calloc’ was not declared in this scope
elsize.cc:171: error: ‘exit’ was not declared in this scope
elsize.cc:233: error: ‘exit’ was not declared in this scope
elsize.cc:295: error: ‘exit’ was not declared in this scope
elsize.cc:339: error: ‘exit’ was not declared in this scope
elsize.cc: In function ‘atom_count GetNumberOfAtoms(const char*, int)’:
elsize.cc:498: error: ‘ifstream’ was not declared in this scope
elsize.cc:498: error: expected `;' before ‘scanstream’
elsize.cc:499: error: ‘scanstream’ was not declared in this scope
elsize.cc:504: error: ‘exit’ was not declared in this scope
elsize.cc:511: error: ‘string’ was not declared in this scope
elsize.cc:511: error: expected `;' before ‘junk’
elsize.cc:514: error: ‘junk’ was not declared in this scope
elsize.cc: In function ‘atom_count ReadAtomicCoordinates(const char*, int, atom_count, double*, double*, double*, double*, double*)’:
elsize.cc:559: error: ‘ifstream’ was not declared in this scope
elsize.cc:559: error: expected `;' before ‘datastream’
elsize.cc:560: error: ‘datastream’ was not declared in this scope
elsize.cc:565: error: ‘exit’ was not declared in this scope
elsize.cc:570: error: ‘string’ was not declared in this scope
elsize.cc:570: error: expected `;' before ‘junk’
elsize.cc:590: error: ‘junk’ was not declared in this scope
make[1]: *** [elsize.o] Error 1
make[1]: Leaving directory `/usr/local/amber9/src/etc'
make: *** [serial] Error 2

I'm no programming expert, but my guess is user error on my end of some sort. Any and all ideas are welcome and truly appreciated!
- Joe Nolan

       
---------------------------------
Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, photos & more.
-----------------------------------------------------------------------
The AMBER Mail Reflector
To post, send mail to amber_at_scripps.edu
To unsubscribe, send "unsubscribe amber" to majordomo_at_scripps.edu