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.scripps.edu
To unsubscribe, send "unsubscribe amber" to majordomo.scripps.edu
Received on Sun Jun 17 2007 - 06:07:35 PDT