Re: [AMBER] installation of amberTools on lion fails

From: Jorgen Simonsen <jorgen589.gmail.com>
Date: Mon, 21 Nov 2011 21:01:07 +0100

ok so I changed the gcc

sudo port select gcc mp-gcc44

but now the libraries are not linked correctly

gcc -v

gcc-mp-4.4: error trying to exec
'/opt/local/bin/i686-apple-darwin11-llvm-gcc-4.2': execvp: No such
file or directory



On Mon, Nov 21, 2011 at 8:40 PM, Jason Swails <jason.swails.gmail.com> wrote:
> On Mon, Nov 21, 2011 at 2:32 PM, Jorgen Simonsen <jorgen589.gmail.com>wrote:
>
>> my gcc -v is
>>
>> Using built-in specs.
>> Target: i686-apple-darwin11
>> Configured with:
>> /private/var/tmp/llvmgcc42/llvmgcc42-2335.15~25/src/configure
>> --disable-checking --enable-werror
>> --prefix=/Developer/usr/llvm-gcc-4.2 --mandir=/share/man
>> --enable-languages=c,objc,c++,obj-c++ --program-prefix=llvm-
>> --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/
>> --with-slibdir=/usr/lib --build=i686-apple-darwin11
>>
>> --enable-llvm=/private/var/tmp/llvmgcc42/llvmgcc42-2335.15~25/dst-llvmCore/Developer/usr/local
>> --program-prefix=i686-apple-darwin11- --host=x86_64-apple-darwin11
>> --target=i686-apple-darwin11
>> --with-gxx-include-dir=/usr/include/c++/4.2.1
>> Thread model: posix
>> gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)
>>
>
> This is a problem.  Your GCC is the 4.2.1 version that comes prebuilt with
> XCode.  You need to use the same gcc version as your gfortran version
> (4.4.6), most likely from MacPorts.
>
> HTH,
> Jason
>
> --
> Jason M. Swails
> Quantum Theory Project,
> University of Florida
> Ph.D. Candidate
> 352-392-4032
> _______________________________________________
> AMBER mailing list
> AMBER.ambermd.org
> http://lists.ambermd.org/mailman/listinfo/amber
>

_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Mon Nov 21 2011 - 12:30:03 PST
Custom Search