PyObjC and Webkits

kyosohma at gmail.com kyosohma at gmail.com
Wed Dec 5 09:23:57 EST 2007


On Dec 4, 1:01 pm, Tommy Grav <tg... at mac.com> wrote:
> I am trying to install PyObjC 1.4 on my Mac OS X 10.4.11.
>
> I run:
>
> [tgrav at 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



More information about the Python-list mailing list