Technical support > Linux

New to Linux -- Not Clear On How to Install UFO AI

(1/5) > >>

TC:
I'm new to Linux, and I have a dumb newbie question: I'd like to install UFO AI. I found these instructions: http://ufoai.ninex.info/wiki/index.php/Debian . They seem very complicated. Do I really have to follow those instructions, or is there a simpler procedure that I overlooked?

-TC

Alienator:
C'mon this is not so difficult - just copy and paste... it worked for me and I am an idiot.

If you have a 64bit Ubuntu/Debian version you can simply use the pre-compiled deb packages... I think.

For the 32bit, you have to compile yourself. I just did that 2 days ago (used 2.2.1 before). Notice that 2.3.0 did not work for me, but the current version (the SVN version as explained in the link you posted) works with only few bugs.
Some tips:
To get started, after you download the source from SVN (follow the link you posted), open a terminal and go to the directory where you downloaded the code to, where you will find a file named: "configure". Start following the "compile" section of the guide from there (skip compiling the maps! see below).

To save yourself A LOT of time, do not compile the maps - go to contrib/scripts/ directory when you downloaded the source and there you will find "map-get.py". Run that ("./map-get.py") and it will download pre-compiled maps.

If you use Ubuntu/Debian, do not "make install". Instead, skip to the "Building Debian packages " section and do the "make deb". After it finishes you will find several *.deb files one directory above your current. To install all of them:
sudo dpkg -i *.deb

"

TC:
Okay, I'll try it. I just wanted to double-check before I started. To a newbie, it seems very suspicious that I would need to work through a 12-step procedure just to install a program. After all, if it were really just cut-and-paste, wouldn't someone have made a script to automate it?

-TC

queue:
It's not a simple installation, you have to build the game from the bottom yourself.

If you have a 64bit environment, better download some files to doubleclick:

http://sourceforge.net/projects/ufoai/files/UFO_AI%202.x/2.3/ufoai-data_2.3_all.deb/download
http://sourceforge.net/projects/ufoai/files/UFO_AI%202.x/2.3/ufoai-common_2.3_amd64.deb/download
http://sourceforge.net/projects/ufoai/files/UFO_AI%202.x/2.3/ufoai_2.3_amd64.deb/download
http://sourceforge.net/projects/ufoai/files/UFO_AI%202.x/2.3/ufoai-music_2.3_all.deb/download

The Files have to be installed in the right order, hope I got it right. Perhaps you need to install other dependencies (let ubuntu do it for you), they should be all in the software repository with one exception. The newest sdl-mixer has to be used, or you will face this error: http://ufoai.ninex.info/forum/index.php?topic=5052.0

You can extend your repository with a PPA, containing the newer sdl-mixer:

--- Code: ---sudo add-apt-repository ppa:dnjl/games
--- End code ---

TC:
I tried the installation process described at http://ufoai.ninex.info/wiki/index.php/Debian , but I didn't get very far. When I ran this line

  svn co https://ufoai.svn.sourceforge.net/svnroot/ufoai/ufoai/trunk

some file names scrolled by, but then the command window just hung. I let it sit for about 8 hours just to be sure it wasn't working, then I closed it. Now, when I try to re-run that line, I get this message:

  svn: Working copy 'trunk' locked
  svn: run 'svn cleanup' to remove locks (type 'svn help cleanup' for details)

When I run "svn cleanup trunk", I get this message:

  svn: In directory 'trunk/base/textures'
  svn: Error processing command 'modify-wcprop' in 'trunk/base/textures'
  svn: 'trunk/base/textures/license.txt' is not under version control

So, I'm stuck until I either learn more about svn or get some advice from an expert. Can anyone point me in the right direction to get my install back on track?

Disregard that question. I worked it out by moving folders and starting over. This time, I got all the way through the install process. My thanks to Alienator for the tip about downloading maps.

Unfortunately, the install doesn't seem to have worked. When I run the program, I get a splash screen that just hangs. I can't even close it. My system monitor tells me the process "ufo" is using 175 MiB of memory and sleeping, waiting on channel "futex_wait_queue_me".

I'm not sure what to do next -- probably a lot of research and trial-and-error tinkering. If anyone has any suggestions, I'd appreciate the advice.


-TC

Navigation

[0] Message Index

[#] Next page

Go to full version