Page 1 of 1

Help with install of source 0.0.25

Posted: 04 Aug 2008, 21:02
by tirano3d
Hi, first sorry for mi inglish, im from argentina hehe.. When i type ./configure its 100% ok, then when i type make i have this error

make[2]: se ingresa al directorio `/home/lucas/tmw-0.0.25/docs'
make[2]: No se hace nada para `all'.
make[2]: se sale del directorio `/home/lucas/tmw-0.0.25/docs'
Making all in src
make[2]: se ingresa al directorio `/home/lucas/tmw-0.0.25/src'
g++ -DHAVE_CONFIG_H -I. -I.. -DTMW_DATADIR=\""/usr/local/share/tmw/"\" -Wall -I/usr/local/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
En el fichero incluído de gui/char_server.cpp:34:
gui/../net/network.h:28:21: error: SDL_net.h: No existe el fichero ó directorio
In file included from gui/char_server.cpp:34:
gui/../net/network.h:111: error: ‘TCPsocket’ no nombra a un tipo
make[2]: *** [tmw-char_server.o] Error 1
make[2]: se sale del directorio `/home/lucas/tmw-0.0.25/src'
make[1]: *** [all-recursive] Error 1
make[1]: se sale del directorio `/home/lucas/tmw-0.0.25'
make: *** [all] Error 2

Help¿? xD
I Have Ubuntu 8.04 Server 64Bits.

Thx.
Lucas Federico Castro.

Re: Help with install of source 0.0.25

Posted: 04 Aug 2008, 21:26
by Jaxad0127
It looks like you don't have SDL(_net) installed. Please have a look at the dependencies and make sure they are all installed.

Re: Help with install of source 0.0.25

Posted: 04 Aug 2008, 21:41
by tirano3d
I have all, i dont now what happens!


:cry:

Re: Help with install of source 0.0.25

Posted: 04 Aug 2008, 21:52
by Jaxad0127
Did you install their dev packages as well?

Re: Help with install of source 0.0.25

Posted: 04 Aug 2008, 21:55
by Superkoop
You will need to run this in the terminal (installs dependencies):

Code: Select all

sudo apt-get install libsdl1.2-dev libphysfs-dev libxml2-dev libcurl4-openssl-dev zlib1g-dev autotools-dev g++-4.2 g++-4.1 g++-4.2-multilib automake autoconf subversion build-essential libpng12-dev libsdl-net1.2-dev libsdl-mixer1.2-dev libsdl-image1.2-dev
Then rerun ./configure, and compile it.

(this should have been in Unix support, but oh well)

Re: Help with install of source 0.0.25

Posted: 04 Aug 2008, 21:57
by Sanga
For each of the dependencies, you need to install *two* packages. One for the library. Another for the "development headers". This error means that you have not installed the "development headers" for the SDL_net package.

To fix: "sudo apt-get install libsdl-net1.2-dev".

*Many* packages split libraries and development headers, so you may need to do this for several other packages as well. The development header package will have the same name as the library package, but with "-dev" on the end.

Re: Help with install of source 0.0.25

Posted: 04 Aug 2008, 22:20
by tirano3d
I have installed:

Code: Select all

sudo apt-get install libsdl-net1.2-dev
Finish OK the install

and

Code: Select all

sudo apt-get install libsdl1.2-dev libphysfs-dev libxml2-dev libcurl4-openssl-dev zlib1g-dev autotools-dev g++-4.2 g++-4.1 g++-4.2-multilib automake autoconf subversion build-essential libpng12-dev libsdl-net1.2-dev libsdl-mixer1.2-dev libsdl-image1.2-dev
Finish OK the install

And the ./configure running OK, when i type make, finish with this:

Code: Select all

Making all in icons
make[3]: se ingresa al directorio `/home/lucas/tmw-0.0.25/data/icons'
make[3]: No se hace nada para `all'.
make[3]: se sale del directorio `/home/lucas/tmw-0.0.25/data/icons'
make[3]: se ingresa al directorio `/home/lucas/tmw-0.0.25/data'
make[3]: No se hace nada para `all-am'.
make[3]: se sale del directorio `/home/lucas/tmw-0.0.25/data'
make[2]: se sale del directorio `/home/lucas/tmw-0.0.25/data'
Making all in docs
make[2]: se ingresa al directorio `/home/lucas/tmw-0.0.25/docs'
make[2]: No se hace nada para `all'.
make[2]: se sale del directorio `/home/lucas/tmw-0.0.25/docs'
Making all in src
make[2]: se ingresa al directorio `/home/lucas/tmw-0.0.25/src'
g++ -DHAVE_CONFIG_H -I. -I..  -DTMW_DATADIR=\""/usr/local/share/tmw/"\"   -Wall -I/usr/local/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
En el fichero incluído de gui/char_server.cpp:34:
gui/../net/network.h:28:21: error: SDL_net.h: No existe el fichero ó directorio
In file included from gui/char_server.cpp:34:
gui/../net/network.h:111: error: ‘TCPsocket’ no nombra a un tipo
make[2]: *** [tmw-char_server.o] Error 1
make[2]: se sale del directorio `/home/lucas/tmw-0.0.25/src'
make[1]: *** [all-recursive] Error 1
make[1]: se sale del directorio `/home/lucas/tmw-0.0.25'
make: *** [all] Error 2
Then i type make install and recive this:

Code: Select all

test -z "/usr/local/share/man/man6" || /bin/mkdir -p "/usr/local/share/man/man6"
 /usr/bin/install -c -m 644 './tmw.6' '/usr/local/share/man/man6/tmw.6'
make[2]: se sale del directorio `/home/lucas/tmw-0.0.25/docs'
make[1]: se sale del directorio `/home/lucas/tmw-0.0.25/docs'
Making install in src
make[1]: se ingresa al directorio `/home/lucas/tmw-0.0.25/src'
g++ -DHAVE_CONFIG_H -I. -I..  -DTMW_DATADIR=\""/usr/local/share/tmw/"\"   -Wall -I/usr/local/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
En el fichero incluído de gui/char_server.cpp:34:
gui/../net/network.h:28:21: error: SDL_net.h: No existe el fichero ó directorio
In file included from gui/char_server.cpp:34:
gui/../net/network.h:111: error: ‘TCPsocket’ no nombra a un tipo
make[1]: *** [tmw-char_server.o] Error 1
make[1]: se sale del directorio `/home/lucas/tmw-0.0.25/src'
make: *** [install-recursive] Error 1

T_T...

Re: Help with install of source 0.0.25

Posted: 04 Aug 2008, 22:33
by Superkoop
run autogen.sh first
And you need Guichan 0.8.1 too. http://guichan.googlecode.com/files/gui ... 8.1.tar.gz
(you need to compile and install this also before anything with TMW)

Other than that, I am out of ideas.

Re: Help with install of source 0.0.25

Posted: 04 Aug 2008, 22:40
by tirano3d
No exist autogen.sh, and the guichan when i type make i have this error :P

Code: Select all

make[2]: se ingresa al directorio `/home/lucas/Escritorio/guichan-0.8.1/src/sdl'
/bin/bash ../../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:50: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:89: error: 'IMG_Load' was not declared in this scope
make[2]: *** [sdlimageloader.lo] Error 1
make[2]: se sale del directorio `/home/lucas/Escritorio/guichan-0.8.1/src/sdl'
make[1]: *** [all-recursive] Error 1
make[1]: se sale del directorio `/home/lucas/Escritorio/guichan-0.8.1/src'
make: *** [all-recursive] Error 1
Sorry for the problem, i am a new user of Linux ... =(

Re: Help with install of source 0.0.25

Posted: 04 Aug 2008, 22:44
by Superkoop

Re: Help with install of source 0.0.25

Posted: 04 Aug 2008, 23:00
by Jaxad0127
tirano3d wrote:No exist autogen.sh
Try "./autogen.sh".

Re: Help with install of source 0.0.25

Posted: 04 Aug 2008, 23:10
by tirano3d
No exist ./autogen.sh , and the link, with this install i have the same error... T_T

Re: Help with install of source 0.0.25

Posted: 05 Aug 2008, 01:32
by Jaxad0127
How did you get the source?

Re: Help with install of source 0.0.25

Posted: 05 Aug 2008, 05:36
by GonzoDark
Follow this link http://forums.themanaworld.org/viewtopic.php?f=7&t=4317 and download "la.sh.tar.gz", when you have downloaded the file, you must unpack it and then run it with this command "sh la.sh" <--

enjoy

// GonzoDark