AMBER Archive (2007)

Subject: Re: AMBER: Amber Installation Error

From: David A. Case (case_at_scripps.edu)
Date: Fri Jun 15 2007 - 13:56:29 CDT


On Fri, Jun 15, 2007, Joe Nolan wrote:

> 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.

This looks like you did not do a "make clean" before trying to compile with
your new configuration. If you change to a new compiler, you need to do this
to remove all the old compiled objects.

> g++ -c -o elsize.o elsize.cc
> elsize.cc:74:21: error: fstream: No such file or directory

Looks pretty bad: are you sure your gcc/g++ installation is functional (i.e.
can you compile other types of C++ code?

Try typing "g++ -v -c elsize.cc" and looking at the output. It will have
a section entitled "#include <...> search starts here:", followed by the
actual locations where it is searching for <fstream>, <string>, <iostream>,
etc. Bascially, if your g++ compiler can't find <iostream>, it is seriously
damaged.

...good luck...dac

-----------------------------------------------------------------------
The AMBER Mail Reflector
To post, send mail to amber_at_scripps.edu
To unsubscribe, send "unsubscribe amber" to majordomo_at_scripps.edu