Opened 15 years ago

Closed 15 years ago

#21177 closed defect (worksforme)

python26 build failure

Reported by: egan@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: python26

Description (last modified by tobypeterson)

$ sudo port install python26 
--->  Computing dependencies for python26
--->  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 -j1 all MAKE="/usr/bin/make CC=/usr/bin/gcc-4.0" " returned error 2
Command output: /usr/bin/gcc-4.0 -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:
  "_Py_Main", referenced from:
      _main in python.o
  "_PyMac_Error", referenced from:
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [python.exe] Error 1

Error: Status 1 encountered during processing.

Attachments (1)

python26.debug.out (61.5 KB) - added by egan@… 15 years ago.
debug output

Download all attachments as: .zip

Change History (4)

Changed 15 years ago by egan@…

Attachment: python26.debug.out added

debug output

comment:1 Changed 15 years ago by tobypeterson

Description: modified (diff)
Version: 1.8.0

comment:2 Changed 15 years ago by tobypeterson

You need to clean before gathering debug info, otherwise the log is useless. Also, what version of Xcode are you using?

(And, since it isn't mentioned, this is on 10.5.8.)

comment:3 Changed 15 years ago by blb@…

Resolution: worksforme
Status: newclosed

Make sure to selfupdate, this was fixed in r57191 (be sure to clean as well before trying to install again).

Note: See TracTickets for help on using tickets.