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

Re: [pygame] Compiling pygame on OSX without SDL.framework



Patrick Mullen wrote:
I have sdl and other packages installed to ~/Local in a
unix fashion (~/Local/include, ~/Local/bin etc).  The pygame config.py
seems unable to locate SDL

From my experience, it's *much* easier to compile pygame against a framework version of SDL on MacOSX. Try putting SDL.framework, SDL_image.framework, etc. from the binary distributions of the SDL libraries into your ~/Library/Frameworks.

Also, if you haven't done so already, it's probably a
good idea to make a private installation of Python itself
from source (as a framework in ~/Library/Frameworks),
rather than trying to use the system one. You're less
likely to have trouble with version conflicts then, since
you can use whatever Python version you need, and you can
let all your Python extensions install themselves where
they naturally want to go.

--
Greg