AMBER Archive (2008)

Subject: Re: AMBER: Problems installing Amber Tools for Amber 10

From: Lynn F. Ten Eyck (Lynn.TenEyck_at_ucd.ie)
Date: Fri May 16 2008 - 10:12:49 CDT


Re gcc 4.3.0 error messages . . .

On 15 May 2008, at 21:47, David A. Case wrote:

> On Mon, May 12, 2008, Sam Danziger wrote:
>
>> I've tried to install Amber Tools 1.0, but get an error message
>> when I
>> try to compile.
>>
>> I'm using Gentoo linux (Linux version 2.6.22-gentoo-r18), and have
>> tried gcc 3.4.1, 3.4.4 and 4.3.0 (4.3.0 gives me a different error
>> than below).
>>
>
> Thanks for the report; aren't C++ error messages awe-inspiring
> sometimes?

GCC 4.3 series has made significant changes to the structuring of
include files. I have found the following page very useful in sorting
these out:

http://gcc.gnu.org/gcc-4.3/porting_to.html

Most of the problems are fixed by using the C++ form of the include
names, and using either "using namespace std;" or explicit
qualification of class names with "std::".

> It might be helpful to post the 4.3.0 error message as well...you
> never know
> when a clue will pop up.
>
> ...regards...dac

Regards,
Lynn

Lynn F. Ten Eyck Office: 3131 Atkinson Hal
UCSD /MC 0505 Tel: +858.534.5141
San Diego Supercomputer Center Fax: +858.822.3610
9500 Gilman Drive
La Jolla, CA 92093-0444

-----------------------------------------------------------------------
The AMBER Mail Reflector
To post, send mail to amber_at_scripps.edu
To unsubscribe, send "unsubscribe amber" (in the *body* of the email)
      to majordomo_at_scripps.edu