py-game build failure

Jon Atkinson jon at
Tue Sep 12 02:18:19 PDT 2006


I'm trying to build py-game, and the build is failing with the following error:

powerbook:~ jonathan$ sudo port install py-game
--->  Building py-game with target build
Error: Target returned: shell command "cd
&& /opt/local/bin/python2.4 build" returned error 1
Command output: Using Darwin configuration...

running build
running build_py
running build_ext
building 'pygame.display' extension
/usr/bin/gcc-4.0 -fno-strict-aliasing -Wno-long-double -no-cpp-precomp
-mno-fused-madd -fno-common -fno-common -dynamic -DNDEBUG -g -O3 -Wall
-Wstrict-prototypes -Ddarwin -I/opt/local/include/SDL
-I/opt/local/include/python2.4 -c src/display.c -o
src/display.c: In function 'get_wm_info':
src/display.c:432: error: 'SDL_SysWMinfo' has no member named 'data'
error: command '/usr/bin/gcc-4.0' failed with exit status 1

Error: Status 1 encountered during processing.

Any ideas how to proceed building this package?


More information about the macports-users mailing list