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

Re: [pygame] Pygame bug on (Intel) MacBook Pro



Brian,

I don't think I can download a prebuilt pygame for Python 2.5. Correct me if I'm wrong. I looked.

Thanks for bumping me along in the right direction concerning the dependencies issue. I saw the last message about the architecture and thought that was the problem. I will look into this more. I have an unfortunate situation with MacPorts being broken and, as I can't figure out what's going on with that, I have relied a little more heavily on fink for getting some packages I need. (It is a little tricky to try to keep track of what has been installed and how it has been installed. I install things with MacPorts (well, I did), fink, python setup.py install, easy_install (for eggs), .dmg files, and good old SVN. With that kind of scenario, it is easy to come to expect things not to work. Sorry for overlooking what could have been enough info for me to fix the problem myself.

Shane



Brian Fisher wrote:
On 3/16/07, Shane Geiger <sgeiger@xxxxxxxx> wrote:
Under Python 2.5, I'm trying to install from both SVN and the latest
release:  pygame-1.7.1release

You don't seem to have the source for the dependencies, no libpng or
SDL or whatever... looks like all the errors below are cause of these
ones:
--------------------------
src/imageext.c:29:17: error: png.h: No such file or directory
src/imageext.c:30:21: error: jpeglib.h: No such file or directory
In file included from src/imageext.c:31:
src/pygame.h:63:17: error: SDL.h: No such file or directory
In file included from src/imageext.c:31:
--------------------------
If you want to install from source it looks like you need to gather
the dependencies source packages too

To Shane: Would the prebuilts work for you?
http://pythonmac.org/packages/

To List: Is there any reason not to check in the source code to
pygame's dependencies into pygame's svn? It would help a _lot_ for
people being able to easily build pygame from source, and it would
also let you know what the blessed & tested versions of the
dependencies were...
If the dependencies were checked into svn next to pygame's source,
then things probably would have just worked for Shane here. For my
part, having to go get dependencies is the single biggest obstacle for
me helping work with source (I've never been able to get them all, and
even if I could the search for them is a huge turn off), and I expect
many others feel he same way

-- Shane Geiger IT Director National Council on Economic Education sgeiger@xxxxxxxx | 402-438-8958 | http://www.ncee.net

Leading the Campaign for Economic and Financial Literacy

begin:vcard
fn:Shane Geiger
n:Geiger;Shane
org:National Council on Economic Education (NCEE)
adr:Suite 215;;201 N. 8th Street;Lincoln;NE;68508;United States
email;internet:sgeiger@xxxxxxxx
title:IT Director
tel;work:402-438-8958
x-mozilla-html:FALSE
url:http://www.ncee.net
version:2.1
end:vcard