From: Tommy Grav <tgrav@ma...> - 2007-12-05 15:13:55
I am trying to install PyObjC 1.4 on my Mac OS X 10.4.11 as I am very
interested in this project.
[tgrav@...] Temporary/pyobjc-1.4 --> python setup.py bdist_mpkg --
** using pyobjc source-deps py2app for building
installing to build/bdist.macosx-10.3-fat/mpkg
Performing task: Generating wrappers & stubs
building 'WebKit._WebKit' extension
gcc -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -
fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -
fPIC -fno-common -dynamic -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -
c Modules/WebKit/_WebKit.m -o build/temp.macosx-10.3-fat-2.5/Modules/
WebKit/_WebKit.o -IModules/objc -DMACOSX -DAPPLE_RUNTIME -no-cpp-
precomp -Wno-long-double -g -Wall -Wstrict-prototypes -Wmissing-
prototypes -Wformat=2 -W -Wshadow -Wpointer-arith -Wmissing-
declarations -Wnested-externs -Wno-long-long -Wno-import -Ibuild/
In file included from Modules/WebKit/_WebKit.m:23:
build/codegen/_WebKit_Enum.inc:3:35: error: WebKit/DOMAbstractView.h:
No such file or directory
Followed by numerous errors.
The problem seems to be that the WebKit Framework is not found by the
install script. It is present and located in /System/Library/Frameworks/
WebKit.framework/ How can I get the code to find this framework?
From: Luc Heinrich <luc@ho...> - 2007-12-05 15:22:43
On 5 d=E9c. 07, at 16:13, Tommy Grav wrote:
> The problem seems to be that the WebKit Framework is not found by the
> install script. It is present and located in /System/Library/=20
> WebKit.framework/ How can I get the code to find this framework?
The WebKit framework is correctly found by the install script, the =20
problem is that PyObjC 1.4 is not compatible with the WebKit =20
framework of Safari 3, which was a "forced" update in OS X 10.4.11.
Your only solution as far as I know is to go back to OS X 10.4.10. Or =20=
wait until PyObjC 2 is made compatible with OS X 10.4.x.