Technical support > Linux

Linux Repositories (Ubuntu)

<< < (2/4) > >>

Destructavator:

--- Quote from: leavelllusion on December 04, 2009, 06:30:56 pm ---How can I grab SVN and download latest develop version?

--- End quote ---

http://ufoai.ninex.info/wiki/index.php/Getting_the_source

and

http://ufoai.ninex.info/wiki/index.php/Debian

QkiZ:
There are packages for Debian / Ubuntu:
http://www.spyrius.com/ufoai_debs/i386/

leyon:
Hi, just grabbed the 2.3 source off svn. I'm running Jaunty and there seems to be a problem running ./configure. I've got libsdl-image1.2-dev installed via Synaptic (where SDL_image resides, apparently) but the script is unable to locate it. It also cannot find the SDL_mixer libraries as well. Am I missing something here?

docwild:

--- Code: ---sudo apt-get install make gcc subversion build-essential\
   libglib2.0-dev libgtk2.0-dev libgtkglext1-dev libgtksourceview2.0-dev\
   libsdl1.2-dev libsdl-ttf2.0-dev libsdl-image1.2-dev libvorbis-dev zlib1g-dev gettext libtheora-dev \
   libjpeg62-dev libpng12-dev libncurses5-dev libcurl3-dev libsdl-mixer1.2-dev \
   libxml2-dev libopenal-dev
--- End code ---

will install the dependencies, libraries and software. Just copy and paste the whole lot into a terminal it will only install what isn't already on your system. ./configure should then work.

Follow the instructions here to make and install it (it'd probably be quicker to download the maps):

http://ufoai.ninex.info/wiki/index.php/Debian

After its finished, it wont take long to keep it updated. I cd into the build directory and I use this line:


--- Code: ---svn up && make && make lang && make maps && make pk3 && make uforadiant && sudo make install && sudo make install_data
--- End code ---

Which downloads modified source code and compiles only what's changed, if you've already done a full compile before. Modify the line for a lesser compile or you might be there for some time. Make sure you run it with the ./ufo script in the build directory ('./ufo' on command line in build)  rather than the executable in your path ('ufo' on a command line from anywhere). Hope this helps.






leyon:
That's the weird thing - I have the latest versions of all those packages. When I use that command it says everything is already installed but ./configure itself cannot find SDL_image, SDL_mixer and Mix_OpenAudio libraries.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version