Re: [Pyobjc-dev] problem with installing
Brought to you by:
ronaldoussoren
From: farshidg <far...@vm...> - 2007-08-12 21:55:53
|
thanks for the help. I tried what you said , now the setup doesn't complain about the files anymore but errors are about redeclaration of classes in the header files . I think apple documentation is very poor on this thing ( http://developer.apple.com/opensource/internet/nightlywebkit.html). I got this article from them which says how to set DYLD_FRAMEWORK_PATH to resolve this issue , but it just simply doesn't work. any more clue of this how to avoid this error? Thanks, Farshid In file included from /Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/WebKit.framework/Headers/DOMObject.h:27, from /Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/WebKit.framework/Headers/DOMAbstractView.h:27, from build/codegen/_WebKit_Enum.inc:3, from Modules/WebKit/_WebKit.m:23: /Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/WebKit.framework/Headers/DOMException.h:33: error: redeclaration of enumerator 'DOM_INDEX_SIZE_ERR'In file included from /Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/WebKit.framework/Headers/DOMObject.h:27, from /Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/WebKit.framework/Headers/DOMAbstractView.h:27, Christopher Andrews wrote: > I had the same problem. You probably installed the Safari 3 beta as I > did, which changed the system WebKit, but not the SDK one. The problem > is that one of the checks reads the contents of the framework in > /System/Library/Frameworks, but the actual compilation uses the one in > /Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks > > The workaround that I used was to go into > /Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/WebKit.framework/Versions > > > and change the Current symlink to point to > /System/Library/Frameworks/WebKit.framework/Versions/Current > > After that, it compiled fine. I've not used any of the WebKit > functionality to see if it works, but at least everything else seems > to work... > > -Black > > > On Aug 12, 2007, at 4:40 AM, farshidg wrote: > >> Hi, >> >> I have been trying to install pyObjc on the osx with python 2.5 but i am >> getting the following error which i guess is related to >> WebKit folder included in the source ( pyobjc ) >> any clue why this is happening !! >> I have all the xcode and latest webKit is installed in my mac osx. >> >> Thanks, >> Farshid >> >> gcc -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk >> -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd >> -fno-common -dynamic -DNDEBUG -g -O3 >> -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 >> build/codegen/_WebKit_Enum.inc:4:27: error: WebKit/DOMAttr.h: No such >> file or directory >> >> ------------------------------------------------------------------------- >> >> This SF.net email is sponsored by: Splunk Inc. >> Still grepping through log files to find problems? Stop. >> Now Search log events and configuration files using AJAX and a browser. >> Download your FREE copy of Splunk now >> http://get.splunk.com/ >> _______________________________________________ >> Pyobjc-dev mailing list >> Pyo...@li... >> https://lists.sourceforge.net/lists/listinfo/pyobjc-dev > |