Which version of Xcode are you using?
Which version of macOS ar you currently on?
If you are on Xcode10 (10.0) and macOS 10.14, did you install the missing header files as instructed?
I recently had an update of Xcode and CLT and I have not yet confirmed that compilation using GNU GCC (or clang for that matter) still works. I won’t be able to do so until next week either unfortunately. In the meanwhile, you can always try removing the symlinks for home-brew versions and configure using
./configure -macAccelerate clang
This should use homebrew gfortran version and macOS clang version. If this also fails I assume that this is an apple issue.
Best Regards
Gustaf Olsson
On 27 Mar 2019, at 19:48, Reza Esmaeeli <goldeagle.93.gmail.com<mailto:goldeagle.93.gmail.com>> wrote:
Dear Amber Users!
I have been trying to install AmberTools18 according to the HomeBrew method as described by Gustaf Olsson <
https://www.ovetande.se/software/amber/installation/>. I have installed GNU via HomeBrew and created the symlinks. But after running
./configure -macAccelerate gnu
I get the following error:
Obtaining the gnu compiler suite versions, e.g.:
gcc -v
The C version is 8.3.0
The Fortran version is ../gcc-8.2.0/configure
8.2.0
Testing the gcc compiler:
gcc -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -o testp testp.c
ld: malformed file
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib/libSystem.tbd:4:18: error: unknown enumerated scalar
platform: zippered
^~~~~~~~
file '/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib/libSystem.tbd'
collect2: error: ld returned 1 exit status
./configure2: line 2527: ./testp: No such file or directory
Error: Unable to compile a C program using gcc -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
Please check your compiler settings or configure flags.
Configure failed due to the errors above!
Any Ideas what may be the issue?
Thanks,
Reza
_______________________________________________
AMBER mailing list
AMBER.ambermd.org<mailto:
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 Thu Mar 28 2019 - 00:00:03 PDT