Re: [AMBER] Trouble installing amber tools on new OSX 10.13.1

From: David A Case <david.case.rutgers.edu>
Date: Wed, 29 Nov 2017 13:43:13 -0500

On Wed, Nov 29, 2017, Eiros Zamora, Juan wrote:
>
> echo $AMBERHOME
> $ export AMBERHOME=/usr/local/amber16
> $ sudo ./configure gnu
> Your AMBERHOME environment variable is not set! Auto set it to:
> /usr/local/amber16
> I find this odd as I just did it in the above step…

Just to expand on Dan's comment: when you run a command under "sudo", you
temporarily become root, and the AMBERHOME variable you exported as yourself
is no longer visible. Just an additional reason to *not* try to install
Amber as root.

>
> Testing the gcc compiler:
> gcc -fPIC -DUSE_AMBER_C9XCOMPLEX -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -o testp testp.c
> testp.c:1:19: fatal error: stdio.h: No such file or directory
> #include <stdio.h>
> ^

This means the compiler is not installed correctly, and would not be able to
compile anything. Hai might have already provided a solution, but it's hard
to tell for sure what is wrong here.

...dac



_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Wed Nov 29 2017 - 11:00:03 PST
Custom Search