Opened 12 years ago

Closed 12 years ago

Last modified 11 years ago

#12932 closed defect (worksforme)

python25 fails to link

Reported by: andrew.bell@… Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 1.5.0
Keywords: python25 ld64 Cc:
Port:

Description

Attempting to install Gimp. G4 PPC OS X 10.4.10 Xcode 2.1

$ sudo port install -d python25 +darwin_8 Password: ---> Fetching python25 ---> Verifying checksum(s) for python25 ---> Extracting python25 ---> Applying patches to python25 ---> Configuring python25 ---> 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.1" && make all " returned error 2 Command output: Modules/main.c:186: warning: function declaration isn't a prototype /usr/bin/gcc-4.0 -c -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -I/opt/local/include -DPy_BUILD_CORE -o Modules/gcmodule.o Modules/gcmodule.c

... omited ...

Modules/xxsubtype.o ranlib libpython2.5.a 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

Change History (3)

comment:1 Changed 12 years ago by andrew.bell@…

My bad - I updated Xcode to 2.4.1 which corrected the problem.

comment:2 Changed 12 years ago by nox@…

Milestone: MacPorts 1.5Port Bugs
Resolution: worksforme
Status: newclosed

comment:3 Changed 11 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.