python26 build error
Jan Pingel
jan.pingel at gmail.com
Mon Sep 14 13:38:53 PDT 2009
Attempting to install mercurial on 10.6.1 (32bit kernel) I've run into
the following build error with python:
Reiya:Desktop jpingel$ sudo port install mercurial
---> Computing dependencies for mercurial
---> Building python26
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_python26
/work/Python-2.6.2" && /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 -u _PyMac_Error
Python.framework/Versions/2.6/Python -o python.exe \
Modules/python.o \
-ldl
ld: warning: in Python.framework/Versions/2.6/Python, file is not of
required architecture
Undefined symbols:
"_PyMac_Error", referenced from:
"_Py_Main", referenced from:
_main in python.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [python.exe] Error 1
Error: The following dependencies failed to build: python26
Error: Status 1 encountered during processing.
Reading over https://trac.macports.org/ticket/20284 and http://www.mail-archive.com/macports-users@lists.macosforge.org/msg16016.html
I saw that the issue was apparently fixed so I tried updating the
ports tree (port selfupdate) and then cleaning all ports (port clean --
all all). Same error unfortunately.
Any ideas?
-Jan
More information about the macports-users
mailing list