AMBER Archive (2006)Subject: Re: AMBER: problem installing amber9 with g95 gcc on a fc5 m/c
From: David A. Case (case_at_scripps.edu)
Date: Fri Oct 27 2006 - 23:42:08 CDT
On Fri, Oct 27, 2006, Sayandeep Purkayasth wrote:
> 1. installed debian
> 2. installed gfortran, gcc
> 3. tried to make serial amber9
> 4. got the following errors similar to the following
> WcCreate.h:762: error: expected ')' before 'int'
> WcCreate.h:931: error: expected ')' before 'XtPointer'
> WcCreate.h:932: error: expected ')' before '*' token
> WcActCB.c:174: error: expected declaration specifiers before 'Widget'
> WcActCB.c:174: error: expected declaration specifiers before 'XEvent'
> WcActCB.c:174: error: expected declaration specifiers before 'Cardinal'
> etc etc
> 5. mailed you people..
You could also have entered the error message into the search box at the
Amber web site to see that this problem has been encountered before:
http://amber.ch.ic.ac.uk/archive/200602/0280.html
The advice there is good: you should generally look for the *first* error
encountered, since others may follow from it. In your output, the first
error is this:
gcc -c -I/usr/X11R6/include -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2
-m32 -o WcActCB.o WcActCB.c
WcActCB.c:22:28: error: X11/IntrinsicP.h: No such file or directory
WcActCB.c:29:24: error: X11/ShellP.h: No such file or directory
Which indicates that you probably don't have the X11 development libraries
installed. More info is the the mail message referred to above.
[Amber developers: configure should be catching this error, warning the user,
and skipping compiliation of xleap. Volunteers?]
...thanks...dac
-----------------------------------------------------------------------
The AMBER Mail Reflector
To post, send mail to amber_at_scripps.edu
To unsubscribe, send "unsubscribe amber" to majordomo_at_scripps.edu
|