- Joined
- Apr 5, 2012
- Messages
- 6
- Reaction score
- 0
- Points
- 1
- Location
- Brazil
- Your Mac's Specs
- MacMini 2007 running OS X Lion || 2GB RAM || 120GB HDD || 2,2GHz
Hey, i`m trying to install Pygame for fytoh 3.2.2 on a Mac Mini running OSX 10.7.3, and it keeps failing every single try. I`m using a tutorial from http://programming.itcarlow.ie/PyGameInstall.pdf and got every thing to work, but stuck at Step 7, to build the setup.py file.
This is the output when I run build. I checked the /Developer folder and the stdarg.h file IS there, so I`m lost. Any ideas?
Code:
viennamini:pygame Home$ python setup.py build
running build
running build_py
running build_ext
building 'pygame.imageext' extension
/usr/bin/gcc-4.2 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -isysroot /Developer/SDKs/MacOSX10.6.sdk -arch i386 -pipe -Ddarwin -I/Library/Frameworks/SDL.framework/Versions/Current/Headers -I/Library/Frameworks/SDL_image.framework/Versions/Current/Headers -I/usr/local/include -I/usr/local/include -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/imageext.c -o build/temp.macosx-10.7-intel-2.7/src/imageext.o
In file included from /System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/unicodeobject.h:4,
from /System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/Python.h:85,
from src/pygame.h:75,
from src/imageext.c:47:
/Developer/SDKs/MacOSX10.6.sdk/usr/include/stdarg.h:4:25: error: stdarg.h: No such file or directory
error: command '/usr/bin/gcc-4.2' failed with exit status 1