On 10/09/2009, at 9:55 AM, Tristam MacDonald wrote:
> On Wed, Sep 9, 2009 at 7:28 PM, Nathan <[email protected]>  
> wrote:
>
> On Wed, Sep 9, 2009 at 3:42 PM, John Lehmann<[email protected]> wrote:
> >
> > All I had to do was follow the step in
> >
> >    http://tr.im/yhW8
> >
> > defaults write com.apple.versioner.python Prefer-32-Bit -bool yes
> >
> > But I likely had a 32-bit python 2.6 already installed.

I'm actually quite confused. I upgraded to Snow Leopard (from factory- 
installed Leopard) yesterday, and pythonw is:

l-rjones:3chidna richard$ which pythonw
/Library/Frameworks/Python.framework/Versions/2.6/bin/pythonw
l-rjones:3chidna richard$ pythonw
Python 2.6.1 (r261:67515, Dec  6 2008, 16:42:21)
[GCC 4.0.1 (Apple Computer, Inc. build 5370)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
 >>> import sys
 >>> sys.maxint
2147483647
 >>>

... definitely not a 64-bit build. Not sure why my system differs from  
yours...

Also, all the pyglet apps I've been running since the upgrade work  
fine...


> $ sudo /Library/Frameworks/Python.framework/Versions/2.6/bin/python
> setup.py install
> running install
> running build
> running build_py
> running build_ext
> 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 conftest.c -o conftest.o
>
> This is what I was talking about - system gcc doesn't respect the - 
> arch i386 option. The only way I got it to work bas by manually  
> aliasing gcc and g++ to their 32-bit versions.

I did have to manually edit /Library/Frameworks/Python.framework/ 
Versions/2.6/lib/python2.6/config/Makefile  to fix that  
"MacOSX10.4u.sdk" *bug* before I could compile any python extensions.  
I have no explanation as to why they would have the config pointing  
to /Developer/SDKs/MacOSX10.4u.sdk when it doesn't exist (at least on  
my system).


       Richard


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/pyglet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to