0.0.24 doesn't compile on Fedora 8

Ask for help regarding any technical issue or report any bug or OS independent issues.
Post Reply
User avatar
Pupukarhu
Peon
Peon
Posts: 7
Joined: Mon Jan 14, 2008 12:30 pm
Location: Finland

0.0.24 doesn't compile on Fedora 8

Post by Pupukarhu » Tue Jan 15, 2008 3:39 pm

I got fed up with segmentation faults in 0.0.23 so I decided to update to 0.0.24. As there are no precompiled packages of 0.0.24 available I have to compile it from source. But it doesn't compile. I get the following:

Code: Select all

checking for g++... g++
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 g++ accepts -g... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... yes
checking how to run the C++ preprocessor... g++ -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/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 stdbool.h that conforms to C99... yes
checking for _Bool... no
checking for an ANSI C-conforming const... yes
checking whether time.h and sys/time.h may both be included... yes
checking for working volatile... yes
checking for error_at_line... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking for vprintf... yes
checking for _doprnt... no
checking for atexit... yes
checking for floor... yes
checking for getcwd... yes
checking for gethostbyname... yes
checking for memset... yes
checking for mkdir... yes
checking for select... yes
checking for socket... yes
checking for pthread_create in -lpthread... yes
checking for gcnGuichanVersion in -lguichan... yes
checking for inflate in -lz... yes
checking for PHYSFS_init in -lphysfs... yes
checking for curl_global_init in -lcurl... yes
checking for xmlInitParser in -lxml2... yes
checking for png_write_info in -lpng... yes
checking for IMG_LoadPNG_RW in -lSDL_image... yes
checking for Mix_OpenAudio in -lSDL_mixer... yes
checking for SDLNet_Init in -lSDL_net... yes
checking for ANSI C header files... (cached) yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.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 for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for unistd.h... (cached) yes
checking guichan.hpp usability... yes
checking guichan.hpp presence... yes
checking for guichan.hpp... yes
checking whether build environment is sane... yes
checking for gawk... gawk
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for glBegin in -lGL... yes
checking for sdl-config... /usr/bin/sdl-config
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating data/Makefile
config.status: creating data/graphics/Makefile
config.status: creating data/graphics/gui/Makefile
config.status: creating data/graphics/images/Makefile
config.status: creating data/graphics/images/ambient/Makefile
config.status: creating data/graphics/tiles/Makefile
config.status: creating data/help/Makefile
config.status: creating data/icons/Makefile
config.status: creating docs/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands

Build with OpenGL: yes

configure complete, now type "make"

make  all-recursive
make[1]: Entering directory `/home/dmitry/Software/tmw-0.0.24'
Making all in data
make[2]: Entering directory `/home/dmitry/Software/tmw-0.0.24/data'
Making all in graphics
make[3]: Entering directory `/home/dmitry/Software/tmw-0.0.24/data/graphics'
Making all in gui
make[4]: Entering directory `/home/dmitry/Software/tmw-0.0.24/data/graphics/gui'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/dmitry/Software/tmw-0.0.24/data/graphics/gui'
Making all in images
make[4]: Entering directory `/home/dmitry/Software/tmw-0.0.24/data/graphics/images'
Making all in ambient
make[5]: Entering directory `/home/dmitry/Software/tmw-0.0.24/data/graphics/images/ambient'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/home/dmitry/Software/tmw-0.0.24/data/graphics/images/ambient'
make[5]: Entering directory `/home/dmitry/Software/tmw-0.0.24/data/graphics/images'
make[5]: Nothing to be done for `all-am'.
make[5]: Leaving directory `/home/dmitry/Software/tmw-0.0.24/data/graphics/images'
make[4]: Leaving directory `/home/dmitry/Software/tmw-0.0.24/data/graphics/images'
Making all in tiles
make[4]: Entering directory `/home/dmitry/Software/tmw-0.0.24/data/graphics/tiles'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/dmitry/Software/tmw-0.0.24/data/graphics/tiles'
make[4]: Entering directory `/home/dmitry/Software/tmw-0.0.24/data/graphics'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/home/dmitry/Software/tmw-0.0.24/data/graphics'
make[3]: Leaving directory `/home/dmitry/Software/tmw-0.0.24/data/graphics'
Making all in help
make[3]: Entering directory `/home/dmitry/Software/tmw-0.0.24/data/help'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/dmitry/Software/tmw-0.0.24/data/help'
Making all in icons
make[3]: Entering directory `/home/dmitry/Software/tmw-0.0.24/data/icons'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/dmitry/Software/tmw-0.0.24/data/icons'
make[3]: Entering directory `/home/dmitry/Software/tmw-0.0.24/data'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/dmitry/Software/tmw-0.0.24/data'
make[2]: Leaving directory `/home/dmitry/Software/tmw-0.0.24/data'
Making all in docs
make[2]: Entering directory `/home/dmitry/Software/tmw-0.0.24/docs'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/dmitry/Software/tmw-0.0.24/docs'
Making all in src
make[2]: Entering directory `/home/dmitry/Software/tmw-0.0.24/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I..  -DTMW_DATADIR=\""/usr/local/share/tmw/"\"   -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT `pkg-config --cflags libxml-2.0`  -g -O2 -MT tmw-chat.o -MD -MP -MF ".deps/tmw-chat.Tpo" -c -o tmw-chat.o `test -f 'gui/chat.cpp' || echo './'`gui/chat.cpp; \
	then mv -f ".deps/tmw-chat.Tpo" ".deps/tmw-chat.Po"; else rm -f ".deps/tmw-chat.Tpo"; exit 1; fi
In file included from gui/chat.cpp:33:
gui/chatinput.h:29:37: error: guichan/focuslistener.hpp: No such file or directory
gui/chatinput.h:35: error: expected class-name before ‘{’ token
make[2]: *** [tmw-chat.o] Error 1
make[2]: Leaving directory `/home/dmitry/Software/tmw-0.0.24/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/dmitry/Software/tmw-0.0.24'
make: *** [all] Error 2
User avatar
Crush
TMW Adviser
TMW Adviser
Posts: 8046
Joined: Thu Aug 25, 2005 5:08 pm
Location: Germany

Post by Crush » Tue Jan 15, 2008 8:34 pm

It seems like you have an outdated version of guichan.
  • former Manasource Programmer
  • former TMW Pixel artist
  • NOT a game master

Please do not send me any inquiries regarding player accounts on TMW.


You might have heard a certain rumor about me. This rumor is completely false. You might also have heard the other rumor about me. This rumor is 100% accurate.
User avatar
Pupukarhu
Peon
Peon
Posts: 7
Joined: Mon Jan 14, 2008 12:30 pm
Location: Finland

Post by Pupukarhu » Tue Jan 15, 2008 8:57 pm

Which version should I have?
User avatar
Crush
TMW Adviser
TMW Adviser
Posts: 8046
Joined: Thu Aug 25, 2005 5:08 pm
Location: Germany

Post by Crush » Tue Jan 15, 2008 9:00 pm

0.7.1
  • former Manasource Programmer
  • former TMW Pixel artist
  • NOT a game master

Please do not send me any inquiries regarding player accounts on TMW.


You might have heard a certain rumor about me. This rumor is completely false. You might also have heard the other rumor about me. This rumor is 100% accurate.
Post Reply