Re: AMBER: instalation of amber7 on SUN

From: David A. Case <>
Date: Tue, 20 Apr 2004 11:14:58 -0700

On Tue, Apr 20, 2004, wrote:

> I was trying to install amber7 on SUN Sparc 420 R with 2 ultra sparc
> processors suystembut faced some problems.

> making in ./src/Wc...
> rm -f MapAg.o
> cc -c -O -Xc -xF -xcg92 -I..
> -I/usr/openwin/include -Dsun -Dsparc -DSVR4 -DSYSV -DSUNOS_PRINTF
> -DXAPPDIR=\"/usr/openwin/lib/X11/app-defaults\"
> -DWCL_ERRORDB=\"/usr/openwin/lib/X11/WclErrorDB\" MapAg.c
> cc: unrecognized option `-Xc'
> cc: language cg92 not recognized
> cc: MapAg.c: linker input file unused since linking not done

This works on our Solaris machines: here is a snippet from my build:

making in ./src/Wc...
rm -f MapAg.o
cc -c -O -Xc -xF -xcg92 -I.. -I/usr/openwin/include -Dsun -Dsparc -DSVR4 -DSYSV -DSUNOS_PRINTF -DXAPPDIR=\"/usr/openwin/lib/X11/app-defaults\" -DWCL_ERRORDB=\"/usr/openwin/lib/X11/WclErrorDB\" MapAg.c

(no errors or warnings).

Is the correct "cc" in your PATH? (What do you get when running "which cc"?)
It should be something like .../SunWorkShop-6/bin/cc. Whatever "cc" you are
running does not seem to recognize options that xmkmf assumes are there.

....hope this helps....dac

David A. Case                     |  e-mail:
Dept. of Molecular Biology, TPC15 |  fax:          +1-858-784-8896
The Scripps Research Institute    |  phone:        +1-858-784-9768
10550 N. Torrey Pines Rd.         |  home page:                   
La Jolla CA 92037  USA            |
The AMBER Mail Reflector
To post, send mail to
To unsubscribe, send "unsubscribe amber" to
Received on Tue Apr 20 2004 - 19:53:00 PDT
Custom Search