http://archive.ambermd.org/201605/0147.html
On Mon, 16 May 2016 16:23:11 +0100
Marc van der Kamp <marcvanderkamp.gmail.com> wrote:
> Hi all,
>
> I just tried to install AmberTools16 on a new Mac Book pro, running
> OS X El Capitan (10.11.4).
>
> I've installed and selected gcc4.9 (and also installed flex,
> py27-numpy & py27-matplotlib) through MacPorts.
>
> All is well (i.e. most things are compiled) until I get to pytraj,
> where "make install" eventually fails with the following:
> gcc: error: unrecognized command line option '-Wshorten-64-to-32'
>
> At this point, I don't yet need pytraj, but it would be nice to have a
> complete install.
> Any insight in how to fix this would be welcome.
>
> Thanks,
> Marc
>
> More detail:
>
> 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/chmwvdk/amber16/AmberTools/src/cpptraj/src
> -I/Users/chmwvdk/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
> _______________________________________________
> 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 May 16 2016 - 09:00:06 PDT