There are a few problems with just using MacPorts for me. First of all,
MacPorts uses Python 2.5 when installing pygame, and I wanted to use 3.1.
Second of all, I get some compilation errors when installing libsdl in
MacPorts.
Also, in regards to the .dmg files, they are not installers. They just
contain the SDL.Framework folders that you drop in to /Library/Frameworks,
and it looks like it is just a bunch of header files, as opposed to .a or
.so files. Why is the format so different as opposed to the binaries I build
myself from the source?

On Tue, May 18, 2010 at 12:34 AM, Mathieu Richardoz <
mathieu.richar...@gmail.com> wrote:

> Alternatively, since you're using MacPorts anyway at some point in the
> process, you could just save yourself the trouble and install everything
> with it, from Python itself to Pygame. FWIW that's what I did, and it works
> like a charm.
>
> Math
>
>
>
>
> On Tue, May 18, 2010 at 5:44 AM, Brian Fisher 
> <br...@hamsterrepublic.com>wrote:
>
>> 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 <jerga...@gmail.com>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 <br...@hamsterrepublic.com
>>> > 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 <jerga...@gmail.com> 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?
>>>>>
>>>>
>>>>
>>>
>>
>

Reply via email to