[MacPorts] #20919: python31 fails to build on snow leopard
MacPorts
noreply at macports.org
Sun Aug 30 04:55:37 PDT 2009
#20919: python31 fails to build on snow leopard
------------------------------------------+---------------------------------
Reporter: jean-philippe.humbert@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.8.0
Keywords: snow leopard, python31 | Port: python31
------------------------------------------+---------------------------------
When I upgraded to Snow Leopard I removed MacPorts and did a fresh
install. Python31, however, failed to build.
Output from "sudo port install python31"
{{{
---> Building python31
Error: Target org.macports.build returned: shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python31/work/Python-3.1"
&& /usr/bin/make -j2 all MAKE="/usr/bin/make CC=/usr/bin/gcc-4.2" "
returned error 2
Command output: /usr/bin/gcc-4.2 -L/opt/local/lib -framework
CoreFoundation Python.framework/Versions/3.1/Python -o python.exe \
Modules/python.o \
-lintl -ldl
ld: warning: in Python.framework/Versions/3.1/Python, file is not of
required architecture
Undefined symbols:
"_PyMem_Malloc", referenced from:
_main in python.o
_main in python.o
_main in python.o
_main in python.o
"_Py_Main", referenced from:
_main in python.o
_main in python.o
"_PyMem_Free", referenced from:
_main in python.o
_main in python.o
_main in python.o
_main in python.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [python.exe] Error 1
Error: Status 1 encountered during processing.
}}}
--
Ticket URL: <http://trac.macports.org/ticket/20919>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list