AMBER Archive (2004)

Subject: Re: AMBER: error in installing amber8

From: Scott Brozell (
Date: Thu Sep 02 2004 - 10:56:50 CDT


On Thu, 2 Sep 2004 wrote:

> Dear amber users,
> I am trying to install amber 8 on SUN SOLARIS system but failed to do so.
> The error message is attached with this mail.

> grep: illegal option -- q
> Usage: grep -hblcnsviw pattern file . . .
> Starting installation of Amber8 (serial) at Thu Sep 2 16:46:23 GMT 2004.

This the subject of
To fix it put the grep in /usr/xpg4/bin/ first in your PATH or remove
the -q option from the grep commands in src/Makefile and the other files.

> cc -c -DSYSV -o wallclock.o wallclock.c
> ar rvsys.a sys.o wallclock.o
> ar: bad option `y'
> ar: bad option `.'
> usage: ar -d[-vV] archive file ...
> ar -m[-abivV] [posname] archive file ...
> ar -p[-vV][-s] archive [file ...]
> ar -q[-cuvV] [-abi] [posname] [file ...]
> ar -r[-cuvV] [-abi] [posname] [file ...]
> ar -t[-vV][-s] archive [file ...]
> ar -x[-vV][-sCT] archive [file ...]
> *** Error code 1
> make: Fatal error: Command failed for target `sys.a'

The AR command in src/config.h should have a space after the v.
For example, cat -ev src/config.h should show
AR=ar rv $
If there's no space then rerun configure and verify that the space exists;
if there's a space then send verbose details such as uname -a, which make,
your configure command, the config.h, the output of make -np|cat -vet from
src/sander, and anything else that might be useful since something is amiss :)
Please send the details in the text of your message, not as attachments.

The AMBER Mail Reflector
To post, send mail to
To unsubscribe, send "unsubscribe amber" to