Re: [AMBER] AMBERHOME is not recognized by ./configure

From: Jason Swails <>
Date: Thu, 5 Apr 2012 00:11:19 -0400


I will echo Ben's suggestion to avoid sudo (no pun intended). Even programs that use cmake or autotools can ruin a system when run with root on occasion (google "bumblebee usr" if you want an example).

As a general rule, I try to limit all sudo commands that actually install new software to commands involving a package manager (like MacPorts for the Mac).

Furthermore, it appears like you are trying to install in your home directory, which you should own already. Try again, but without the sudo.


On Apr 4, 2012, at 6:15 PM, Genzo Tanaka <> wrote:

> Hello,
> I tried to install AmberTools12 on Mac OS X 10.7.3, and got an error of setting "AMBERHOME" in the tcsh shell. However, "echo" returned the correct directory as attached below. What is wrong with my setting?
> I had the same message for AmberTools 1.5. In that case, the config.h file was created, and AMBERHOME was temporarily assigned to the correct directory during the compilation.
> I would appreciate your help.
> Thanks
> Genzo
> ..................
> % echo $AMBERHOME/Users/genzotanaka/Downloads/amber12
> % sudo ./configure -macAccelerate gnuPassword:Checking for updates...Fatal Error: AMBERHOME is not set!Check for updates failed.
> Your AMBERHOME environment variable is not set! It should be set to/Users/genzotanaka/Downloads/amber12 NOT doing so may cause errors when you compile.Configure failed due to the errors above!
> _______________________________________________
> AMBER mailing list

Jason M. Swails
Quantum Theory Project,
University of Florida
Ph.D. Candidate
AMBER mailing list
Received on Wed Apr 04 2012 - 21:30:03 PDT
Custom Search