[MacPorts] #29345: PyMOL 1.4 fails to build with gcc 4.4 error
MacPorts
noreply at macports.org
Mon May 2 09:33:36 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: pymol | Port: pymol+gcc44
------------------------------------------+---------------------------------
Comment(by howarth@…):
Shouldn't "CC=/opt/local/bin/gcc-mp-4.4 CXX=/opt/local/bin/g++-mp-4.4" be
placed in front of the setup.py command instead? If so, it seems that
python.add_archflags should be handing this in the python PortGroup for
CC and CXX as it already does for CFLAGS, LDFLAGS, etc. For now, I suspect
we need to replace the lines...
variant gcc44 description conflicts gcc43 gcc45 description {build using
macports-gcc-4.4} {
depends_lib-append port:gcc44
# the current pymol makefile does not honour CC and CXX environment
variables
build.args-delete CC="${configure.cc}" CXX="${configure.cxx}"
build.args-append CC="${prefix}/bin/gcc-mp-4.4"
CXX="${prefix}/bin/g++-mp-4.4"
configure.compiler macports-gcc-4.4
}
with something like
variant gcc44 description conflicts gcc43 gcc45 description {build using
macports-gcc-4.4} {
depends_lib-append port:gcc44
# the current pymol makefile does not honour CC and CXX environment
variables
build.cmd CC="${prefix}/bin/gcc-mp-4.4"
CXX="${prefix}/bin/g++-mp-4.4" ${python.bin} setup.py --no-user-cfg
}
--
Ticket URL: <https://trac.macports.org/ticket/29345#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list