[Pythonmac-SIG] packagemanager for Tiger

thor thorthor at altern.org
Fri Oct 21 00:02:57 CEST 2005


hi again

Sorry, I should have made it clear that I am trying to install PyGame.
Is Pygame working on Tiger? Is sdl-ttf a dependency? I can't install
that as the server seems to be down, but the rest of the sdl libs are
installed now.



 > Your best bet is to first of all get the packages you can from Bob's
 > site (http://pythonmac.org/packages/), and get used to using the
 > command-line to install anything else you need.

Thanks Jack.

Yes, I've installed SDL and Numeric using Fink, I've installed PyObjC
and trying to install pygame in the Terminal.

I get some errors that indicate that SDL is not properly installed.

Is SDL not working on Tiger yet?

Here is the process;


thm-mac-pb:~/Desktop/pygame-1.7.1release thm$ python setup.py  
bdist_mpkgUsing Darwin configuration...

running bdist_mpkg
installing to build/bdist.darwin-8.2.0-Power_Macintosh/mpkg
running build
running build_py
running build_ext
building 'pygame.base' extension
gcc -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused- 
madd -fno-common -dynamic -DNDEBUG -g -O3 -Wall -Wstrict-prototypes - 
I/NEED_INC_PATH_FIX -I/System/Library/Frameworks/Python.framework/ 
Versions/2.3/include/python2.3 -c src/base.c -o build/ 
temp.darwin-8.2.0-Power_Macintosh-2.3/src/base.o
In file included from src/base.c:24:
src/pygame.h:63:17: error: SDL.h: No such file or directory
In file included from src/base.c:24:
src/pygame.h:228: error: parse error before 'SDL_VideoInfo'
src/pygame.h:228: warning: no semicolon at end of struct or union
src/pygame.h:229: warning: type defaults to 'int' in declaration of  
'PyVidInfoObject'
src/pygame.h:229: warning: data definition has no type or storage class
src/pygame.h:254: error: parse error before 'SDL_Surface'
src/pygame.h:254: warning: no semicolon at end of struct or union
src/pygame.h:258: error: parse error before '}' token
src/pygame.h:258: warning: type defaults to 'int' in declaration of  
'PySurfaceObject'
src/pygame.h:258: warning: data definition has no type or storage class
src/base.c: In function 'CheckSDLVersions':
src/base.c:62: error: 'SDL_version' undeclared (first use in this  
function)
src/base.c:62: error: (Each undeclared identifier is reported only once
src/base.c:62: error: for each function it appears in.)
src/base.c:62: error: parse error before 'compiled'
src/base.c:63: error: syntax error before '*' token
src/base.c:64: warning: implicit declaration of function 'SDL_VERSION'
src/base.c:64: error: 'compiled' undeclared (first use in this function)
src/base.c:65: error: 'linked' undeclared (first use in this function)
src/base.c:65: warning: implicit declaration of function  
'SDL_Linked_Version'
src/base.c: In function 'init':
src/base.c:168: warning: implicit declaration of function 'SDL_Init'
src/base.c:172: error: 'SDL_INIT_TIMER' undeclared (first use in this  
function)
src/base.c:173: error: 'SDL_INIT_NOPARACHUTE' undeclared (first use  
in this function)
src/base.c: In function 'atexit_quit':
src/base.c:243: warning: implicit declaration of function 'SDL_Quit'
src/base.c: In function 'get_sdl_version':
src/base.c:254: error: syntax error before '*' token
src/base.c:258: error: 'v' undeclared (first use in this function)
src/base.c: At top level:
src/base.c:387: error: parse error before 'Uint32'
src/base.c:388: warning: function declaration isn't a prototype
src/base.c: In function 'UintFromObj':
src/base.c:391: error: 'obj' undeclared (first use in this function)
src/base.c:395: error: 'val' undeclared (first use in this function)
src/base.c:395: error: 'Uint32' undeclared (first use in this function)
src/base.c:395: error: parse error before 'PyInt_AsLong'
src/base.c: At top level:
src/base.c:402: error: parse error before 'UintFromObjIndex'
src/base.c:402: error: parse error before 'Uint32'
src/base.c:403: warning: return type defaults to 'int'
src/base.c:403: warning: function declaration isn't a prototype
src/base.c: In function 'UintFromObjIndex':
src/base.c:406: error: 'obj' undeclared (first use in this function)
src/base.c:406: warning: passing argument 2 of 'PySequence_GetItem'  
makes integer from pointer without a cast
src/base.c:409: error: 'val' undeclared (first use in this function)
src/base.c: At top level:
src/base.c:415: error: parse error before 'Uint8'
src/base.c:416: warning: function declaration isn't a prototype
src/base.c: In function 'RGBAFromObj':
src/base.c:418: error: 'Uint32' undeclared (first use in this function)
src/base.c:418: error: parse error before 'val'
src/base.c:419: error: 'obj' undeclared (first use in this function)
src/base.c:420: error: 'RGBA' undeclared (first use in this function)
src/base.c:429: error: 'val' undeclared (first use in this function)
src/base.c:431: error: 'Uint8' undeclared (first use in this function)
src/base.c:431: error: parse error before 'val'
src/base.c:434: error: parse error before 'val'
src/base.c:437: error: parse error before 'val'
src/base.c:442: error: parse error before 'val'
src/base.c:444: error: parse error before numeric constant
src/base.c: In function 'get_error':
src/base.c:464: warning: implicit declaration of function 'SDL_GetError'
src/base.c:464: warning: passing argument 1 of 'PyString_FromString'  
makes pointer from integer without a cast
src/base.c: In function 'PyGame_Video_AutoQuit':
src/base.c:475: warning: implicit declaration of function 'SDL_WasInit'
src/base.c:475: error: 'SDL_INIT_VIDEO' undeclared (first use in this  
function)
src/base.c:476: warning: implicit declaration of function  
'SDL_QuitSubSystem'
src/base.c: In function 'PyGame_Video_AutoInit':
src/base.c:481: error: 'SDL_INIT_VIDEO' undeclared (first use in this  
function)
src/base.c:502: warning: implicit declaration of function  
'SDL_InitSubSystem'
src/base.c:505: warning: implicit declaration of function  
'SDL_EnableUNICODE'
error: command 'gcc' failed with exit status 1
thm-mac-pb:~/Desktop/pygame-1.7.1release thm21$



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/pythonmac-sig/attachments/20051020/fb5b6e14/attachment-0001.htm


More information about the Pythonmac-SIG mailing list