Compile for Solaris

From UFO:AI
Revision as of 08:45, 17 August 2010 by Mattn (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

  • gcc 1
  • gmake 1
  • a PATH to use gcc ( PATH=$PATH:/usr/sfw/bin:/usr/ccs/bin )

1 : included in SXDE

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

OpenSolaris

https://sourceforge.net/apps/mediawiki/pkgbuild/index.php?title=Pkgbuild_on_OpenSolaris