building atlas fails

Ryan Schmidt ryandesign at macports.org
Sat Jul 4 20:44:12 PDT 2015


On Jul 4, 2015, at 12:06 AM, David Strubbe wrote:

>> $ gcc -v
>> Using built-in specs.
>> Target: i686-apple-darwin11
>> Configured with: /private/var/tmp/llvmgcc42/llvmgcc42-2336.11~67/src/configure --disable-checking --enable-werror --prefix=/Applications/Xcode.app/Contents/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-2336.11~67/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 2336.11.00)
> 
> The message really means the gccX port, which would include a Fortran compiler. However, your gcc from the system does not include a Fortran compiler. 

To be more specific, the "gcc from the system" here is llvm-gcc, not gcc. And in any case, that's a C compiler, whereas the atlas port also needs a fortran compiler. No version of Xcode from Apple has included a fortran compiler, which is why the atlas port requires you to install one, or else indicate that you wish to omit the fortran-requiring parts of atlas.



More information about the macports-users mailing list