[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [pygame] Pygame bug on (Intel) MacBook Pro
- To: pygame-users@xxxxxxxx
- Subject: Re: [pygame] Pygame bug on (Intel) MacBook Pro
- From: altern <altern2@xxxxxxxxx>
- Date: Sat, 17 Mar 2007 09:42:17 +0100
- Delivered-to: archiver@seul.org
- Delivered-to: pygame-users-outgoing@seul.org
- Delivered-to: pygame-users@seul.org
- Delivery-date: Sat, 17 Mar 2007 04:42:34 -0400
- Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; b=nIjBDVDUINLqaepIbpDIP5YGg6UKFDW55zQCOoaGOkBKvG0RMvPoLgJHtQeBGxCHSfoUIkV13L+xbIb4/82SD58g+92f/TdGytNSRrDxu91dSQbX52Gtr+PtBb9EVjm6QKjyWl3kR9UYh/LDgI1h10Ws7If7mFXpk6y3e7/+87c=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; b=PgTgDhqAmaM3QogAGfTAsVDk+INHKgHSl4EYPJgBCzuztPyZQ7GI0lZDLtbqey00EzEdkztOeMElzYf8Up0XQ/1UQAj0Pc5fAYlEaLjxnKhMW/naC6z3sQyCTaGc5YeN70FrOnvxxbLZJ76y32FhG/xhiVUKR9i95PB6/ArZKZc=
- In-reply-to: <45FB7E34.9090503@ncee.net>
- References: <45FB7E34.9090503@ncee.net>
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
- User-agent: Mozilla Thunderbird 1.5.0.10 (X11/20070221)
Hi shane
If i remember well the current pygame release is not compatible yet with
python 2.5. This is for several technical reasons. There was a long and
'hot' discussion that touched this issue in the pygame list last month.
http://aspn.activestate.com/ASPN/Mail/Message/pygame-users/3401937
I guess you would have to install python 2.4 and the install pygame
making sure if installs against that python version. Maybe someone else
can be more precise than me about this, i just use my old mac once a
month when debugging apps for mac.
good luck
enrike
Shane Geiger(e)k dio:
I'm unable to install PyGame on a new (Intel) MacBook Pro:
lipo: can't figure out the architecture type of:
/var/tmp//cchiESvJ.out
Under Python 2.5, I'm trying to install from both SVN and the latest
release: pygame-1.7.1release
Thanks.
shanegeiger@h460d94e0:~/pygame/trunk\ 00:23:15$ sudo python setup.py
install
Using Darwin configuration...
running install
running build
running build_py
creating build
creating build/lib.macosx-10.3-fat-2.5
creating build/lib.macosx-10.3-fat-2.5/pygame
copying lib/__init__.py -> build/lib.macosx-10.3-fat-2.5/pygame
copying lib/color.py -> build/lib.macosx-10.3-fat-2.5/pygame
copying lib/colordict.py -> build/lib.macosx-10.3-fat-2.5/pygame
copying lib/cursors.py -> build/lib.macosx-10.3-fat-2.5/pygame
copying lib/locals.py -> build/lib.macosx-10.3-fat-2.5/pygame
copying lib/mac_scrap.py -> build/lib.macosx-10.3-fat-2.5/pygame
copying lib/macosx.py -> build/lib.macosx-10.3-fat-2.5/pygame
copying lib/pkgdata.py -> build/lib.macosx-10.3-fat-2.5/pygame
copying lib/sprite.py -> build/lib.macosx-10.3-fat-2.5/pygame
copying lib/sysfont.py -> build/lib.macosx-10.3-fat-2.5/pygame
copying lib/version.py -> build/lib.macosx-10.3-fat-2.5/pygame
creating build/lib.macosx-10.3-fat-2.5/pygame/gp2x
copying lib/gp2x/__init__.py -> build/lib.macosx-10.3-fat-2.5/pygame/gp2x
copying lib/gp2x/constants.py -> build/lib.macosx-10.3-fat-2.5/pygame/gp2x
copying lib/gp2x/locals.py -> build/lib.macosx-10.3-fat-2.5/pygame/gp2x
running build_ext
building 'pygame.imageext' extension
creating build/temp.macosx-10.3-fat-2.5
creating build/temp.macosx-10.3-fat-2.5/src
gcc -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk
-fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd
-fno-common -dynamic -DNDEBUG -g -O3 -D_REENTRANT -I/usr/include/SDL
-I/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 -c
src/imageext.c -o build/temp.macosx-10.3-fat-2.5/src/imageext.o
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
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:
src/pygame.h:226: error: parse error before 'SDL_VideoInfo'
src/pygame.h:226: warning: no semicolon at end of struct or union
src/pygame.h:227: warning: data definition has no type or storage class
src/pygame.h:252: error: parse error before 'SDL_Surface'
src/pygame.h:252: warning: no semicolon at end of struct or union
src/pygame.h:256: error: parse error before '}' token
src/pygame.h:256: warning: data definition has no type or storage class
src/imageext.c:33:23: error: SDL_image.h: No such file or directory
src/imageext.c:35: error: parse error before '*' token
src/imageext.c:35: warning: data definition has no type or storage class
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:
src/pygame.h:226: error: parse error before 'SDL_VideoInfo'
src/pygame.h:226: warning: no semicolon at end of struct or union
src/pygame.h:227: warning: data definition has no type or storage class
src/pygame.h:252: error: parse error before 'SDL_Surface'
src/pygame.h:252: warning: no semicolon at end of struct or union
src/pygame.h:256: error: parse error before '}' token
src/pygame.h:256: warning: data definition has no type or storage class
src/imageext.c:33:23: error: SDL_image.h: No such file or directory
src/imageext.c:35: error: parse error before '*' token
src/imageext.c:35: warning: data definition has no type or storage class
src/imageext.c: In function 'image_load_ext':
src/imageext.c:59: error: 'SDL_Surface' undeclared (first use in this
function)
src/imageext.c:59: error: (Each undeclared identifier is reported only once
src/imageext.c:59: error: for each function it appears in.)
src/imageext.c:59: error: 'surf' undeclared (first use in this function)
src/imageext.c:60: error: 'SDL_RWops' undeclared (first use in this
function)
src/imageext.c:60: error: 'rw' undeclared (first use in this function)
src/imageext.c:76: error: parse error before ')' token
src/imageext.c:76: error: parse error before ')' token
src/imageext.c:78: error: parse error before 'SDL_RWops'
src/imageext.c:91: warning: passing argument 2 of 'PyErr_SetString'
makes pointer from integer without a cast
src/imageext.c:93: error: parse error before 'SDL_Surface'
src/imageext.c: At top level:
src/imageext.c:378: error: parse error before '*' token
src/imageext.c: In function 'opengltosdl':
src/imageext.c:384: error: 'SDL_Surface' undeclared (first use in this
function)
src/imageext.c:384: error: 'surf' undeclared (first use in this function)
src/imageext.c:385: error: 'Uint32' undeclared (first use in this function)
src/imageext.c:385: error: parse error before 'rmask'
src/imageext.c:425: error: 'SDL_BYTEORDER' undeclared (first use in this
function)
src/imageext.c:425: error: 'SDL_LIL_ENDIAN' undeclared (first use in
this function)
src/imageext.c:427: error: 'rmask' undeclared (first use in this function)
src/imageext.c:427: error: 'gmask' undeclared (first use in this function)
src/imageext.c:427: error: 'bmask' undeclared (first use in this function)
src/imageext.c:433: error: 'SDL_SWSURFACE' undeclared (first use in this
function)
src/imageext.c:438: warning: passing argument 2 of 'PyErr_SetString'
makes pointer from integer without a cast
src/imageext.c: In function 'image_save_ext':
src/imageext.c:455: error: 'SDL_Surface' undeclared (first use in this
function)
src/imageext.c:455: error: 'surf' undeclared (first use in this function)
src/imageext.c:456: error: 'temp' undeclared (first use in this function)
src/imageext.c:461: error: parse error before ')' token
src/imageext.c:463: error: 'SDL_OPENGL' undeclared (first use in this
function)
src/imageext.c:470: error: parse error before ')' token
src/imageext.c:523: error: parse error before ')' token
src/imageext.c:526: warning: passing argument 2 of 'PyErr_SetString'
makes pointer from integer without a cast
src/imageext.c: In function 'image_load_ext':
src/imageext.c:59: error: 'SDL_Surface' undeclared (first use in this
function)
src/imageext.c:59: error: (Each undeclared identifier is reported only once
src/imageext.c:59: error: for each function it appears in.)
src/imageext.c:59: error: 'surf' undeclared (first use in this function)
src/imageext.c:60: error: 'SDL_RWops' undeclared (first use in this
function)
src/imageext.c:60: error: 'rw' undeclared (first use in this function)
src/imageext.c:76: error: parse error before ')' token
src/imageext.c:76: error: parse error before ')' token
src/imageext.c:78: error: parse error before 'SDL_RWops'
src/imageext.c:91: warning: passing argument 2 of 'PyErr_SetString'
makes pointer from integer without a cast
src/imageext.c:93: error: parse error before 'SDL_Surface'
src/imageext.c: At top level:
src/imageext.c:378: error: parse error before '*' token
src/imageext.c: In function 'opengltosdl':
src/imageext.c:384: error: 'SDL_Surface' undeclared (first use in this
function)
src/imageext.c:384: error: 'surf' undeclared (first use in this function)
src/imageext.c:385: error: 'Uint32' undeclared (first use in this function)
src/imageext.c:385: error: parse error before 'rmask'
src/imageext.c:425: error: 'SDL_BYTEORDER' undeclared (first use in this
function)
src/imageext.c:425: error: 'SDL_LIL_ENDIAN' undeclared (first use in
this function)
src/imageext.c:427: error: 'rmask' undeclared (first use in this function)
src/imageext.c:427: error: 'gmask' undeclared (first use in this function)
src/imageext.c:427: error: 'bmask' undeclared (first use in this function)
src/imageext.c:433: error: 'SDL_SWSURFACE' undeclared (first use in this
function)
src/imageext.c:438: warning: passing argument 2 of 'PyErr_SetString'
makes pointer from integer without a cast
src/imageext.c: In function 'image_save_ext':
src/imageext.c:455: error: 'SDL_Surface' undeclared (first use in this
function)
src/imageext.c:455: error: 'surf' undeclared (first use in this function)
src/imageext.c:456: error: 'temp' undeclared (first use in this function)
src/imageext.c:461: error: parse error before ')' token
src/imageext.c:463: error: 'SDL_OPENGL' undeclared (first use in this
function)
src/imageext.c:470: error: parse error before ')' token
src/imageext.c:523: error: parse error before ')' token
src/imageext.c:526: warning: passing argument 2 of 'PyErr_SetString'
makes pointer from integer without a cast
lipo: can't figure out the architecture type of: /var/tmp//cchiESvJ.out
error: command 'gcc' failed with exit status 1
shanegeiger@h460d94e0:~/pygame/trunk\ 00:23:18$