On May 26, 2007, at 11:09, Antoine wrote:
I have a failure when trying to compile libsdl:
$ sudo port install libsdl ---> Building libsdl with target all 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_devel_libsdl/work/SDL-1.2.11" && make all " returned error 2 Command output: ./include/SDL_opengl.h:6527: error: parse error before 'n' ./include/SDL_opengl.h:6528: error: parse error before '*' token ./include/SDL_opengl.h:6528: error: parse error before 'target' ./include/SDL_opengl.h:6528: error: 'GLenum' declared as function returning a function ./include/SDL_opengl.h:6542: error: parse error before 'len'
[snip] libsdl installs just fine for me on a MacBook Pro with Mac OS X 10.4.9, Xcode 2.4.1 and MacPorts 1.4.42. What computer, OS version, Xcode version and MacPorts version do you have? If your software is out of date, update it and try again.