Technical support > Linux

UFO AI2.5 deb package

(1/4) > >>

cevaralien:
I´m linux user, but i don´t understand how to compile the game. It´s possible to get it in a .deb package?

anonymissimus:
I find it generally easier and more stable to compile programs instead of getting them by other means in the case of Linux.
The apt system makes getting prerequisites easy. Successful compilation makes it very likely program will run without problems. Can be run just from the compilation directory, .deb forces you to install it and scatter the stuff all over the OS. Getting needed .debs and such seems to fail much less for me when I compile things. Getting up-to-date .debs is sometimes difficult or not possible (as for you just now with UFO AI).
So, it's worth learning to compile I'd say. Guides are usually up-to-date and easy to follow.

Gwin:
I've just found 2.5 Debian/Ubuntu binaries at PlayDeb.

cevaralien:
Ok. I followed the compilance guide but i have many questions. I'm new with Linux so, be patient  ;D

1. I downloaded these files: ufoai-2.5-source.tar.bz2 , ufoai-2.5-data.tar and ufoai-2.5-mappack.tar.bz2

2. I unpack these files.

3. I installed all the packages.  http://ufoai.org/wiki/Debian

Where i must begin to do ./configure and make? I do it in the "ufoai-2.5-source" folder and after that the make. But i don't know if it works or not. I don't know how to run the game.

Can someone gives me a more specific procedure to compile the game? Thanks

geever:
I write this out of mind so I might be wrong on some details, I'll try to confirm it in the next few days. But "it should work" (TM).

I think you don't need the mappack if you have the data tar as it should contain the compiled maps already. Mappack is the map sources for map makers IIRC.

The step-by-step instructuctions:
1. Create a directory for ufoai. It will be ~/ufoai in this guide.
2. Unpack ufoai-2.5-source.tar.bz2 into ~/ufoai
3. Create ~/ufoai/base directory
4. Unpack ufoai-2.5-data.tar into ~/ufoai/base
5. From ~/ufoai, run `make'. It will run `configure' first time
6. From ~/ufoai, run `make lang'. This will compile the translation files.
7. Run `ufo'


-geever

Navigation

[0] Message Index

[#] Next page

Go to full version