PyObjC and Webkits

T

Tommy Grav

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
 
K

kyosohma

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top