Page 1 of 1

scource code compiling under ubuntu

Posted: 03 Jan 2008, 23:46
by impcnrd
hi i need help.
i'm new to source code compiling and my copy of tmw would crash while playing in version 0.0.23 and i can't update so i got the source code for .24 and i'm trying to compile it and i get this message
"make[1]: *** No rule to make target `.deps/tmw-xml.Po'. Stop.
make[1]: Leaving directory `/tmw'
make: *** [build-stamp] Error 2"
what do i have to do to fix this and finish compiling the code???
:x :x :x :( :( :( :( :( :( :( :(

Posted: 03 Jan 2008, 23:54
by Crush
Moved to UNIX support

Posted: 04 Jan 2008, 09:12
by ElvenProgrammer
Try posting the whole compiler log

Installing 0.0.24 on Ubuntu Gutsy 7.10

Posted: 04 Jan 2008, 18:55
by blueberry
1.) Uninstall previous installed versions of tmw and guichan with Synaptic
2.) Get Guichan 0.7.1-1 from the hardy-repositories:

http://packages.ubuntu.com/hardy/libs/libguichan2
http://packages.ubuntu.com/hardy/libdev ... ichan2-dev

and download the .deb packages for your architecture, then install with sudo dpkg -i *.deb or with Gdebi-Package-Manager in X.

3.) Now install the other dependencies:

sudo apt-get install libsdl-net1.2-dev && sudo apt-get install libsdl-mixer1.2-dev && sudo apt-get install libphysfs-dev && sudo apt-get install libcurl4-gnutls-dev && sudo apt-get install libxml2-dev

4.) Get the source of tmw-0.0.24 from

http://prdownloads.sourceforge.net/them ... z?download

unpack and compile:

sudo ./configure
sudo make
sudo make install

5.) That's it - start with tmw in console, or have a look at applications/games in X

Re: Installing 0.0.24 on Ubuntu Gutsy 7.10

Posted: 07 Jan 2008, 14:30
by Bjørn
blueberry wrote:3.) Now install the other dependencies:

sudo apt-get install libsdl-net1.2-dev && sudo apt-get install libsdl-mixer1.2-dev && sudo apt-get install libphysfs-dev && sudo apt-get install libcurl4-gnutls-dev && sudo apt-get install libxml2-dev

4.) Get the source of tmw-0.0.24 from

http://prdownloads.sourceforge.net/them ... z?download

unpack and compile:

sudo ./configure
sudo make
sudo make install
Nice instructions, however, consider:

3. Running one command to install those dependencies:

sudo apt-get install libsdl-net1.2-dev libsdl-mixer1.2-dev libphysfs-dev libcurl4-gnutls-dev libxml2-dev

4. Don't run configure and make as root!

./configure
make
sudo make install

Re: scource code compiling under ubuntu

Posted: 16 Mar 2008, 18:52
by Drmgiver
Ooooor sudo checkinstall -D

Though would you need the data or music files from the repository?

Re: scource code compiling under ubuntu

Posted: 01 Apr 2008, 07:11
by Bjørn
Drmgiver wrote:Ooooor sudo checkinstall -D

Though would you need the data or music files from the repository?
The necessary data files are included in the release, and the rest is downloaded automatically by the client. The music is optional, it just won't play if you don't install it.