The Mana World

Feel the mana power growing inside you!
It is currently Tue Sep 07, 2010 7:15 am

All times are UTC - 1 hour




Post new topic Reply to topic  [ 12 posts ] 
Author Message
 Post subject: 0.24 unable to compile [resolved]
PostPosted: Sun Dec 30, 2007 8:22 pm 
Offline
Novice
Novice
User avatar

Joined: Wed Oct 31, 2007 2:08 pm
Posts: 450
Location: Belgium
I get this message:

Code:
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 Thu Jan 03, 2008 2:00 am, edited 5 times in total.

Top
 Profile  
 
 Post subject:
PostPosted: Sun Dec 30, 2007 8:45 pm 
Offline
Novice
Novice
User avatar

Joined: Wed Oct 31, 2007 2:08 pm
Posts: 450
Location: Belgium
Many thanks to m[a]tt for advising me over IRC to try:
Code:
apt-get install build-essential


xD


Top
 Profile  
 
 Post subject:
PostPosted: Sun Dec 30, 2007 9:19 pm 
Offline
Knight
Knight
User avatar

Joined: Sat Aug 07, 2004 9:47 am
Posts: 1425
Location: Germany->Bavaria
Let me give you a second advise:
Use the edit button :)

_________________
Image
awesome TMW online stats! yay!


Top
 Profile  
 
 Post subject:
PostPosted: Sun Dec 30, 2007 9:50 pm 
Offline
Novice
Novice
User avatar

Joined: Wed Oct 31, 2007 2:08 pm
Posts: 450
Location: Belgium
Ok it compiles now. But when I do make, at the end I get the following error:
Code:
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


Then for make install I get the following error in the end:
Code:
make[1]: *** [tmw-char_server.o] Error 1
make[1]: Leaving directory `/home/steve/tmw-0.0.24/src'
make: *** [install-recursive] Error 1


it's a bit vague to work with :)


Top
 Profile  
 
 Post subject:
PostPosted: Sun Dec 30, 2007 10:48 pm 
Offline
Peon
Peon
User avatar

Joined: Wed Dec 26, 2007 6:46 pm
Posts: 27
Location: Florida
Especially since you cut out the actual error ^_^


Top
 Profile  
 
 Post subject:
PostPosted: Sun Dec 30, 2007 10:59 pm 
Offline
Novice
Novice
User avatar

Joined: Wed Oct 31, 2007 2:08 pm
Posts: 450
Location: Belgium
Oh sorry, didn't realize that, the stars got my attention :D
Anyway here's a ful log

Code:
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


Code:
root@steve-desktop:/home/steve/tmw-0.0.24# make install
Making install in data
make[1]: Entering directory `/home/steve/tmw-0.0.24/data'
Making install in graphics
make[2]: Entering directory `/home/steve/tmw-0.0.24/data/graphics'
Making install in gui
make[3]: Entering directory `/home/steve/tmw-0.0.24/data/graphics/gui'
make[4]: Entering directory `/home/steve/tmw-0.0.24/data/graphics/gui'
make[4]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/share/tmw/data/graphics/gui" || mkdir -p -- "/usr/local/share/tmw/data/graphics/gui"
/usr/bin/install -c -m 644 'attack_target.png' '/usr/local/share/tmw/data/graphics/gui/attack_target.png'
/usr/bin/install -c -m 644 'bg_quad_dis.png' '/usr/local/share/tmw/data/graphics/gui/bg_quad_dis.png'
/usr/bin/install -c -m 644 'browserfont.png' '/usr/local/share/tmw/data/graphics/gui/browserfont.png'
/usr/bin/install -c -m 644 'button.png' '/usr/local/share/tmw/data/graphics/gui/button.png'
/usr/bin/install -c -m 644 'button_disabled.png' '/usr/local/share/tmw/data/graphics/gui/button_disabled.png'
/usr/bin/install -c -m 644 'buttonhi.png' '/usr/local/share/tmw/data/graphics/gui/buttonhi.png'
/usr/bin/install -c -m 644 'buttonpress.png' '/usr/local/share/tmw/data/graphics/gui/buttonpress.png'
/usr/bin/install -c -m 644 'checkbox.png' '/usr/local/share/tmw/data/graphics/gui/checkbox.png'
/usr/bin/install -c -m 644 'close_button.png' '/usr/local/share/tmw/data/graphics/gui/close_button.png'
/usr/bin/install -c -m 644 'deepbox.png' '/usr/local/share/tmw/data/graphics/gui/deepbox.png'
/usr/bin/install -c -m 644 'fixedfont.png' '/usr/local/share/tmw/data/graphics/gui/fixedfont.png'
/usr/bin/install -c -m 644 'hits_blue.png' '/usr/local/share/tmw/data/graphics/gui/hits_blue.png'
/usr/bin/install -c -m 644 'hits_red.png' '/usr/local/share/tmw/data/graphics/gui/hits_red.png'
/usr/bin/install -c -m 644 'hits_yellow.png' '/usr/local/share/tmw/data/graphics/gui/hits_yellow.png'
/usr/bin/install -c -m 644 'hscroll_left_default.png' '/usr/local/share/tmw/data/graphics/gui/hscroll_left_default.png'
/usr/bin/install -c -m 644 'hscroll_left_highlight.png' '/usr/local/share/tmw/data/graphics/gui/hscroll_left_highlight.png'
/usr/bin/install -c -m 644 'hscroll_left_pressed.png' '/usr/local/share/tmw/data/graphics/gui/hscroll_left_pressed.png'
/usr/bin/install -c -m 644 'hscroll_right_default.png' '/usr/local/share/tmw/data/graphics/gui/hscroll_right_default.png'
/usr/bin/install -c -m 644 'hscroll_right_highlight.png' '/usr/local/share/tmw/data/graphics/gui/hscroll_right_highlight.png'
/usr/bin/install -c -m 644 'hscroll_right_pressed.png' '/usr/local/share/tmw/data/graphics/gui/hscroll_right_pressed.png'
/usr/bin/install -c -m 644 'item_shortcut_bgr.png' '/usr/local/share/tmw/data/graphics/gui/item_shortcut_bgr.png'
/usr/bin/install -c -m 644 'mouse.png' '/usr/local/share/tmw/data/graphics/gui/mouse.png'
/usr/bin/install -c -m 644 'menuitemD.png' '/usr/local/share/tmw/data/graphics/gui/menuitemD.png'
/usr/bin/install -c -m 644 'menuitemF.png' '/usr/local/share/tmw/data/graphics/gui/menuitemF.png'
/usr/bin/install -c -m 644 'menuitemN.png' '/usr/local/share/tmw/data/graphics/gui/menuitemN.png'
/usr/bin/install -c -m 644 'menuitemP.png' '/usr/local/share/tmw/data/graphics/gui/menuitemP.png'
/usr/bin/install -c -m 644 'radioin.png' '/usr/local/share/tmw/data/graphics/gui/radioin.png'
/usr/bin/install -c -m 644 'radioout.png' '/usr/local/share/tmw/data/graphics/gui/radioout.png'
/usr/bin/install -c -m 644 'resize.png' '/usr/local/share/tmw/data/graphics/gui/resize.png'
/usr/bin/install -c -m 644 'rpgfont_wider.png' '/usr/local/share/tmw/data/graphics/gui/rpgfont_wider.png'
/usr/bin/install -c -m 644 'selection.png' '/usr/local/share/tmw/data/graphics/gui/selection.png'
/usr/bin/install -c -m 644 'sansserif8.png' '/usr/local/share/tmw/data/graphics/gui/sansserif8.png'
/usr/bin/install -c -m 644 'slider.png' '/usr/local/share/tmw/data/graphics/gui/slider.png'
/usr/bin/install -c -m 644 'target-cursor-blue-l.png' '/usr/local/share/tmw/data/graphics/gui/target-cursor-blue-l.png'
/usr/bin/install -c -m 644 'target-cursor-blue-m.png' '/usr/local/share/tmw/data/graphics/gui/target-cursor-blue-m.png'
/usr/bin/install -c -m 644 'target-cursor-blue-s.png' '/usr/local/share/tmw/data/graphics/gui/target-cursor-blue-s.png'
/usr/bin/install -c -m 644 'target-cursor-red-l.png' '/usr/local/share/tmw/data/graphics/gui/target-cursor-red-l.png'
/usr/bin/install -c -m 644 'target-cursor-red-m.png' '/usr/local/share/tmw/data/graphics/gui/target-cursor-red-m.png'
/usr/bin/install -c -m 644 'target-cursor-red-s.png' '/usr/local/share/tmw/data/graphics/gui/target-cursor-red-s.png'
/usr/bin/install -c -m 644 'thickborder.png' '/usr/local/share/tmw/data/graphics/gui/thickborder.png'
/usr/bin/install -c -m 644 'unknown-item.png' '/usr/local/share/tmw/data/graphics/gui/unknown-item.png'
/usr/bin/install -c -m 644 'vscroll_blue.png' '/usr/local/share/tmw/data/graphics/gui/vscroll_blue.png'
/usr/bin/install -c -m 644 'vscroll_down_default.png' '/usr/local/share/tmw/data/graphics/gui/vscroll_down_default.png'
/usr/bin/install -c -m 644 'vscroll_down_highlight.png' '/usr/local/share/tmw/data/graphics/gui/vscroll_down_highlight.png'
/usr/bin/install -c -m 644 'vscroll_down_pressed.png' '/usr/local/share/tmw/data/graphics/gui/vscroll_down_pressed.png'
/usr/bin/install -c -m 644 'vscroll_grey.png' '/usr/local/share/tmw/data/graphics/gui/vscroll_grey.png'
/usr/bin/install -c -m 644 'vscroll_red.png' '/usr/local/share/tmw/data/graphics/gui/vscroll_red.png'
/usr/bin/install -c -m 644 'vscroll_up_default.png' '/usr/local/share/tmw/data/graphics/gui/vscroll_up_default.png'
/usr/bin/install -c -m 644 'vscroll_up_highlight.png' '/usr/local/share/tmw/data/graphics/gui/vscroll_up_highlight.png'
/usr/bin/install -c -m 644 'vscroll_up_pressed.png' '/usr/local/share/tmw/data/graphics/gui/vscroll_up_pressed.png'
make[4]: Leaving directory `/home/steve/tmw-0.0.24/data/graphics/gui'
make[3]: Leaving directory `/home/steve/tmw-0.0.24/data/graphics/gui'
Making install in images
make[3]: Entering directory `/home/steve/tmw-0.0.24/data/graphics/images'
Making install in ambient
make[4]: Entering directory `/home/steve/tmw-0.0.24/data/graphics/images/ambient'
make[5]: Entering directory `/home/steve/tmw-0.0.24/data/graphics/images/ambient'
make[5]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/share/tmw/data/graphics/images/ambient" || mkdir -p -- "/usr/local/share/tmw/data/graphics/images/ambient"
/usr/bin/install -c -m 644 'clouds.png' '/usr/local/share/tmw/data/graphics/images/ambient/clouds.png'
/usr/bin/install -c -m 644 'night.png' '/usr/local/share/tmw/data/graphics/images/ambient/night.png'
/usr/bin/install -c -m 644 'sandstorm.png' '/usr/local/share/tmw/data/graphics/images/ambient/sandstorm.png'
/usr/bin/install -c -m 644 'spotlight.png' '/usr/local/share/tmw/data/graphics/images/ambient/spotlight.png'
make[5]: Leaving directory `/home/steve/tmw-0.0.24/data/graphics/images/ambient'
make[4]: Leaving directory `/home/steve/tmw-0.0.24/data/graphics/images/ambient'
make[4]: Entering directory `/home/steve/tmw-0.0.24/data/graphics/images'
make[5]: Entering directory `/home/steve/tmw-0.0.24/data/graphics/images'
make[5]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/share/tmw/data/graphics/images" || mkdir -p -- "/usr/local/share/tmw/data/graphics/images"
/usr/bin/install -c -m 644 'error.png' '/usr/local/share/tmw/data/graphics/images/error.png'
/usr/bin/install -c -m 644 'login_wallpaper.png' '/usr/local/share/tmw/data/graphics/images/login_wallpaper.png'
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'
make[3]: Leaving directory `/home/steve/tmw-0.0.24/data/graphics/images'
Making install in tiles
make[3]: Entering directory `/home/steve/tmw-0.0.24/data/graphics/tiles'
make[4]: Entering directory `/home/steve/tmw-0.0.24/data/graphics/tiles'
make[4]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/share/tmw/data/graphics/tiles" || mkdir -p -- "/usr/local/share/tmw/data/graphics/tiles"
/usr/bin/install -c -m 644 'arena.png' '/usr/local/share/tmw/data/graphics/tiles/arena.png'
/usr/bin/install -c -m 644 'cave.png' '/usr/local/share/tmw/data/graphics/tiles/cave.png'
/usr/bin/install -c -m 644 'collision.png' '/usr/local/share/tmw/data/graphics/tiles/collision.png'
/usr/bin/install -c -m 644 'desert1.png' '/usr/local/share/tmw/data/graphics/tiles/desert1.png'
/usr/bin/install -c -m 644 'desert2.png' '/usr/local/share/tmw/data/graphics/tiles/desert2.png'
/usr/bin/install -c -m 644 'desert_x2.png' '/usr/local/share/tmw/data/graphics/tiles/desert_x2.png'
/usr/bin/install -c -m 644 'desert_x3.png' '/usr/local/share/tmw/data/graphics/tiles/desert_x3.png'
/usr/bin/install -c -m 644 'icecave.png' '/usr/local/share/tmw/data/graphics/tiles/icecave.png'
/usr/bin/install -c -m 644 'inn.png' '/usr/local/share/tmw/data/graphics/tiles/inn.png'
/usr/bin/install -c -m 644 'mountain.png' '/usr/local/share/tmw/data/graphics/tiles/mountain.png'
/usr/bin/install -c -m 644 'snow_building.png' '/usr/local/share/tmw/data/graphics/tiles/snow_building.png'
/usr/bin/install -c -m 644 'snow_x2.png' '/usr/local/share/tmw/data/graphics/tiles/snow_x2.png'
/usr/bin/install -c -m 644 'snow_x3.png' '/usr/local/share/tmw/data/graphics/tiles/snow_x3.png'
/usr/bin/install -c -m 644 'snowset.png' '/usr/local/share/tmw/data/graphics/tiles/snowset.png'
/usr/bin/install -c -m 644 'trans_woodland-desert.png' '/usr/local/share/tmw/data/graphics/tiles/trans_woodland-desert.png'
/usr/bin/install -c -m 644 'Woodland_ground.png' '/usr/local/share/tmw/data/graphics/tiles/Woodland_ground.png'
/usr/bin/install -c -m 644 'Woodland_village.png' '/usr/local/share/tmw/data/graphics/tiles/Woodland_village.png'
/usr/bin/install -c -m 644 'Woodland_village_x2.png' '/usr/local/share/tmw/data/graphics/tiles/Woodland_village_x2.png'
/usr/bin/install -c -m 644 'Woodland_x2.png' '/usr/local/share/tmw/data/graphics/tiles/Woodland_x2.png'
/usr/bin/install -c -m 644 'Woodland_x3.png' '/usr/local/share/tmw/data/graphics/tiles/Woodland_x3.png'
make[4]: Leaving directory `/home/steve/tmw-0.0.24/data/graphics/tiles'
make[3]: Leaving directory `/home/steve/tmw-0.0.24/data/graphics/tiles'
make[3]: Entering directory `/home/steve/tmw-0.0.24/data/graphics'
make[4]: Entering directory `/home/steve/tmw-0.0.24/data/graphics'
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-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'
make[2]: Leaving directory `/home/steve/tmw-0.0.24/data/graphics'
Making install in help
make[2]: Entering directory `/home/steve/tmw-0.0.24/data/help'
make[3]: Entering directory `/home/steve/tmw-0.0.24/data/help'
make[3]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/share/tmw/data/help" || mkdir -p -- "/usr/local/share/tmw/data/help"
/usr/bin/install -c -m 644 'about.txt' '/usr/local/share/tmw/data/help/about.txt'
/usr/bin/install -c -m 644 'changes.txt' '/usr/local/share/tmw/data/help/changes.txt'
/usr/bin/install -c -m 644 'commands.txt' '/usr/local/share/tmw/data/help/commands.txt'
/usr/bin/install -c -m 644 'header.txt' '/usr/local/share/tmw/data/help/header.txt'
/usr/bin/install -c -m 644 'index.txt' '/usr/local/share/tmw/data/help/index.txt'
/usr/bin/install -c -m 644 'skills.txt' '/usr/local/share/tmw/data/help/skills.txt'
/usr/bin/install -c -m 644 'support.txt' '/usr/local/share/tmw/data/help/support.txt'
/usr/bin/install -c -m 644 'team.txt' '/usr/local/share/tmw/data/help/team.txt'
make[3]: Leaving directory `/home/steve/tmw-0.0.24/data/help'
make[2]: Leaving directory `/home/steve/tmw-0.0.24/data/help'
Making install in icons
make[2]: Entering directory `/home/steve/tmw-0.0.24/data/icons'
make[3]: Entering directory `/home/steve/tmw-0.0.24/data/icons'
make[3]: Nothing to be done for `install-exec-am'.
/home/steve/tmw-0.0.24/install-sh -d /usr/local/share/pixmaps
/usr/bin/install -c ./tmw.png /usr/local/share/pixmaps/tmw.png
test -z "/usr/local/share/tmw/data/icons" || mkdir -p -- "/usr/local/share/tmw/data/icons"
/usr/bin/install -c -m 644 'tmw.png' '/usr/local/share/tmw/data/icons/tmw.png'
make[3]: Leaving directory `/home/steve/tmw-0.0.24/data/icons'
make[2]: Leaving directory `/home/steve/tmw-0.0.24/data/icons'
make[2]: Entering directory `/home/steve/tmw-0.0.24/data'
make[3]: Entering directory `/home/steve/tmw-0.0.24/data'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/home/steve/tmw-0.0.24/data'
make[2]: Leaving directory `/home/steve/tmw-0.0.24/data'
make[1]: Leaving directory `/home/steve/tmw-0.0.24/data'
Making install in docs
make[1]: Entering directory `/home/steve/tmw-0.0.24/docs'
make[2]: Entering directory `/home/steve/tmw-0.0.24/docs'
make[2]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/share/man/man6" || mkdir -p -- "/usr/local/share/man/man6"
/usr/bin/install -c -m 644 './tmw.6' '/usr/local/share/man/man6/tmw.6'
make[2]: Leaving directory `/home/steve/tmw-0.0.24/docs'
make[1]: Leaving directory `/home/steve/tmw-0.0.24/docs'
Making install in src
make[1]: 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[1]: *** [tmw-char_server.o] Error 1
make[1]: Leaving directory `/home/steve/tmw-0.0.24/src'
make: *** [install-recursive] Error 1
root@steve-desktop:/home/steve/tmw-0.0.24#


Top
 Profile  
 
 Post subject:
PostPosted: Sun Dec 30, 2007 11:10 pm 
Offline
Peon
Peon
User avatar

Joined: Wed Dec 26, 2007 5:39 pm
Posts: 8
The missing file, SDL_net.h, seems to be in a package called libsdl-net1.2-dev

(Found out by running:
dpkg -S SDL_net.h
libsdl-net1.2-dev: /usr/include/SDL/SDL_net.h)

So try to do a

sudo apt-get install libsdl-net1.2-dev


Top
 Profile  
 
 Post subject:
PostPosted: Sun Dec 30, 2007 11:15 pm 
Offline
Peon
Peon

Joined: Sun Dec 30, 2007 11:07 pm
Posts: 79
Location: Iowa - USA
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:

make[2]: Entering directory `/home/dave/Desktop/guichan-0.7.1/src/sdl'
/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../include -I../../include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -Wall -Wno-unused -DGUICHAN_BUILD -MT sdlimageloader.lo -MD -MP -MF .deps/sdlimageloader.Tpo -c -o sdlimageloader.lo sdlimageloader.cpp
g++ -DHAVE_CONFIG_H -I. -I../../include -I../../include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -Wall -Wno-unused -DGUICHAN_BUILD -MT sdlimageloader.lo -MD -MP -MF .deps/sdlimageloader.Tpo -c sdlimageloader.cpp -fPIC -DPIC -o .libs/sdlimageloader.o
sdlimageloader.cpp:63:23: error: SDL_image.h: No such file or directory
sdlimageloader.cpp: In member function 'virtual SDL_Surface* gcn::SDLImageLoader::loadSDLSurface(const std::string&)':
sdlimageloader.cpp:102: error: 'IMG_Load' was not declared in this scope
make[2]: *** [sdlimageloader.lo] Error 1
make[2]: Leaving directory `/home/dave/Desktop/guichan-0.7.1/src/sdl'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/dave/Desktop/guichan-0.7.1/src'
make: *** [all-recursive] Error 1

Hope someone can find a solution. I have installed all the required SDL files plus the Devel versions of same when present.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Dec 30, 2007 11:25 pm 
Offline
Novice
Novice
User avatar

Joined: Wed Oct 31, 2007 2:08 pm
Posts: 450
Location: Belgium
Tors wrote:
The missing file, SDL_net.h, seems to be in a package called libsdl-net1.2-dev

(Found out by running:
dpkg -S SDL_net.h
libsdl-net1.2-dev: /usr/include/SDL/SDL_net.h)

So try to do a

sudo apt-get install libsdl-net1.2-dev


Yep, that did the trick thanks mate ^_^


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 31, 2007 1:05 am 
Offline
Peon
Peon

Joined: Sun Dec 30, 2007 11:07 pm
Posts: 79
Location: Iowa - USA
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]#


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 31, 2007 4:35 am 
Offline
Peon
Peon
User avatar

Joined: Wed Dec 26, 2007 6:46 pm
Posts: 27
Location: Florida
Try installing the libsdl-mixer1.2 package. If that doesn't work, try libsdl-mixer1.2-dev.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 31, 2007 11:01 am 
Offline
Peon
Peon

Joined: Sun Dec 30, 2007 11:07 pm
Posts: 79
Location: Iowa - USA
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:

Making all in src
make[2]: Entering directory `/home/dave/Desktop/tmw-0.0.24/src'
g++ -g -O2 -o tmw `pkg-config --libs libxml-2.0` tmw-resizegrip.o tmw-box.o tmw-browserbox.o tmw-buddywindow.o tmw-button.o tmw-buy.o tmw-buysell.o tmw-chargedialog.o tmw-char_server.o tmw-char_select.o tmw-chat.o tmw-chatinput.o tmw-checkbox.o tmw-confirm_dialog.o tmw-connection.o tmw-debugwindow.o tmw-equipmentwindow.o tmw-focushandler.o tmw-gccontainer.o tmw-gui.o tmw-hbox.o tmw-help.o tmw-inttextbox.o tmw-inventorywindow.o tmw-itemcontainer.o tmw-item_amount.o tmw-listbox.o tmw-login.o tmw-menuwindow.o tmw-minimap.o tmw-ministatus.o tmw-newskill.o tmw-npclistdialog.o tmw-npc_text.o tmw-ok_dialog.o tmw-passwordfield.o tmw-playerbox.o tmw-popupmenu.o tmw-progressbar.o tmw-radiobutton.o tmw-register.o tmw-scrollarea.o tmw-sell.o tmw-setup_audio.o tmw-setup.o tmw-setup_joystick.o tmw-setup_keyboard.o tmw-setup_video.o tmw-shop.o tmw-shoplistbox.o tmw-skill.o tmw-slider.o tmw-status.o tmw-tabbedcontainer.o tmw-textbox.o tmw-textfield.o tmw-trade.o tmw-updatewindow.o tmw-vbox.o tmw-viewport.o tmw-window.o tmw-windowcontainer.o tmw-beinghandler.o tmw-buysellhandler.o tmw-charserverhandler.o tmw-chathandler.o tmw-equipmenthandler.o tmw-inventoryhandler.o tmw-itemhandler.o tmw-loginhandler.o tmw-maploginhandler.o tmw-messagehandler.o tmw-messagein.o tmw-messageout.o tmw-network.o tmw-npchandler.o tmw-playerhandler.o tmw-protocol.o tmw-skillhandler.o tmw-tradehandler.o tmw-action.o tmw-ambientoverlay.o tmw-animation.o tmw-dye.o tmw-image.o tmw-imageloader.o tmw-imageset.o tmw-imagewriter.o tmw-itemdb.o tmw-iteminfo.o tmw-mapreader.o tmw-monsterdb.o tmw-monsterinfo.o tmw-music.o tmw-resource.o tmw-resourcemanager.o tmw-soundeffect.o tmw-spritedef.o tmw-buddylist.o tmw-base64.o tmw-strprintf.o tmw-xml.o tmw-animatedsprite.o tmw-animationparticle.o tmw-being.o tmw-beingmanager.o tmw-configuration.o tmw-engine.o tmw-equipment.o tmw-floor_item.o tmw-flooritemmanager.o tmw-game.o tmw-graphics.o tmw-imageparticle.o tmw-inventory.o tmw-item.o tmw-joystick.o tmw-keyboardconfig.o tmw-localplayer.o tmw-log.o tmw-main.o tmw-map.o tmw-monster.o tmw-npc.o tmw-openglgraphics.o tmw-particle.o tmw-particleemitter.o tmw-player.o tmw-simpleanimation.o tmw-sound.o tmw-textparticle.o -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lSDL -lpthread -lSDL_image -lSDL_mixer -lguichan_sdl -L/usr/local/lib -lcurl -lGL -lSDL_net -lSDL_mixer -lSDL_image -lpng -lxml2 -lcurl -lphysfs -lz -lguichan -lpthread
/usr/bin/ld: cannot find -lguichan_sdl
collect2: ld returned 1 exit status
make[2]: *** [tmw] Error 1
make[2]: Leaving directory `/home/dave/Desktop/tmw-0.0.24/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/dave/Desktop/tmw-0.0.24'
make: *** [all] Error 2

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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 12 posts ] 

All times are UTC - 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group