root@steve-desktop:/home/steve/tmw-0.0.24# ./configure
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl.exe... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking for C++ compiler default output file name...
configure: error: C++ compiler cannot create executables
See `config.log' for more details.
root@steve-desktop:/home/steve/tmw-0.0.24#
Even though I already have gcc and g++ installed. Dunno what's wrong
and my .23 version keeps crashing everytime a bald character runs around
Last edited by 5t3v3 on 03 Jan 2008, 03:00, edited 5 times in total.
root@steve-desktop:/home/steve/tmw-0.0.24# ./configure
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... no
checking for mawk... mawk
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"
root@steve-desktop:/home/steve/tmw-0.0.24# make
make all-recursive
make[1]: Entering directory `/home/steve/tmw-0.0.24'
Making all in data
make[2]: Entering directory `/home/steve/tmw-0.0.24/data'
Making all in graphics
make[3]: Entering directory `/home/steve/tmw-0.0.24/data/graphics'
Making all in gui
make[4]: Entering directory `/home/steve/tmw-0.0.24/data/graphics/gui'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/steve/tmw-0.0.24/data/graphics/gui'
Making all in images
make[4]: Entering directory `/home/steve/tmw-0.0.24/data/graphics/images'
Making all in ambient
make[5]: Entering directory `/home/steve/tmw-0.0.24/data/graphics/images/ambient'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/home/steve/tmw-0.0.24/data/graphics/images/ambient'
make[5]: Entering directory `/home/steve/tmw-0.0.24/data/graphics/images'
make[5]: Nothing to be done for `all-am'.
make[5]: Leaving directory `/home/steve/tmw-0.0.24/data/graphics/images'
make[4]: Leaving directory `/home/steve/tmw-0.0.24/data/graphics/images'
Making all in tiles
make[4]: Entering directory `/home/steve/tmw-0.0.24/data/graphics/tiles'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/steve/tmw-0.0.24/data/graphics/tiles'
make[4]: Entering directory `/home/steve/tmw-0.0.24/data/graphics'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/home/steve/tmw-0.0.24/data/graphics'
make[3]: Leaving directory `/home/steve/tmw-0.0.24/data/graphics'
Making all in help
make[3]: Entering directory `/home/steve/tmw-0.0.24/data/help'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/steve/tmw-0.0.24/data/help'
Making all in icons
make[3]: Entering directory `/home/steve/tmw-0.0.24/data/icons'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/steve/tmw-0.0.24/data/icons'
make[3]: Entering directory `/home/steve/tmw-0.0.24/data'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/steve/tmw-0.0.24/data'
make[2]: Leaving directory `/home/steve/tmw-0.0.24/data'
Making all in docs
make[2]: Entering directory `/home/steve/tmw-0.0.24/docs'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/steve/tmw-0.0.24/docs'
Making all in src
make[2]: Entering directory `/home/steve/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` -I/usr/local/include -g -O2 -MT tmw-char_server.o -MD -MP -MF ".deps/tmw-char_server.Tpo" -c -o tmw-char_server.o `test -f 'gui/char_server.cpp' || echo './'`gui/char_server.cpp; \
then mv -f ".deps/tmw-char_server.Tpo" ".deps/tmw-char_server.Po"; else rm -f ".deps/tmw-char_server.Tpo"; exit 1; fi
In file included from gui/char_server.cpp:34:
gui/../net/network.h:28:21: error: SDL_net.h: No such file or directory
gui/../net/network.h:111: error: ‘TCPsocket’ does not name a type
make[2]: *** [tmw-char_server.o] Error 1
make[2]: Leaving directory `/home/steve/tmw-0.0.24/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/steve/tmw-0.0.24'
make: *** [all] Error 2
I'm getting the exact same error while trying to install in Fedora 8. I think it may have to do with Guichan 0.7.1 install. I get this when I try to run make:
Tried that fix. I have a new error message now when I do make :
In file included from gui/setup_audio.cpp:34:
gui/../sound.h:27:23: error: SDL_mixer.h: No such file or directory
gui/../sound.h:119: error: ISO C++ forbids declaration of ‘Mix_Music’ with no type
gui/../sound.h:119: error: expected ‘;’ before ‘*’ token
make[1]: *** [tmw-setup_audio.o] Error 1
make[1]: Leaving directory `/home/dave/Desktop/tmw-0.0.24/src'
make: *** [install-recursive] Error 1
[root@localhost tmw-0.0.24]#
I have both installed already. No luck so far finding a solution.
It seems the rpm version of SDL packages may have been the problem with some of my issues. I compiled the tarball ones I found and now get guichan0.7.1 to install with no errors. Now I get this error when trying to make tmw:
SUCCESS!!!! Recomplied guichan and tried again. Everything worked great!!
Spoke too soon. Though it installed it won't launch. Tried to uninstall and reinstall it to no avail. I have pretty little launcher, but it does nothing.