Hi All,
First ticket, apologies if I screw it up :).
Attempting to install frozenbubble2 2.1.0, installing dependency libsdl_gfx-framework 2.0.16 - build fails
Full text of the error:
$ sudo port install frozenbubble2
---> Building libsdl_gfx-framework
Error: Target org.macports.build returned: shell command "cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libsdl_gfx-framework/work/SDL_gfx-2.0.16" && xcodebuild -target "SDL_gfx" -configuration Deployment build OBJROOT=build/ SYMROOT=build/ " returned error 1
Command output: SDL_framerate.c:21: error: 'manager' undeclared (first use in this function)
SDL_framerate.c:21: error: (Each undeclared identifier is reported only once
SDL_framerate.c:21: error: for each function it appears in.)
SDL_framerate.c:24: warning: implicit declaration of function 'SDL_GetTicks'
SDL_framerate.c: At top level:
SDL_framerate.c:31: error: syntax error before '*' token
SDL_framerate.c: In function 'SDL_setFramerate':
SDL_framerate.c:34: error: 'manager' undeclared (first use in this function)
SDL_framerate.c: At top level:
SDL_framerate.c:47: error: syntax error before '*' token
SDL_framerate.c: In function 'SDL_getFramerate':
SDL_framerate.c:49: error: 'manager' undeclared (first use in this function)
SDL_framerate.c:49: error: 'NULL' undeclared (first use in this function)
SDL_framerate.c: At top level:
SDL_framerate.c:60: error: syntax error before '*' token
SDL_framerate.c: In function 'SDL_framerateDelay':
SDL_framerate.c:62: error: 'Uint32' undeclared (first use in this function)
SDL_framerate.c:62: error: syntax error before 'current_ticks'
SDL_framerate.c:69: error: 'manager' undeclared (first use in this function)
SDL_framerate.c:74: error: 'current_ticks' undeclared (first use in this function)
SDL_framerate.c:75: error: 'target_ticks' undeclared (first use in this function)
SDL_framerate.c:78: error: 'the_delay' undeclared (first use in this function)
SDL_framerate.c:79: warning: implicit declaration of function 'SDL_Delay'
CompileC /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libsdl_gfx-framework/work/SDL_gfx-2.0.16/build/SDL_gfx.build/Deployment/SDL_gfx.build/Objects-normal/i386/SDL_gfxPrimitives.o SDL_gfxPrimitives.c
/Developer/usr/bin/gcc-4.0 -c -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libsdl_gfx-framework/work/SDL_gfx-2.0.16/build/SDL_gfx.build/Deployment/SDL_gfx.build/SDL_gfx.hmap -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libsdl_gfx-framework/work/SDL_gfx-2.0.16/build/Deployment -F/Library/Frameworks -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libsdl_gfx-framework/work/SDL_gfx-2.0.16/build/Deployment/include -I/Library/Frameworks/SDL.framework/Versions/A/Headers -arch i386 -fno-common -fpascal-strings -O3 -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -pipe "-fmessage-length=0" -g SDL_gfxPrimitives.c -o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libsdl_gfx-framework/work/SDL_gfx-2.0.16/build/SDL_gfx.build/Deployment/SDL_gfx.build/Objects-normal/i386/SDL_gfxPrimitives.o
CompileC /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libsdl_gfx-framework/work/SDL_gfx-2.0.16/build/SDL_gfx.build/Deployment/SDL_gfx.build/Objects-normal/i386/SDL_gfxPrimitives.o
...failed CompileC /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libsdl_gfx-framework/work/SDL_gfx-2.0.16/build/SDL_gfx.build/Deployment/SDL_gfx.build/Objects-normal/i386/SDL_framerate.o ...
** BUILD FAILED **
Error: The following dependencies failed to build: p5-sdl_perl libsdl_gfx-framework libsdl_image-framework libsdl_mixer-framework libsdl_net-framework libsdl_ttf-framework p5-module-build p5-archive-tar p5-io-zlib p5-compress-zlib p5-compress-raw-zlib p5-io-compress-base p5-io-compress-zlib p5-extutils-cbuilder p5-extutils-parsexs p5-version p5-yaml
Error: Status 1 encountered during processing.
Not sure if it matters, but machine is a fairly new Leopard Box with 10.5.2 and all other updates installed.
It looks to me to be an actual syntax error in the c code, but I really have no idea... I have run port selfupdate, and sync without any changes. I have other stuff built from MacPorts working fine (Ruby/Postgres/etc.).
Ideas/Pointers/etc. appreciated.
THANKS in advance :).