Help with install of source 0.0.25

Ask for help regarding any technical issue or report any bug or OS independent issues.
Post Reply
tirano3d
Peon
Peon
Posts: 5
Joined: 04 Aug 2008, 20:59

Help with install of source 0.0.25

Post 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.
User avatar
Jaxad0127
Manasource
Manasource
Posts: 4209
Joined: 01 Nov 2007, 17:35
Location: Internet

Re: Help with install of source 0.0.25

Post 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.
Image
tirano3d
Peon
Peon
Posts: 5
Joined: 04 Aug 2008, 20:59

Re: Help with install of source 0.0.25

Post by tirano3d »

I have all, i dont now what happens!


:cry:
User avatar
Jaxad0127
Manasource
Manasource
Posts: 4209
Joined: 01 Nov 2007, 17:35
Location: Internet

Re: Help with install of source 0.0.25

Post by Jaxad0127 »

Did you install their dev packages as well?
Image
User avatar
Superkoop
Warrior
Warrior
Posts: 265
Joined: 11 Feb 2008, 00:09
Location: South Dakota in the US of A
Contact:

Re: Help with install of source 0.0.25

Post 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)
In game I am Xaru
On forums I am Superkoop
IRL I am John
-View World map-
User avatar
Sanga
Novice
Novice
Posts: 70
Joined: 16 Mar 2008, 21:57

Re: Help with install of source 0.0.25

Post 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.
tirano3d
Peon
Peon
Posts: 5
Joined: 04 Aug 2008, 20:59

Re: Help with install of source 0.0.25

Post 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...
User avatar
Superkoop
Warrior
Warrior
Posts: 265
Joined: 11 Feb 2008, 00:09
Location: South Dakota in the US of A
Contact:

Re: Help with install of source 0.0.25

Post 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.
In game I am Xaru
On forums I am Superkoop
IRL I am John
-View World map-
tirano3d
Peon
Peon
Posts: 5
Joined: 04 Aug 2008, 20:59

Re: Help with install of source 0.0.25

Post 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 ... =(
User avatar
Superkoop
Warrior
Warrior
Posts: 265
Joined: 11 Feb 2008, 00:09
Location: South Dakota in the US of A
Contact:

Re: Help with install of source 0.0.25

Post by Superkoop »

In game I am Xaru
On forums I am Superkoop
IRL I am John
-View World map-
User avatar
Jaxad0127
Manasource
Manasource
Posts: 4209
Joined: 01 Nov 2007, 17:35
Location: Internet

Re: Help with install of source 0.0.25

Post by Jaxad0127 »

tirano3d wrote:No exist autogen.sh
Try "./autogen.sh".
Image
tirano3d
Peon
Peon
Posts: 5
Joined: 04 Aug 2008, 20:59

Re: Help with install of source 0.0.25

Post by tirano3d »

No exist ./autogen.sh , and the link, with this install i have the same error... T_T
User avatar
Jaxad0127
Manasource
Manasource
Posts: 4209
Joined: 01 Nov 2007, 17:35
Location: Internet

Re: Help with install of source 0.0.25

Post by Jaxad0127 »

How did you get the source?
Image
User avatar
GonzoDark
Warrior
Warrior
Posts: 327
Joined: 21 Apr 2007, 09:27
Location: Denmark

Re: Help with install of source 0.0.25

Post 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
IchigoBlack (86) a.k.a GonzoDark (80) || HolyManaClan

Image
Post Reply