[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[pygame] easy_install pygame on OSX ML



Hey everybody,

I am getting a pygame dev environment setup on a new mac powerbook ...
Mountain Lion. Not my favorite macosx ever, but somewhat better than
Lion. I sure hope Apple gets its OS department back on track. But that
is another discussion. ...

Anyhow, I tried
$ easy_install pygame

and whaddyaknow, it *almost* worked! Seemed to download the binary
from pygame.org, start doing stuffs, and it eventually crashed with an
SDL error.

----
clang: warning: argument unused during compilation: '-mno-fused-madd'
In file included from src/_numericsurfarray.c:23:
src/pygame.h:106:10: fatal error: 'SDL.h' file not found
#include <SDL.h>
         ^
1 error generated.
error: Setup script exited with error: command 'clang' failed with exit status 1
---

Looks like some SDL C dependencies aren't installed on my system. I'm
wondering how easy_install is failing to install the necessary
dependencies? How would one go about fixing this?

An opportunity to learn more about python and easy_install ... :)

-- 
A musician must make music, an artist must paint, a poet must write,
if he is to be ultimately at peace with himself.
- Abraham Maslow