AMBER Archive (2009)

Subject: Re: [AMBER] xleap installation error

From: Scott Brozell (sbrozell_at_rci.rutgers.edu)
Date: Mon Aug 03 2009 - 11:57:18 CDT


Hi,

On Mon, Aug 03, 2009 at 01:18:00PM +0800, Bokun Cho wrote:
> During the installation of ambertools, I have encountered the following error when it is installing xleap. I am using CentOS 5 with gcc
>
> WcActCB.c:1452: error: expected declaration specifiers before âWidgetâ
> WcActCB.c:1452: error: expected declaration specifiers before âXEventâ
> WcActCB.c:1452: error: expected declaration specifiers before âCardinalâ
> WcActCB.c: In function âWcRegisterWcActionsâ:
> WcActCB.c:1461: error: expected declaration specifiers before âXtAppContextâ
> WcActCB.c:1463: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before âWcActionsâ
> WcActCB.c:1463: error: âWcActionsâ undeclared (first use in this function)
> WcActCB.c:1463: error: expected expression before â]â token
> WcActCB.c:1536: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before âalreadyâ
> WcActCB.c:1536: error: âalreadyâ undeclared (first use in this function)
> make[3]: *** [WcActCB.o] Error 1
> make[3]: Leaving directory `/usr/local/amber10/src/leap/src/Wc'
> make[2]: *** [install_xleap] Error 2
> make[2]: Leaving directory `/usr/local/amber10/src/leap'
> make[1]: *** [install] Error 2
> make[1]: Leaving directory `/usr/local/amber10/src/leap'
> make: *** [install] Error 2
>
> I will get the same error when I manually go to /amber10/src/leap/src/Wc
> and run "make". Can anyone enlighten me on how to solve this error? Thank you in advance.

Searching the reflector archives with the first error message
finds several good leads:
why u can probably use tleap instead of xleap:
http://archive.ambermd.org/200706/0465.html
that the problem is probably header file related:
http://archive.ambermd.org/200706/0477.html

So if u want to skip xleap use this configure option:
      -noX11 Do not build programs that require X11 libraries, e.g. xleap.

If not then search the archives for specific details on your platform,
ie os and compiler versions. And look at the files in question to determine
whether you are missing some header files.

Scott

_______________________________________________
AMBER mailing list
AMBER_at_ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber