On Wed, Dec 17, 2008 at 5:53 PM, David Hain <dh...@zognot.org> wrote:
> > export installprefix=/opt/python # set this to wherever you want to put > it > export DYLD_LIBRARY_PATH=$installprefix/lib:$DYLD_LIBRARY_PATH > export > DYLD_FRAMEWORK_PATH=$installprefix/Library/Frameworks:$DYLD_LIBRARY_PATH:$DYLD_FRAMEWORK_PATH > export MACOSX_DEPLOYMENT_TARGET=10.5 > export sdk=/Developer/SDKs/MacOSX10.5.sdk > export CPPFLAGS="-I$installprefix/include -L$installprefix/lib" > export CFLAGS="-O -g -isysroot $sdk -arch i386 -arch ppc > -mmacosx-version-min=10.5" > export LDFLAGS="-Wl,-syslibroot,$sdk -flat_namespace" > > ./configure \ > --enable-universalsdk=$sdk \ > --enable-framework=$installprefix/Library/Frameworks > make > make install > > > Then, to build pyobjc, you should be able to use 02-develop-all.sh from > trunk, provided you modify it to use the python you just built above (change > the paths on lines 18, 19, 24, 35, and 36). > > Good luck, > -David > > Thanks David - those instructions worked perfectly! I now have pyobjc and python 2.6.1 built from source and working. Regards, Reza -- Reza Lotun Senior Software Engineer Peer Technologies Limited r...@getpeer.com
_______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig