On Feb 17, 2008, at 11:18 AM, Jeffrey LePage wrote:
Hello,

Is anyone else having problems compiling pyobjc-py2*
on Intel Mac's?
When I do "fink install pyobjc-py23" I get the errors
listed below.  Attempts to install pyobjc-py24 and
pyobjc-py25 end similarly.  I've done "fink
selfupdate" and update-all already.


The last compile command seems to be...

gcc -L/sw/lib -bundle -undefined dynamic_lookup
-L/sw/lib -I/sw/include
build/temp.darwin-8.11.1-i386-2.3/Modules/InterfaceBuilder/ _InterfaceBuilder.o
-o
build/lib.darwin-8.11.1-i386-2.3/InterfaceBuilder/_InterfaceBuilder.so
-framework InterfaceBuilder -framework Foundation

...which causes the error...

/usr/bin/ld:
/System/Library/Frameworks/WebKit.framework/Versions/A/WebKit
load command 20 unknown cmd field
collect2: ld returned 1 exit status
error: command 'gcc' failed with exit status 1
### execution of /var/tmp/tmp.1.zO4tA8 failed, exit
code 1

WebKit.framework is the culprit here. Safari 3's WebKit, which is included in 10.4.11, is incompatible with PyObjC 1.4.x and unlikely to be fixed. PyObjC 2.x works with Safari 3, but is only compatible with 10.5 and later for now. Hopefully a Tiger-compatible PyObjC 2.x will eventually be released, but until then you'd have to downgrade to 10.4.10 to use PyObjC (or upgrade to Leopard). This is an upstream PyObjC problem and out of Fink's hands.

Daniel

Attachment: smime.p7s
Description: S/MIME cryptographic signature

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Fink-beginners mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.beginners

Reply via email to