Opened 17 years ago

Closed 17 years ago

Last modified 16 years ago

#12425 closed defect (fixed)

py-game 1.7.1 does not build on OS X 10.4.10

Reported by: MartinBuchmann (Martin Buchmann) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: jmroot (Joshua Root)
Port:

Description

Hi,

I think this has been reported before and there was a ticket which I could not find anymore so I decided to repost this, because I am still having trouble with it. I hope this does not cause troble somehow.

I tried to install the py-game port on my MacBook (Intel) but building fails. I had no problem building it on my PowerMac G5 (ppc). I am not that fluent in C that I can decide what's wrong here. Maybe someone else can give me a hint.

Best regards

Martin

---> Building py-game with target build Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py-game/work/pygame-1.7.1release" && /opt/local/bin/python2.4 setup.py build " returned error 1 Command output: /opt/local/include/SDL/SDL_syswm.h:86: warning: no semicolon at end of struct or union /opt/local/include/SDL/SDL_syswm.h:86: warning: no semicolon at end of struct or union /opt/local/include/SDL/SDL_syswm.h:87: warning: type defaults to 'int' in declaration of 'window' /opt/local/include/SDL/SDL_syswm.h:87: warning: data definition has no type or storage class /opt/local/include/SDL/SDL_syswm.h:98: error: parse error before 'fswindow' /opt/local/include/SDL/SDL_syswm.h:98: warning: type defaults to 'int' in declaration of 'fswindow' /opt/local/include/SDL/SDL_syswm.h:98: warning: data definition has no type or storage class /opt/local/include/SDL/SDL_syswm.h:99: error: parse error before 'wmwindow' /opt/local/include/SDL/SDL_syswm.h:99: warning: type defaults to 'int' in declaration of 'wmwindow' /opt/local/include/SDL/SDL_syswm.h:99: warning: data definition has no type or storage class /opt/local/include/SDL/SDL_syswm.h:102: error: parse error before '*' token /opt/local/include/SDL/SDL_syswm.h:102: warning: type defaults to 'int' in declaration of 'gfxdisplay' /opt/local/include/SDL/SDL_syswm.h:102: warning: data definition has no type or storage class /opt/local/include/SDL/SDL_syswm.h:103: error: parse error before '}' token /opt/local/include/SDL/SDL_syswm.h:103: warning: type defaults to 'int' in declaration of 'x11' /opt/local/include/SDL/SDL_syswm.h:103: warning: data definition has no type or storage class /opt/local/include/SDL/SDL_syswm.h:104: error: parse error before '}' token /opt/local/include/SDL/SDL_syswm.h:104: warning: type defaults to 'int' in declaration of 'info' /opt/local/include/SDL/SDL_syswm.h:104: warning: data definition has no type or storage class /opt/local/include/SDL/SDL_syswm.h:105: error: parse error before '}' token /opt/local/include/SDL/SDL_syswm.h:105: warning: type defaults to 'int' in declaration of 'SDL_SysWMinfo' /opt/local/include/SDL/SDL_syswm.h:105: warning: data definition has no type or storage class /opt/local/include/SDL/SDL_syswm.h:205: error: parse error before '*' token /opt/local/include/SDL/SDL_syswm.h:205: warning: function declaration isn't a prototype src/display.c: In function 'get_wm_info': src/display.c:400: error: parse error before 'info' src/display.c:407: error: request for member 'version' in something not a structure or union src/display.c:407: error: request for member 'version' in something not a structure or union src/display.c:407: error: request for member 'version' in something not a structure or union error: command '/usr/bin/gcc-4.0' failed with exit status 1

Error: Status 1 encountered during processing.

Change History (5)

comment:1 Changed 17 years ago by nox@…

Milestone: Port Bugs
Version: 1.5.0

comment:2 Changed 17 years ago by jmroot (Joshua Root)

Cc: jmr@… added

Does this still happen with the latest version of libsdl?

comment:3 Changed 17 years ago by MartinBuchmann (Martin Buchmann)

No, this is fine now for me.

comment:4 Changed 17 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed

comment:5 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.