Re: [Pyobjc-dev] compiling pyobjc-framework-Quartz-2.2b1 with python.org 2.6.2 dmg framework
Brought to you by:
ronaldoussoren
From: Ronald O. <ron...@ma...> - 2009-05-23 07:03:56
|
Hi, I want to do a new release of PyObjC this weekend, and one of the things I'm working on right now is fixing problems like the one you're running into. Ronald On 23 May, 2009, at 8:55, friendship7 wrote: > Hello, > > I'm compiling current SVN, at several point, Quartz-2.2b2 is tried to > be downloaded and fail. > So I've downloaded 2.2b1 by hand. > > When trying to compile it, I stumble on this one. > > gcc -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk > -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -O3 > -I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 > -c Modules/_callbacks.m -o > build/temp.macosx-10.3-fat-2.6/Modules/_callbacks.o > > Modules/_callbacks.m:422: error: syntax error before > ‘m_CGDataProviderSequentialCallbacks’ > > If I modify the above gcc line like the following: > > philou@bookpro:~/src/py/pyobjc-framework-Quartz-2.2b1$ gcc -arch ppc > -arch i386 -isysroot /Developer/SDKs/MacOSX10.5.sdk > -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -O3 > -I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 > -c Modules/_callbacks.m -o > build/temp.macosx-10.3-fat-2.6/Modules/_callbacks.o > > It compiles fine. > > Where do I tweak, locally or globaly, the -isysroot arg used, the > -arch used for building python stub? > > Thanks, best regards. > > ------------------------------------------------------------------------------ > Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT > is a gathering of tech-side developers & brand creativity > professionals. Meet > the minds behind Google Creative Lab, Visual Complexity, Processing, & > iPhoneDevCamp asthey present alongside digital heavyweights like > Barbarian > Group, R/GA, & Big Spaceship. http://www.creativitycat.com > _______________________________________________ > Pyobjc-dev mailing list > Pyo...@li... > https://lists.sourceforge.net/lists/listinfo/pyobjc-dev |