Ticket #20940 (closed defect: duplicate)
Error upgrading python26 port
| Reported by: | conradwt@… | Owned by: | macports-tickets@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.8.0 |
| Keywords: | snowleopard | Cc: | |
| Port: | python26 |
Description
MacPorts Team, I received the following error upgrading python26 port:
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 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 -arch x86_64 -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: Problem while installing python26
My environment is as follows:
$ sw_vers ProductName: Mac OS X ProductVersion: 10.6 BuildVersion: 10A432
Last but not least, I have re-built all ports under Snow Leopard using the Xcode 3.2 tools for Snow Leopard build 10A432 contained on the DVD distribution.
Change History
Note: See
TracTickets for help on using
tickets.


Dup of #20284.