Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
Pygame won`t install on Mac OS X Lion
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="xxViennaxx" data-source="post: 1390878" data-attributes="member: 246690"><p>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 <a href="http://programming.itcarlow.ie/PyGameInstall.pdf" target="_blank">http://programming.itcarlow.ie/PyGameInstall.pdf</a> and got every thing to work, but stuck at Step 7, to build the setup.py file.[CODE]viennamini:pygame Home$ python setup.py build</p><p>running build</p><p>running build_py</p><p>running build_ext</p><p>building 'pygame.imageext' extension</p><p>/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</p><p>In file included from /System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/unicodeobject.h:4,</p><p> from /System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/Python.h:85,</p><p> from src/pygame.h:75,</p><p> from src/imageext.c:47:</p><p>/Developer/SDKs/MacOSX10.6.sdk/usr/include/stdarg.h:4:25: error: stdarg.h: No such file or directory</p><p>error: command '/usr/bin/gcc-4.2' failed with exit status 1[/CODE]</p><p>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?</p></blockquote><p></p>
[QUOTE="xxViennaxx, post: 1390878, member: 246690"] 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 [URL="http://programming.itcarlow.ie/PyGameInstall.pdf"]http://programming.itcarlow.ie/PyGameInstall.pdf[/URL] and got every thing to work, but stuck at Step 7, to build the setup.py file.[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[/CODE] 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? [/QUOTE]
Verification
Post reply
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
Pygame won`t install on Mac OS X Lion
Top