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

Re: [pygame] easy_install pygame on OSX ML



easy_install and pip do not install C dependencies, it leaves that up to you. I would recommend trying homebrew if you are not familiar with what it will take to resolve this yourself.


On Fri, Jun 14, 2013 at 9:30 PM, Sean Felipe Wolfe <ether.joe@xxxxxxxxx> wrote:
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



--
--Robert Deaton
http://lushlab.com