On Dec 3, 2007, at 6:53 AM, Andre-John Mas wrote:
Hi,
I am trying to install Python 2.5.1 on my PowerMac G4, but I am running into some problems. Note that I have verified that my ports install is up to date with 'sudo ports selfupdate'. Follows is the output from attempting an install. Any ideas?
localhost% sudo port install python25
---> Fetching python25 ---> Verifying checksum(s) for python25 ---> Extracting python25 ---> Applying patches to python25 ---> Configuring python25 ---> Building python25 with target all
...
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(getbuildinfo.o), not a valid ppc64 mach-o file libtool: internal link edit command failed make: *** [libpython2.5.dylib] Error 1
Error: Status 1 encountered during processing.
What version of Xcode do you have installed? When this has come up in the past, it was due to an older Xcode (2.1 and/or 2.2.x); so make sure you're running at least 2.4 (I believe) or the latest, 2.5. Bryan