PyObjC and Webkits

Discussion in 'Python' started by Tommy Grav, Dec 4, 2007.

  1. Tommy Grav

    Tommy Grav Guest

    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
     
    Tommy Grav, Dec 4, 2007
    #1
    1. Advertising

  2. Tommy Grav

    Guest

    On Dec 4, 1:01 pm, Tommy Grav <> wrote:
    > 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, 2007
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Ronald Oussoren

    ANN: PyObjC 1.0

    Ronald Oussoren, Oct 10, 2003, in forum: Python
    Replies:
    0
    Views:
    328
    Ronald Oussoren
    Oct 10, 2003
  2. Ronald Oussoren

    ANN: PyObjC 1.1

    Ronald Oussoren, May 31, 2004, in forum: Python
    Replies:
    1
    Views:
    310
    David Fraser
    May 31, 2004
  3. Horace  Enea

    PyObjC and Xcode

    Horace Enea, Jul 3, 2007, in forum: Python
    Replies:
    0
    Views:
    292
    Horace Enea
    Jul 3, 2007
  4. Replies:
    6
    Views:
    188
    Dave Angel
    Feb 8, 2013
  5. kle
    Replies:
    0
    Views:
    103
Loading...

Share This Page