More information (I just realised I hit send without ANY useful information :-) - gcc version 4.0.1 (Apple Computer, Inc. build 5341) - XCode 2.3 - The only other Darwin packages I have installed are Python 2.4 and everything that py-game depends on - PowerPC If I've omitted anything important, plase let me know. --Jon On 12/09/06, Jon Atkinson <jon@jonatkinson.org> wrote:
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