Unable to upgrade bzflag (Intel, Mac OS X 10.4.9)

Takashi Yoshida tyoshida at mac.com
Thu Apr 12 10:41:56 PDT 2007


Did anyone successfully _upgraded_ bzflag to 2.0.8_1?

I'm getting the following errors.

/usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I../../../include -I/opt/ 
local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I../../../src/ 
platform -pipe -pedantic -fno-exceptions -W -Wall -Wundef -Wno-import  
-g -O2 -pipe -pedantic -fno-exceptions -W -Wall -Wundef -Wno-import - 
O3 -c SDLMain.m -o SDLMain.o
In file included from SDLMain.h:8,
                  from SDLMain.m:8:
../../../include/common.h:223:1: warning: "isnan" redefined
In file included from /usr/include/math.h:28,
                  from ../../../include/common.h:36,
                  from SDLMain.h:8,
                  from SDLMain.m:8:
/usr/include/architecture/i386/math.h:157:1: warning: this is the  
location of the previous definition
In file included from SDLMain.m:8:
SDLMain.h:10:21: error: SDL/SDL.h: No such file or directory
In file included from SDLMain.m:8:
SDLMain.h:14: warning: struct has no named members
SDLMain.m:61: warning: struct has no named members
SDLMain.m: In function '-[SDLApplication terminate:]':
SDLMain.m:68: error: 'SDL_Event' undeclared (first use in this function)
SDLMain.m:68: error: (Each undeclared identifier is reported only once
SDLMain.m:68: error: for each function it appears in.)
SDLMain.m:68: error: parse error before 'event'
SDLMain.m:69: error: 'event' undeclared (first use in this function)
SDLMain.m:69: error: 'SDL_QUIT' undeclared (first use in this function)
SDLMain.m:70: warning: implicit declaration of function 'SDL_PushEvent'
SDLMain.m:66: warning: unused parameter 'sender'
SDLMain.m: In function '-[SDLMain setupWorkingDirectory:]':
SDLMain.m:85: warning: pointer targets in passing argument 3 of  
'CFURLGetFileSystemRepresentation' differ in signedness
SDLMain.m: In function 'setApplicationMenu':
SDLMain.m:158: warning: no '-setAppleMenu:' method found
SDLMain.m:158: warning: (Messages without a matching method signature
SDLMain.m:158: warning: will be assumed to return 'id' and accept
SDLMain.m:158: warning: '...' as arguments.)
SDLMain.m: In function 'CustomApplicationMain':
SDLMain.m:194: warning: type of 'argc' defaults to 'int'
SDLMain.m:194: warning: type of 'argv' defaults to 'int'
SDLMain.m:194: warning: unused parameter 'argc'
SDLMain.m:194: warning: unused parameter 'argv'
SDLMain.m: In function '-[SDLMain application:openFile:]':
SDLMain.m:254: warning: ISO C90 forbids mixed declarations and code
SDLMain.m:259: warning: ISO C90 forbids mixed declarations and code
SDLMain.m:267: warning: ISO C90 forbids mixed declarations and code
SDLMain.m:247: warning: unused parameter 'theApplication'
SDLMain.m: In function '-[SDLMain applicationDidFinishLaunching:]':
SDLMain.m:294: warning: implicit declaration of function 'SDL_main'
SDLMain.m:281: warning: unused parameter 'note'
make[3]: *** [SDLMain.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
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_dp 
orts_games_bzflag/work/bzflag-2.0.8" && make all" returned error 2
Command output: SDLMain.m:68: error: for each function it appears in.)
SDLMain.m:68: error: parse error before 'event'
SDLMain.m:69: error: 'event' undeclared (first use in this function)
SDLMain.m:69: error: 'SDL_QUIT' undeclared (first use in this function)
SDLMain.m:70: warning: implicit declaration of function 'SDL_PushEvent'
SDLMain.m:66: warning: unused parameter 'sender'
SDLMain.m: In function '-[SDLMain setupWorkingDirectory:]':
SDLMain.m:85: warning: pointer targets in passing argument 3 of  
'CFURLGetFileSystemRepresentation' differ in signedness
SDLMain.m: In function 'setApplicationMenu':
SDLMain.m:158: warning: no '-setAppleMenu:' method found
SDLMain.m:158: warning: (Messages without a matching method signature
SDLMain.m:158: warning: will be assumed to return 'id' and accept
SDLMain.m:158: warning: '...' as arguments.)
SDLMain.m: In function 'CustomApplicationMain':
SDLMain.m:194: warning: type of 'argc' defaults to 'int'
SDLMain.m:194: warning: type of 'argv' defaults to 'int'
SDLMain.m:194: warning: unused parameter 'argc'
SDLMain.m:194: warning: unused parameter 'argv'
SDLMain.m: In function '-[SDLMain application:openFile:]':
SDLMain.m:254: warning: ISO C90 forbids mixed declarations and code
SDLMain.m:259: warning: ISO C90 forbids mixed declarations and code
SDLMain.m:267: warning: ISO C90 forbids mixed declarations and code
SDLMain.m:247: warning: unused parameter 'theApplication'
SDLMain.m: In function '-[SDLMain applicationDidFinishLaunching:]':
SDLMain.m:294: warning: implicit declaration of function 'SDL_main'
SDLMain.m:281: warning: unused parameter 'note'
make[3]: *** [SDLMain.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1

Warning: the following items did not execute (for bzflag):  
com.apple.destroot com.apple.build
DEBUG: Registry error: XFree86 not registered as installed.
     invoked from within
"registry_installed ${portname}"
     invoked from within
"$workername eval registry_installed \${portname}"
Error: Unable to upgrade port: 1


I already have X11 and X11 SDK installed (before I installed the  
older version of bzflag) so I'm not sure about this 'XFree86 not  
registered as installed' message. Is XFree86 required? But I don't  
see it as part of dependencies and and if it was there, shouldn't  
MacPorts automatically install it for me during the bzflag  
installation process?

Let me know if you are able to upgrade from old version.

--
Takashi Yoshida
tyoshida [at] mac [dot] com



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20070413/a341324d/attachment.html


More information about the macports-users mailing list