[MacPorts] #15130: py-game 1.8.0 build failure on Tiger,
error in SDL_syswm.h
MacPorts
trac at macosforge.org
Fri May 2 00:14:57 PDT 2008
#15130: py-game 1.8.0 build failure on Tiger, error in SDL_syswm.h
-------------------------------+--------------------------------------------
Reporter: jmr at macports.org | Owner: macports-tickets at lists.macosforge.org
Type: defect | Status: new
Priority: Normal | Milestone: Port Bugs
Component: ports | Version:
Resolution: | Keywords: pygame SDL 10.4
-------------------------------+--------------------------------------------
Comment (by afb at macports.org):
Seems like the error message was cut off, for not running the original
build with port -d.
Here's what I get when I remove the /usr/X11R6/include headers before
trying to build py-game:
{{{
In file included from src/display.c:29:
/opt/local/include/SDL/SDL_syswm.h:55:22: error: X11/Xlib.h: No such file
or directory
/opt/local/include/SDL/SDL_syswm.h:56:23: error: X11/Xatom.h: No such file
or directory
In file included from src/display.c:29:
/opt/local/include/SDL/SDL_syswm.h:73: error: parse error before 'XEvent'
/opt/local/include/SDL/SDL_syswm.h:73: warning: no semicolon at end of
struct or union
/opt/local/include/SDL/SDL_syswm.h:73: warning: no semicolon at end of
struct or union
/opt/local/include/SDL/SDL_syswm.h:74: warning: type defaults to 'int' in
declaration of 'event'
/opt/local/include/SDL/SDL_syswm.h:74: warning: data definition has no
type or storage class
/opt/local/include/SDL/SDL_syswm.h:75: error: parse error before '}' token
/opt/local/include/SDL/SDL_syswm.h:86: error: parse error before 'Display'
/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: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
}}}
--
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/15130#comment:3>
MacPorts </projects/macports>
Ports system for Mac OS
More information about the macports-tickets
mailing list