[MacPorts] #29345: PyMOL 1.4 fails to build with gcc 4.4 error
MacPorts
noreply at macports.org
Mon May 2 17:09:42 PDT 2011
#29345: PyMOL 1.4 fails to build with gcc 4.4 error
------------------------------------------+---------------------------------
Reporter: michelle.lynn.gill@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.9.2
Keywords: | Port: pymol
------------------------------------------+---------------------------------
Comment(by howarth@…):
Interesting....if you add...
python.add_archflags no
to the main part of the Portfile, python changes the compile flags from...
/usr/bin/gcc-4.2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch
x86_64 -D_PYMOL_MODULE -D_PYMOL_INLINE -D_PYMOL_LIBPNG -D_PYMOL_FREETYPE
-D_PYMOL_NUMPY -D_PYMOL_OPENGL_SHADERS -DNO_MMLIBS -Iov/src -Ilayer0
-Ilayer1 -Ilayer2 -Ilayer3 -Ilayer4 -Ilayer5 -I/opt/local/include
-I/opt/local/include/GL -I/opt/local/include/freetype2
-Imodules/cealign/src -Imodules/cealign/src/tnt
-I/opt/local/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6
-c layer3/Selector.c -o
build/temp.macosx-10.6-x86_64-2.6/layer3/Selector.o -ffast-math -funroll-
loops -O3
to
/usr/bin/gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -pipe -O2
-DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -D_PYMOL_MODULE
-D_PYMOL_INLINE -D_PYMOL_LIBPNG -D_PYMOL_FREETYPE -D_PYMOL_NUMPY
-D_PYMOL_OPENGL_SHADERS -DNO_MMLIBS -Iov/src -Ilayer0 -Ilayer1 -Ilayer2
-Ilayer3 -Ilayer4 -Ilayer5 -I/opt/local/include -I/opt/local/include/GL
-I/opt/local/include/freetype2 -Imodules/cealign/src
-Imodules/cealign/src/tnt
-I/opt/local/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6
-c layer3/Selector.c -o
build/temp.macosx-10.6-x86_64-2.6/layer3/Selector.o -ffast-math -funroll-
loops -O3
whereas I would have expected it just to cause '-arch x86_64' to be
dropped.
--
Ticket URL: <https://trac.macports.org/ticket/29345#comment:15>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list