Compile for Solaris

From UFO:AI

Contents

General

Just run ./configure and gmake to compile the game.

Note : I'm using Solaris Express Developer Edition 05/07 (SXDE) with oss Drivers, with Solaris 10, you may have others steps to do.

Requirements

In order to compile UFO:Alien Invasion under Solaris you need to install some packages. First of all make sure, that you have gcc installed.

  • gcc 1
  • OpenGL-header files 1
  • ogg vorbis header 1
  • libjpeg6 header 1
  • libpng header 1
  • libcurl header
  • SDL (including the package 'sdl-ttf')
    • SDL version >= 1.2.10
    • SDL_ttf version >= 2.0.7
  • gmake 1
  • a PATH to use gcc ( PATH=$PATH:/usr/sfw/bin:/usr/ccs/bin )

1 : included in SXDE

Getting the source

Have a look at our SVN section to find out how to obtain the code.

Compile

After getting the code you just need to do:

 $ ./configure
 $ gmake

There are some options available on how to compile the code. Please have a look at the ./configure --help. After compiling there will be a debugARCH/ dir (where ARCH may be i386) which includes the binaries. They are copied by the makefile to the right folders. Now you are ready to run the game by typing ./ufo at svn root.

Note : the gmake update-po fails

If you use a recent SVN snapshot with no separate data package, remember to compile the maps, too. You can also grab pre-compiled maps from mattn.ninex.info

project-navigation