By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,001 Members | 1,262 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,001 IT Pros & Developers. It's quick & easy.

PyObjC and Webkits

P: n/a
I am trying to install PyObjC 1.4 on my Mac OS X 10.4.11.

I run:

[tgrav@skathi] Temporary/pyobjc-1.4 --python setup.py bdist_mpkg --
open
** using pyobjc source-deps py2app for building
running bdist_mpkg
installing to build/bdist.macosx-10.3-fat/mpkg
running build
running build_py
running build_ext
Performing task: Generating wrappers & stubs
/Library/Frameworks/Python.framework/Versions/2.5/Resources/
Python.app/Contents/MacOS/Python Scripts/CodeGenerators/
cocoa_generator.py
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 -
I/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 -
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/
codegen/
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?

Cheers
TG
Dec 4 '07 #1
Share this Question
Share on Google+
1 Reply


P: n/a
On Dec 4, 1:01 pm, Tommy Grav <tg...@mac.comwrote:
I am trying to install PyObjC 1.4 on my Mac OS X 10.4.11.

I run:

[tgrav@skathi] Temporary/pyobjc-1.4 --python setup.py bdist_mpkg --
open
** using pyobjc source-deps py2app for building
running bdist_mpkg
installing to build/bdist.macosx-10.3-fat/mpkg
running build
running build_py
running build_ext
Performing task: Generating wrappers & stubs
/Library/Frameworks/Python.framework/Versions/2.5/Resources/
Python.app/Contents/MacOS/Python Scripts/CodeGenerators/
cocoa_generator.py
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 -
I/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 -
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/
codegen/
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?

Cheers
TG
I've never done this, but I think you need to learn how to create a
custom manifest file:

http://docs.python.org/dist/manifest.html

Hope that helps!

Mike
Dec 5 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.