py-game build failure

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


Hi,

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

powerbook:~ jonathan$ sudo port install py-game
Password:
--->  Building py-game with target build
Error: Target com.apple.build returned: shell command "cd
"/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_python_py-game/work/pygame-1.7.1release"
&& /opt/local/bin/python2.4 setup.py 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/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4
-I/opt/local/include/python2.4 -c src/display.c -o
build/temp.darwin-8.7.0-Power_Macintosh-2.4/src/display.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?

--Jon



More information about the macports-users mailing list