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/[email protected]/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
_______________________________________________
macports-users mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users

Reply via email to