Opened 13 years ago

Closed 13 years ago

Last modified 12 years ago

#13389 closed defect (duplicate)

python25 restFP build error with latest portfile on OS 10.4

Reported by: crkrenn@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.5.2
Keywords: Cc: jwelp1@…



I'm having trouble installing python25 using macports 1.520 on a PPC iBook with OS 10.4.

I've done "port selfupdate", "port clean python25", "port upgrade python25", and I still get a linking error with the latest (rev 3) portfile:

Do you have any suggestion for fixing or diagnosing this? I tried the older solutions of adding gcc libraries to the python makefile with no luck.



error below:

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

ld: for architecture ppc ld: warning prebinding disabled because of undefined symbols ld: Undefined symbols: restFP saveFP libtool: internal link edit command failed make: * [libpython2.5.dylib] Error 1

Change History (5)

comment:1 Changed 13 years ago by thijsvermeir@…

I have the same bug on a clean install of macports...

comment:2 Changed 13 years ago by yves@…

This is a rather stupid bug.

Why does python use libtool instead of gcc as link command anyway ?

gcc would link automatically with libc.

Or else, libtool should just be passed the -lc flag explicitly.

comment:3 Changed 13 years ago by ryandesign (Ryan Schmidt)

Cc: jwelp1@… added
Milestone: Port Bugs

comment:4 Changed 13 years ago by ryandesign (Ryan Schmidt)

Resolution: duplicate
Status: newclosed

Duplicate of #13322 which has been fixed.

comment:5 Changed 12 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.