Ticket #15216 (closed defect: worksforme)
python25 won't build due to outdated Xcode
| Reported by: | teusjannette@… | Owned by: | mww@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.6.0 |
| Keywords: | install python | Cc: | |
| Port: |
Description
Command given:
sudo port install python25
Result:
---> Building python25 with target all 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_python25/work/Python-2.5.2" && make all " returned error 2 Command output: /usr/bin/libtool -o libpython2.5.dylib -dynamic \
-all_load libpython2.5.a -single_module \ -install_name /opt/local/lib/libpython2.5.dylib \ -compatibility_version 2.5 \ -current_version 2.5 -lSystem -lSystemStubs -L/opt/local/lib
ld64 failed: in libpython2.5.a(.SYMDEF), not a valid ppc64 mach-o file /usr/bin/libtool: internal link edit command failed make: * [libpython2.5.dylib] Error 1
Error: Status 1 encountered during processing.
Change History
comment:1 in reply to: ↑ description Changed 5 years ago by teusjannette@…
comment:2 Changed 5 years ago by jmr@…
- Priority changed from High to Normal
- Owner changed from macports-tickets@… to mww@…
Assigning to maintainer.
comment:3 follow-up: ↓ 4 Changed 5 years ago by afb@…
Usually this happens when trying to build with outdated tools, such as Xcode < 2.4.1 ... Seeing as how your Mac OS X is out of date, chances are you need to update both of them.
comment:4 in reply to: ↑ 3 ; follow-up: ↓ 5 Changed 5 years ago by teusjannette@…
I updated to XCode Tools 2.5, and now python installs fine.
It would be helpful and give less support calls if the Port would give a message if the XCode Tools are outdated.
comment:5 in reply to: ↑ 4 Changed 5 years ago by ryandesign@…
- Summary changed from failing to install python25 to python25 won't build due to outdated Xcode
Replying to teusjannette@gmail.com:
It would be helpful and give less support calls if the Port would give a message if the XCode Tools are outdated.
Agreed. That would be #15216.
I believe this ticket can be closed now.


The error occurs on Mac OS version 10.4.6.