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

Re: [pygame] Installing pygame on Mac OS X Snow Leopard: How do I tell the config.py script where libsdl is?



The .dmg files are installers, that put the sdl libraries in specific known places. The ones you build yourself would be found just fine if they were in those known places. But it's probably better to use the prebuilts anyways, cause it's better to use whatever configuration stuff they build with so that your SDL matches what other people use as much as practical.


On Mon, May 17, 2010 at 7:20 PM, Jamison Dance <jergason@xxxxxxxxx> wrote:
Yep, that was my problem. Thank you very much for your help. What is the difference between the libraries built from the source and the Mac OS X binaries, out of curiosity?


On Mon, May 17, 2010 at 7:49 PM, Brian Fisher <brian@xxxxxxxxxxxxxxxxxxx> wrote:
Install SDL from the source yourself? None of the instructions ever given say that. They all say install the official prebuilt SDL using the .dmg files provided libsdl.org. Did you build SDL yourself from source, or did you install the official SDL disk images?



On Mon, May 17, 2010 at 5:49 PM, jergason <jergason@xxxxxxxxx> wrote:
I am trying to install pygame on Mac OS X Snow Leopard with python
3.1. I have been loosely following the guide found here:
http://programming.itcarlow.ie/PyGameInstall.pdf linked to from the
pygame website. It basically tells you to install SDL from the source
yourself, and use macports to install libjpeg, libsmpeg, and PORTMIDI.
I get to the final steps where I call the pygame config.py script
here:
$ python3  config.py
Only to notice that none of the SDL libs can be located by the config
script.

The output from config.py looks like this:
Using Darwin configuration...


Backup existing "Setup" file [Y/n]:n
Hunting dependencies...
Framework SDL not found
Framework SDL_ttf not found
Framework SDL_image not found
Framework SDL_mixer not found
Framework smpeg not found
PNG     : found
JPEG    : found
SCRAP   : not found
PORTMIDI: found
Framework CoreMidi found

libSDL, libSDL_mixer, libSDL_tff, libSDL_image are all in /usr/local/
lib. How do I tell the config script where my SDL libraries are
located?