Re: PROGRESS! [AMBER] installation on MacOS10.6

From: Jason Swails <jason.swails.gmail.com>
Date: Mon, 17 May 2010 16:01:00 -0400

On Mon, May 17, 2010 at 3:44 PM, erik zuiderweg <zuiderwe.umich.edu> wrote:

> Done your suggestion.
> The situation is now worse --- I can't even configure ambertools anymore,
> let alone compile ...
>
> ./configure gnu
> Your AMBERHOME environment variable should be set to /usr/local/amber11
>

This is in the global path. Unless you have customized your permissions and
ownership, only root has permissions to write anything to these directories.


>
>
> Obtaining the gnu suite version:
> gcc -v
> The version is 4.5.0
> ./configure: line 955: testp.c: Permission denied
>

See the above comment -- you do not have permission to do anything in this
directory (i.e. create the file testp.c and/or modify it). Configure must
be run with root privileges in this directory or (and this is what I would
suggest), unpack to a local directory you own in your home folder (that last
thing you want to do is to accidentally do damage in your root directory
with sudo power ;) ).

Good luck!
Jason


>
> Testing the gcc compiler:
> gcc -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -o testp testp.c
> gcc: testp.c: No such file or directory
> gcc: no input files
> ./configure: line 967: ./testp: No such file or directory
> Error: Unable to compile a C program using gcc -D_FILE_OFFSET_BITS=64
> -D_LARGEFILE_SOURCE
> Please check your compiler settings or configure flags.
>
>
> gcc -v
> Using built-in specs.
> COLLECT_GCC=gcc
>
> COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc/x86_64-apple-darwin10/4.5.0/lto-wrapper
> Target: x86_64-apple-darwin10
> Configured with: ../gcc-4.5-20100107/configure --enable-languages=fortran
> --host=x86_64-apple-darwin10 --build=x86_64-apple-darwin10 : (reconfigured)
> ../gcc-4.5-20100107/configure --enable-languages=fortran,c++
> --host=x86_64-apple-darwin10 --build=x86_64-apple-darwin10
> Thread model: posix
> gcc version 4.5.0 20100107 (experimental) (GCC)
>
>
>
>
>
> On May 17, 2010, at 2:33 PM, Jason Swails wrote:
>
> > I think it's time to remove the whole source directory and restart :).
> The
> > clean target may not be thorough enough, or a bunch of other issues may
> be
> > cropping up. Remove the directory and untar a new copy of it. Also make
> > sure that gcc -v and gfortran -v are returning what you expect.
> >
> > Good luck!
> > Jason
> >
>
>
> _______________________________________________
> AMBER mailing list
> AMBER.ambermd.org
> http://lists.ambermd.org/mailman/listinfo/amber
>



-- 
Jason M. Swails
Quantum Theory Project,
University of Florida
Ph.D. Graduate Student
352-392-4032
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Mon May 17 2010 - 13:30:03 PDT
Custom Search