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

Re: [pygame] "emerge pygame" failled



bartkowski dominik wrote:
I tried to emerge pygame on Gentoo ppc (ibook G4). It doesn't work, I hope somebody could help me, thanks for ur interest.
dominik
ps, here is the message error;

/usr/include/python2.4/pyconfig.h:846:1: warning: "_GNU_SOURCE" redefined
<command line>:1:1: warning: this is the location of the previous definition
src/display.c: In function 'get_wm_info':
src/display.c:416: error: 'SDL_SysWMinfo' has no member named 'info'

It looks like because of the architecture that SDL_SysWMinfo doesn't have all the fields Pygame is expecting. I am surprised because I would expect this to be the same on all Gentoo/Linux systems, regardless of architecture.

Perhaps try again without the altivec flags when building SDL and Pygame? I am guessing that looking at the #ifdefs in code around SDL_SysWMinfo would provide an obvious enough solution?