Opened 15 years ago

Closed 15 years ago

#22166 closed defect (fixed)

freeciv fails to build

Reported by: francesco086@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: Cc:
Port: freeciv

Description

Hi,

I have a macbook pro (early 2008) with snow leopard. When I tried to install freeciv it gives me this error:

--->  Fetching freeciv
Please note that this port conflicts with port:freeciv-x11.
--->  Attempting to fetch freeciv-2.1.9.tar.bz2 from http://garr.dl.sourceforge.net/freeciv
--->  Verifying checksum(s) for freeciv
--->  Extracting freeciv
--->  Configuring freeciv
--->  Building freeciv
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_games_freeciv/work/freeciv-2.1.9" && /usr/bin/make -j2 all " returned error 2
Command output: ar cru libcivserver.a airgoto.o auth.o barbarian.o cityhand.o citytools.o cityturn.o commands.o connecthand.o console.o diplhand.o diplomats.o gamehand.o gotohand.o ggzserver.o handchat.o hand_gen.o maphand.o meta.o plrhand.o report.o ruleset.o sanitycheck.o savegame.o score.o sernet.o settings.o settlers.o spacerace.o srv_main.o stdinhand.o techtools.o unithand.o unittools.o 
ranlib: file: libcivserver.a(ggzserver.o) has no symbols
ranlib: file: libcivserver.a(sanitycheck.o) has no symbols
ranlib libcivserver.a
ranlib: file: libcivserver.a(ggzserver.o) has no symbols
ranlib: file: libcivserver.a(sanitycheck.o) has no symbols
/usr/bin/gcc-4.2  -Wall -Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations -O2 -arch x86_64  -L/opt/local/lib -o civserver  civserver.o ../utility/libcivutility.a ../common/libcivcommon.a ../ai/libcivai.a ../utility/libcivutility.a ./libcivserver.a -lintl -liconv ../utility/libcivutility.a ../common/libcivcommon.a ../ai/libcivai.a ../utility/libcivutility.a ./libcivserver.a ../utility/libcivutility.a ../common/aicore/libaicore.a ./generator/libgenerator.a ./scripting/libscripting.a ../dependencies/lua/src/liblua.a ../dependencies/lua/src/lib/liblualib.a ../dependencies/tolua/libtolua.a  -lreadline     -lz  -liconv
Making all in client
Making all in gui-sdl
source='SDL_rotozoom.c' object='SDL_rotozoom.o' libtool=no \
	depfile='.deps/SDL_rotozoom.Po' tmpdepfile='.deps/SDL_rotozoom.TPo' \
	depmode=gcc3 /bin/sh ../../bootstrap/depcomp \
	/usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I. -I../..  -I./.. -I./../include -I../../utility -I../../common -I../../common/aicore -I../../intl -I./../agents -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include -DLOCALEDIR="\"/opt/local/share/locale\"" -DDEFAULT_DATA_PATH="\".:data:~/.freeciv:/opt/local/share/freeciv\""  -Wall -Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations -O2 -arch x86_64 -c `test -f 'SDL_rotozoom.c' || echo './'`SDL_rotozoom.c
source='SDL_ttf.c' object='SDL_ttf.o' libtool=no \
	depfile='.deps/SDL_ttf.Po' tmpdepfile='.deps/SDL_ttf.TPo' \
	depmode=gcc3 /bin/sh ../../bootstrap/depcomp \
	/usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I. -I../..  -I./.. -I./../include -I../../utility -I../../common -I../../common/aicore -I../../intl -I./../agents -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include -DLOCALEDIR="\"/opt/local/share/locale\"" -DDEFAULT_DATA_PATH="\".:data:~/.freeciv:/opt/local/share/freeciv\""  -Wall -Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations -O2 -arch x86_64 -c `test -f 'SDL_ttf.c' || echo './'`SDL_ttf.c
SDL_rotozoom.c: In function 'transformSurfaceY':
SDL_rotozoom.c:512: error: 'SDL_PixelFormat' has no member named 'colorkey'
SDL_rotozoom.c:512: error: 'SDL_PixelFormat' has no member named 'colorkey'
SDL_rotozoom.c: In function 'rotozoomSurfaceXY':
SDL_rotozoom.c:736: error: 'SDL_PixelFormat' has no member named 'colorkey'
SDL_rotozoom.c:804: error: 'SDL_PixelFormat' has no member named 'colorkey'
SDL_rotozoom.c: In function 'zoomSurface':
SDL_rotozoom.c:954: error: 'SDL_PixelFormat' has no member named 'colorkey'
make[3]: *** [SDL_rotozoom.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Error: Status 1 encountered during processing.

Change History (3)

comment:1 Changed 15 years ago by mf2k (Frank Schima)

Keywords: freeciv snow removed
Owner: changed from macports-tickets@… to blb@…

comment:2 Changed 15 years ago by blb@…

Owner: changed from blb@… to macports-tickets@…

comment:3 Changed 15 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed
Summary: freecivfreeciv fails to build
Note: See TracTickets for help on using tickets.