[AMBER] Installing AmberTools16 on OSX 10.11

From: Adams, John E. <AdamsJE.missouri.edu>
Date: Tue, 10 May 2016 14:48:54 +0000

Although the configure process associated with installing AmberTools16 on my Mac (OS X 10.11) appears to proceed normally, “make install” eventually terminates with the following message.

running build_ext
building 'pytraj.c_dict' extension
creating build/temp.macosx-10.11-intel-2.7
creating build/temp.macosx-10.11-intel-2.7/pytraj
gcc -fno-strict-aliasing -fno-common -dynamic -arch i386 -arch x86_64 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch i386 -arch x86_64 -pipe -I/Users/JEAdams/amber16/AmberTools/src/cpptraj/src -I/Users/JEAdams/amber16/AmberTools/src/pytraj/pytraj/ -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c pytraj/c_dict.cpp -o build/temp.macosx-10.11-intel-2.7/pytraj/c_dict.o -O0 -ggdb
gcc: error: unrecognized command line option '-Wshorten-64-to-32'
error: command 'gcc' failed with exit status 1
make[2]: *** [pytraj] Error 1
make[1]: *** [serial] Error 2
make: *** [install] Error 2

My compiler is gcc4.9, and I have python2.7. (The output from the configuration step indicated no issues.) A quick search of the internet indicates that ‘-Wshorten-64-to-32’ is not recognized by gcc. Any suggestions for working around the above error?

Thanks!

John
--
John E. Adams, PhD ACSF
Curators' Teaching Professor Emeritus
Department of Chemistry
University of Missouri
Columbia, MO 65211-7600
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Tue May 10 2016 - 08:00:03 PDT
Custom Search