LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-22-2006, 04:29 PM   #1
Tear Syden
LQ Newbie
 
Registered: Mar 2006
Posts: 20

Rep: Reputation: 0
Having Trouble Compiling in FC5


I'm currently trying to compile freeciv 2.0.8 in Fedora Core 5. I just installed FC5 and its great, but I need some help with this.

This is what I'm doing and this is what's happening:

tar zxvf freeciv-2.0.8.tar.gz

It extracts the files.

cd freeciv-2.0.8

Change directory.

./configure

Code:
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for gawk... (cached) gawk
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... gcc -E
checking whether ln -s works... yes
checking for ranlib... ranlib
checking for ar... ar
checking for uname... uname
checking for iconv... yes
checking for iconv declaration...
         extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for libcharset... no
checking for nl_langinfo and CODESET... yes
checking for strerror in -lcposix... no
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for off_t... yes
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking whether we are using the GNU C Library 2.1 or newer... yes
checking argz.h usability... yes
checking argz.h presence... yes
checking for argz.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking nl_types.h usability... yes
checking nl_types.h presence... yes
checking for nl_types.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for feof_unlocked... yes
checking for fgets_unlocked... yes
checking for getcwd... yes
checking for getegid... yes
checking for geteuid... yes
checking for getgid... yes
checking for getuid... yes
checking for mempcpy... yes
checking for munmap... yes
checking for putenv... yes
checking for setenv... yes
checking for setlocale... yes
checking for stpcpy... yes
checking for strchr... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for strtoul... yes
checking for tsearch... yes
checking for __argz_count... yes
checking for __argz_stringify... yes
checking for __argz_next... yes
checking for iconv... (cached) yes
checking for iconv declaration... (cached)
         extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for nl_langinfo and CODESET... (cached) yes
checking for LC_MESSAGES... yes
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for GNU gettext in libc... yes
checking for dcgettext... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for bison... bison
checking version of bison... 2.1, ok
checking for catalogs to be installed...  ca cs da de en_GB es et fi fr he_IL hu it ja nl nb no pl pt pt_BR ro ru sv uk
checking for ngettext in -lc... yes
checking whether libc's ngettext works at runtime... yes
checking for C99 variadic macros... yes
checking for C99 variable arrays... yes
checking for gzgets in -lz... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
configure: checking for which client to compile:...
checking for pkg-config... /usr/bin/pkg-config
checking for GTK+ - version >= 2.2.1... no
*** Could not run GTK+ test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GTK+ is incorrectly installed.
checking for gtk-config... no
checking for gtk12-config... no
checking for gtk13-config... no
checking for GTK - version >= 1.2.5... no
*** The gtk-config script installed by GTK could not be found
*** If GTK was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GTK_CONFIG environment variable to the
*** full path to gtk-config.
configure: WARNING: Not checking for SDL; use --enable-client=sdl to enable
checking whether Xfuncproto was supplied... no
checking for compilable FUNCPROTO definition... yes, determined: 15
checking for workable NARROWPROTO definition... no, cannot determine
checking whether Xfuncproto was determined... yes:  FUNCPROTO=15
configure: WARNING: Not checking for XAW; use --enable-client=xaw to enable
configure: error: could not guess which client to compile
 
Old 04-22-2006, 04:30 PM   #2
Tear Syden
LQ Newbie
 
Registered: Mar 2006
Posts: 20

Original Poster
Rep: Reputation: 0
Continued...

So I take its advice...
./configure --enable-client=sdl --enable-client=xaw
(I skipped the first bit of output...)

Code:
(^^^Same as before^^^)
.
.
.
checking for catalogs to be installed...  ca cs da de en_GB es et fi fr he_IL hu it ja nl nb no pl pt pt_BR ro ru sv uk
checking for ngettext in -lc... yes
checking whether libc's ngettext works at runtime... yes
checking for C99 variadic macros... yes
checking for C99 variable arrays... yes
checking for gzgets in -lz... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking whether Xfuncproto was supplied... no
checking for compilable FUNCPROTO definition... yes, determined: 15
checking for workable NARROWPROTO definition... no, cannot determine
checking whether Xfuncproto was determined... yes:  FUNCPROTO=15
checking for X... libraries , headers in standard search path
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... no
checking for Xfuncproto control definition FUNCPROTO... yes: 15
checking for Xfuncproto control definition NARROWPROTO... no
checking for png_read_image in -lpng... yes
checking png.h usability... yes
checking png.h presence... yes
checking for png.h... yes
checking extra paths for Xpm... library no, include no
checking for XOpenDisplay in X library -lX11... yes
checking for XShapeCombineMask in X library -lXext... yes
checking for main in X library -lXt... no
checking for main in X library -lXmu... yes
checking for XpmReadFileToPixmap in X library -lXpm... yes
checking for main in X library -lXaw... yes
checking for esd-config... no
checking for ESD - version >= 0.0.20... no
*** The esd-config script installed by ESD could not be found
*** If ESD was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the ESD_CONFIG environment variable to the
*** full path to esd-config.
checking for sdl-config... /usr/bin/sdl-config
checking for SDL - version >= 1.0.0... yes
checking SDL/SDL_mixer.h usability... no
checking SDL/SDL_mixer.h presence... no
checking for SDL/SDL_mixer.h... no
checking for Mix_OpenAudio in -lSDL_mixer... no
checking building SDL_mixer support... no, install SDL_mixer first: http://www.libsdl.org/projects/SDL_mixer/index.html
checking for ALSA version... >= 1.0
checking for Audio File Library version... no
checking for gethostbyaddr in -lbind... yes
checking readline/readline.h usability... no
checking readline/readline.h presence... no
checking for readline/readline.h... no
configure: WARNING: Did not find readline header file.
Configuring server without readline support.
checking for pow... no
checking for pow in -lm... yes
checking for main in -lnls... no
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for sys/types.h... (cached) yes
checking for unistd.h... (cached) yes
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking stdbool.h usability... yes
checking stdbool.h presence... yes
checking for stdbool.h... yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking for libintl.h... (cached) yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/signal.h usability... yes
checking sys/signal.h presence... yes
checking for sys/signal.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/termio.h usability... no
checking sys/termio.h presence... no
checking for sys/termio.h... no
checking sys/uio.h usability... yes
checking sys/uio.h presence... yes
checking for sys/uio.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking X11/xpm.h usability... yes
checking X11/xpm.h presence... yes
checking for X11/xpm.h... yes
checking for an ANSI C-conforming const... (cached) yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for socklen_t... yes
checking return type of signal handlers... void
checking for pid_t... yes
checking for unistd.h... (cached) yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for working strcoll... yes
checking for vprintf... yes
checking for _doprnt... no
checking for working vsnprintf... yes
checking for fileno... yes
checking for ftime... yes
checking for gethostname... yes
checking for getpwuid... yes
checking for inet_aton... yes
checking for select... yes
checking for snooze... no
checking for strerror... yes
checking for strcasecmp... (cached) yes
checking for strncasecmp... yes
checking for strlcat... no
checking for strlcpy... no
checking for strstr... yes
checking for usleep... yes
checking for vsnprintf... yes
checking for uname... yes
checking for flock... yes
checking for gethostbyname... (cached) yes
checking for connect... (cached) yes
checking for bind... yes
checking for working gettimeofday... yes
checking for fdopen... yes
checking for fcntl... yes
checking for SIGPIPE... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating data/Makefile
config.status: creating data/flags/Makefile
config.status: creating data/misc/Makefile
config.status: creating data/trident/Makefile
config.status: creating data/isophex/Makefile
config.status: creating data/isotrident/Makefile
config.status: creating data/default/Makefile
config.status: creating data/civ1/Makefile
config.status: creating data/civ2/Makefile
config.status: creating data/scenario/Makefile
config.status: creating data/nation/Makefile
config.status: creating data/history/Makefile
config.status: creating utility/Makefile
config.status: creating utility/ftwl/Makefile
config.status: creating common/Makefile
config.status: creating common/aicore/Makefile
config.status: creating ai/Makefile
config.status: creating tests/Makefile
config.status: creating client/Makefile
config.status: creating client/agents/Makefile
config.status: creating client/include/Makefile
config.status: creating client/gui-sdl/Makefile
config.status: creating client/gui-gtk/Makefile
config.status: creating client/gui-gtk-2.0/Makefile
config.status: creating client/gui-xaw/Makefile
config.status: creating client/gui-win32/Makefile
config.status: creating client/gui-ftwl/Makefile
config.status: creating client/gui-stub/Makefile
config.status: creating server/Makefile
config.status: creating server/generator/Makefile
config.status: creating manual/Makefile
config.status: creating intl/Makefile
config.status: creating po/Makefile.in
config.status: creating doc/Makefile
config.status: creating doc/man/Makefile
config.status: creating doc/de/Makefile
config.status: creating doc/fr/Makefile
config.status: creating doc/it/Makefile
config.status: creating doc/ja/Makefile
config.status: creating doc/nl/Makefile
config.status: creating doc/sv/Makefile
config.status: creating freeciv.spec
config.status: creating bootstrap/undep.sh
config.status: creating data/Freeciv
config.status: creating client/freeciv.desktop
config.status: creating civ
config.status: creating ser
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing default-1 commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
config.status: executing fc_default-1 commands
extending po/Makefile
config.status: executing fc_default-2 commands
silencing po/Makefile
config.status: executing fc_default-4 commands
modifying po/Makefile add-comments/escape
config.status: executing fc_default-5 commands
config.status: executing default commands
 
Old 04-22-2006, 04:32 PM   #3
Tear Syden
LQ Newbie
 
Registered: Mar 2006
Posts: 20

Original Poster
Rep: Reputation: 0
Continued... more

So then I try make.

make

Code:
(Too much code to paste in here, but the end looks like this...)

.
.
.
echo '/**************************************************/' > Freeciv.h
echo '/* DO NOT EDIT THIS FILE, EDIT ../../data/Freeciv */' >> Freeciv.h
echo '/**************************************************/' >> Freeciv.h
./ad2c ../../data/Freeciv >> Freeciv.h
make  all-am
make[4]: Entering directory `/home/user/freeciv-2.0.8/client/gui-xaw'
if gcc -DHAVE_CONFIG_H -I. -I. -I../..  -I. -I./.. -I./../include -I../../utility -I../../common -I../../intl -I../../common/aicore -I../../intl -I./../agents   -g -O2 -Wall -Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations -MT actions.o -MD -MP -MF ".deps/actions.Tpo" -c -o actions.o actions.c; \
then mv -f ".deps/actions.Tpo" ".deps/actions.Po"; else rm -f ".deps/actions.Tpo"; exit 1; fi
In file included from actions.c:21:
chatline.h:16:27: error: X11/Intrinsic.h: No such file or directory
In file included from actions.c:21:
chatline.h:21: error: expected ‘)’ before ‘w’
In file included from actions.c:22:
citydlg.h:17:28: error: X11/StringDefs.h: No such file or directory
In file included from actions.c:22:
citydlg.h:22: error: expected ‘)’ before ‘w’
citydlg.h:23: error: expected ‘)’ before ‘w’
citydlg.h:24: error: expected ‘)’ before ‘w’
In file included from actions.c:23:
cityrep.h:22: error: expected ‘)’ before ‘w’
In file included from actions.c:25:
connectdlg.h:21: error: expected ‘)’ before ‘w’
In file included from actions.c:27:
dialogs.h:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘popup_message_dialog’
dialogs.h:25: error: expected ‘)’ before ‘button’
dialogs.h:28: error: expected ‘)’ before ‘w’
dialogs.h:32: error: expected ‘)’ before ‘w’
dialogs.h:34: error: expected ‘)’ before ‘w’
dialogs.h:37: error: expected ‘)’ before ‘w’
In file included from actions.c:28:
diplodlg.h:21: error: expected ‘)’ before ‘w’
In file included from actions.c:31:
gui_main.h:21: error: expected ‘)’ before ‘*’ token
gui_main.h:25: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘wm_delete_window’
gui_main.h:26: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
gui_main.h:29: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘civ_gc’
gui_main.h:30: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘border_line_gc’
gui_main.h:31: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘fill_bg_gc’
gui_main.h:32: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘fill_tile_gc’
gui_main.h:33: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘font_gc’
gui_main.h:34: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘prod_font_gc’
gui_main.h:35: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘gray50’
gui_main.h:36: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘gray25’
gui_main.h:38: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘map_vertical_scrollbar’
gui_main.h:39: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘map_horizontal_scrollbar’
gui_main.h:40: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘left_column_form’
gui_main.h:41: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘menu_form’
gui_main.h:42: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘below_menu_form’
gui_main.h:43: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘bottom_form’
gui_main.h:44: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘map_form’
gui_main.h:45: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘map_canvas’
gui_main.h:46: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘overview_canvas’
gui_main.h:47: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘econ_label’
gui_main.h:48: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘bulb_label’
gui_main.h:49: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘sun_label’
gui_main.h:50: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘flake_label’
gui_main.h:51: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘government_label’
gui_main.h:52: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘timeout_label’
gui_main.h:53: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘unit_info_label’
gui_main.h:54: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘turn_done_button’
gui_main.h:55: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘info_command’
gui_main.h:56: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘toplevel’
gui_main.h:57: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘main_form’
gui_main.h:58: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘root_window’
gui_main.h:59: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘inputline_text’
gui_main.h:60: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘outputwindow_text’
gui_main.h:61: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘main_font_set’
gui_main.h:62: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘prod_font_set’
gui_main.h:63: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘app_context’
In file included from actions.c:32:
helpdlg.h:21: error: expected ‘)’ before ‘w’
In file included from actions.c:33:
inputdlg.h:20: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘input_dialog_create’
inputdlg.h:27: error: expected ‘)’ before ‘button’
inputdlg.h:28: error: expected ‘)’ before ‘button’
inputdlg.h:30: error: expected ‘)’ before ‘w’
In file included from actions.c:34:
mapctrl.h:21: error: expected ‘)’ before ‘*’ token
mapctrl.h:23: error: expected ‘)’ before ‘*’ token
mapctrl.h:24: error: expected ‘)’ before ‘*’ token
mapctrl.h:25: error: expected ‘)’ before ‘*’ token
In file included from actions.c:35:
menu.h:141: error: expected ‘)’ before ‘parent_form’
In file included from actions.c:36:
messagewin.h:22: error: expected ‘)’ before ‘w’
In file included from actions.c:37:
plrdlg.h:22: error: expected ‘)’ before ‘w’
In file included from actions.c:38:
inteldlg.h:18: error: expected ‘)’ before ‘w’
inteldlg.h:19: error: expected ‘)’ before ‘w’
In file included from actions.c:40:
repodlgs.h:24: error: expected ‘)’ before ‘w’
repodlgs.h:25: error: expected ‘)’ before ‘w’
repodlgs.h:26: error: expected ‘)’ before ‘w’
In file included from actions.c:41:
spaceshipdlg.h:21: error: expected ‘)’ before ‘w’
spaceshipdlg.h:22: error: expected ‘)’ before ‘w’
In file included from actions.c:42:
wldlg.h:28: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘popup_worklist’
In file included from actions.c:44:
actions.h:19: error: expected ‘)’ before ‘app_context’
actions.c:49: error: expected ‘)’ before ‘w’
actions.c:55: error: expected ‘)’ before ‘w’
actions.c:60: error: expected ‘)’ before ‘w’
actions.c:65: error: expected ‘)’ before ‘w’
actions.c:70: error: expected ‘)’ before ‘w’
actions.c:75: error: expected ‘)’ before ‘w’
actions.c:80: error: expected ‘)’ before ‘w’
actions.c:85: error: expected ‘)’ before ‘w’
actions.c:90: error: expected ‘)’ before ‘w’
actions.c:95: error: expected ‘)’ before ‘w’
actions.c:100: error: expected ‘)’ before ‘w’
actions.c:105: error: expected ‘)’ before ‘w’
actions.c:110: error: expected ‘)’ before ‘w’
actions.c:115: error: expected ‘)’ before ‘w’
actions.c:120: error: expected ‘)’ before ‘w’
actions.c:125: error: expected ‘)’ before ‘w’
actions.c:130: error: expected ‘)’ before ‘w’
actions.c:135: error: expected ‘)’ before ‘w’
actions.c:140: error: expected ‘)’ before ‘w’
actions.c:145: error: expected ‘)’ before ‘w’
actions.c:150: error: expected ‘)’ before ‘w’
actions.c:158: error: expected ‘)’ before ‘w’
actions.c:164: error: expected ‘)’ before ‘w’
actions.c:169: error: expected ‘)’ before ‘w’
actions.c:174: error: expected ‘)’ before ‘w’
actions.c:179: error: expected ‘)’ before ‘w’
actions.c:184: error: expected ‘)’ before ‘w’
actions.c:189: error: expected ‘)’ before ‘w’
actions.c:194: error: expected ‘)’ before ‘w’
actions.c:199: error: expected ‘)’ before ‘w’
actions.c:204: error: expected ‘)’ before ‘w’
actions.c:211: error: expected ‘)’ before ‘w’
actions.c:218: error: expected ‘)’ before ‘w’
actions.c:228: error: expected ‘)’ before ‘w’
actions.c:237: error: expected ‘)’ before ‘w’
actions.c:244: error: expected ‘)’ before ‘w’
actions.c:251: error: expected ‘)’ before ‘w’
actions.c:261: error: expected ‘)’ before ‘w’
actions.c:273: error: expected ‘)’ before ‘w’
actions.c:282: error: expected ‘)’ before ‘w’
actions.c:289: error: expected ‘)’ before ‘w’
actions.c:299: error: expected ‘)’ before ‘w’
actions.c:311: error: expected ‘)’ before ‘w’
actions.c:323: error: expected ‘)’ before ‘w’
actions.c:333: error: expected ‘)’ before ‘w’
actions.c:345: error: expected ‘)’ before ‘w’
actions.c:357: error: expected ‘)’ before ‘w’
actions.c:366: error: expected ‘)’ before ‘w’
actions.c:380: error: expected ‘)’ before ‘w’
actions.c:386: error: expected ‘)’ before ‘w’
actions.c:392: error: expected ‘)’ before ‘w’
actions.c:398: error: expected ‘)’ before ‘w’
actions.c:412: error: expected ‘)’ before ‘w’
actions.c:418: error: expected ‘)’ before ‘w’
actions.c:424: error: expected ‘)’ before ‘w’
actions.c:430: error: expected ‘)’ before ‘w’
actions.c:436: error: expected ‘)’ before ‘w’
actions.c:442: error: expected ‘)’ before ‘w’
actions.c:448: error: expected ‘)’ before ‘w’
actions.c:454: error: expected ‘)’ before ‘w’
actions.c:460: error: expected ‘)’ before ‘w’
actions.c:466: error: expected ‘)’ before ‘w’
actions.c:480: error: expected ‘)’ before ‘w’
actions.c:486: error: expected ‘)’ before ‘w’
actions.c:492: error: expected ‘)’ before ‘w’
actions.c:498: error: expected ‘)’ before ‘w’
actions.c:504: error: expected ‘)’ before ‘w’
actions.c:510: error: expected ‘)’ before ‘w’
actions.c:516: error: expected ‘)’ before ‘w’
actions.c:522: error: expected ‘)’ before ‘w’
actions.c:536: error: expected ‘)’ before ‘w’
actions.c:542: error: expected ‘)’ before ‘w’
actions.c:548: error: expected ‘)’ before ‘w’
actions.c:554: error: expected ‘)’ before ‘w’
actions.c:560: error: expected ‘)’ before ‘w’
actions.c:577: error: expected ‘)’ before ‘w’
actions.c:588: error: expected ‘)’ before ‘w’
actions.c:599: error: expected ‘)’ before ‘w’
actions.c:610: error: expected ‘)’ before ‘w’
actions.c:621: error: expected ‘)’ before ‘w’
actions.c:633: error: expected ‘)’ before ‘w’
actions.c:644: error: expected ‘)’ before ‘w’
actions.c:655: error: expected ‘)’ before ‘w’
actions.c:663: error: expected ‘)’ before ‘w’
actions.c:668: error: expected ‘)’ before ‘w’
actions.c:673: error: expected ‘)’ before ‘w’
actions.c:678: error: expected ‘)’ before ‘w’
actions.c:683: error: expected ‘)’ before ‘w’
actions.c:688: error: expected ‘)’ before ‘w’
actions.c:693: error: expected ‘)’ before ‘w’
actions.c:699: error: expected ‘)’ before ‘w’
actions.c:705: error: expected ‘)’ before ‘w’
actions.c:710: error: expected ‘)’ before ‘w’
actions.c:715: error: expected ‘)’ before ‘w’
actions.c:720: error: expected ‘)’ before ‘w’
actions.c:728: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Actions’
actions.c:829: error: expected ‘)’ before ‘app_context’
make[4]: *** [actions.o] Error 1
make[4]: Leaving directory `/home/user/freeciv-2.0.8/client/gui-xaw'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/user/freeciv-2.0.8/client/gui-xaw'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/user/freeciv-2.0.8/client'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/user/freeciv-2.0.8'
make: *** [all] Error 2
 
Old 04-22-2006, 04:42 PM   #4
daihard
Member
 
Registered: Jul 2003
Location: Seattle, WA
Distribution: Kubuntu 14.04 LTS
Posts: 915

Rep: Reputation: 34
Did you try installing the gtk+-devel package? That's probably what the initial error from configure indicates - you don't have the gtk+-devel package installed.
 
Old 04-22-2006, 08:12 PM   #5
drkstr
Senior Member
 
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191

Rep: Reputation: 45
Quote:
checking for gtk-config... no
checking for gtk12-config... no
checking for gtk13-config... no
checking for GTK - version >= 1.2.5... no
*** The gtk-config script installed by GTK could not be found
*** If GTK was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GTK_CONFIG environment variable to the
*** full path to gtk-config.
... I think it's a clue.

...drkstr

Last edited by drkstr; 04-22-2006 at 08:13 PM.
 
Old 04-23-2006, 12:05 AM   #6
daihard
Member
 
Registered: Jul 2003
Location: Seattle, WA
Distribution: Kubuntu 14.04 LTS
Posts: 915

Rep: Reputation: 34
Quote:
Originally Posted by drkstr
... I think it's a clue.

...drkstr
Yeah, but it takes a bit of practice and "getting used to" to figure out what that error message means.
 
Old 04-23-2006, 12:53 AM   #7
drkstr
Senior Member
 
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191

Rep: Reputation: 45
I know, I wasn't trying to be rude,. I see now that my choice of words could have been taken the wrong way. I was just trying to point out what might be indicating the problem. As the saying goes: Give someone a fish and they have a fish, teach someone to fish and they will never be hungry again.

regards,
...drkstr
 
Old 04-23-2006, 01:08 AM   #8
daihard
Member
 
Registered: Jul 2003
Location: Seattle, WA
Distribution: Kubuntu 14.04 LTS
Posts: 915

Rep: Reputation: 34
Quote:
Originally Posted by drkstr
I know, I wasn't trying to be rude,. I see now that my choice of words could have been taken the wrong way. I was just trying to point out what might be indicating the problem. As the saying goes: Give someone a fish and they have a fish, teach someone to fish and they will never be hungry again.
I, too, hope I didn't come across as overly critical of your reply. I definitely agree that teaching how to fish is the better route than just giving fish away. We just have to make sure we teach them how to use the fishing rod.

Cheers,
Dai
 
Old 04-23-2006, 02:35 PM   #9
Tear Syden
LQ Newbie
 
Registered: Mar 2006
Posts: 20

Original Poster
Rep: Reputation: 0
Argh!

Well I installed gtk+-devel from yum and tried ./configure

This is what I got this time after installing gtk.

Code:
.
.
.
configure: checking for which client to compile:...
checking for pkg-config... /usr/bin/pkg-config
checking for GTK+ - version >= 2.2.1... no
*** Could not run GTK+ test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GTK+ is incorrectly installed.
checking for gtk-config... /usr/bin/gtk-config
checking for GTK - version >= 1.2.5... yes
checking for imlib-config... no
checking for IMLIB - version >= 1.9.2... no
*** The imlib-config script installed by IMLIB could not be found
*** If IMLIB was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the IMLIB_CONFIG environment variable to the
*** full path to imlib-config.
configure: WARNING: Not checking for SDL; use --enable-client=sdl to enable
checking whether Xfuncproto was supplied... no
checking for compilable FUNCPROTO definition... yes, determined: 15
checking for workable NARROWPROTO definition... no, cannot determine
checking whether Xfuncproto was determined... yes:  FUNCPROTO=15
configure: WARNING: Not checking for XAW; use --enable-client=xaw to enable
configure: error: could not guess which client to compile
So I think I'm going to try IMLIB now.

Oh, and don't worry about your response, no offense taken, drkstr
 
Old 04-23-2006, 03:31 PM   #10
daihard
Member
 
Registered: Jul 2003
Location: Seattle, WA
Distribution: Kubuntu 14.04 LTS
Posts: 915

Rep: Reputation: 34
You may already have figured it out, but you can install IMLIB the following way:
Code:
# yum install imlib
You also need to install gtk2.
Code:
# yum install gtk2
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Trouble creating installation disks for FC5 General Fedora 4 04-30-2006 07:19 AM
trouble enabling nvidia 3d support in FC5 shakumafu Fedora 4 04-19-2006 07:44 PM
5 FC5 cd trouble tom_oa731 Fedora - Installation 3 04-10-2006 01:34 AM
FC5 wlan adapter trouble Lastomega Linux - Wireless Networking 1 04-04-2006 10:50 AM
Boot failure after upgrading FC5 TR3 to FC5 Official Release fsb1284 Fedora 3 03-25-2006 09:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration