[Pythonmac-SIG] pyobjc 2.0 with the python.org distribution?

Reza Lotun reza at getpeer.com
Fri Dec 19 11:04:27 CET 2008


On Wed, Dec 17, 2008 at 5:53 PM, David Hain <dhain at 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
reza at getpeer.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pythonmac-sig/attachments/20081219/1aed4cdc/attachment.htm>


More information about the Pythonmac-SIG mailing list