Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#20919 closed defect (duplicate)

python31 fails to build on snow leopard

Reported by: jean-philippe.humbert@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: python31

Description

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.

Change History (2)

comment:1 Changed 15 years ago by tobypeterson

Resolution: duplicate
Status: newclosed

comment:2 Changed 15 years ago by tobypeterson

Keywords: snow leopard python31 removed
Version: 1.8.0
Note: See TracTickets for help on using tickets.