Difference between revisions of "FS2 Open on Solaris"

From FreeSpace Wiki
Jump to: navigation, search
(Compile FS2: Use gmake instead of make)
(Added Jansson to required dependencies.)
Line 16: Line 16:
 
<li>developer/versioning/git</li>
 
<li>developer/versioning/git</li>
 
<li>developer/build/cmake</li>
 
<li>developer/build/cmake</li>
 +
<li>Install [http://www.digip.org/jansson/ Jansson], it may not be available as a package but can be installed from source.</li>
 
</ul>
 
</ul>
  

Revision as of 18:21, 18 October 2013

Grab a copy of Solaris

Download the Oracle Solaris 11.1 x86 VirtualBox Appliance, update the guest additions, or install Solaris 11.1 for x86 on a desktop PC.

Install needed dependencies

  • developer/gcc-45
  • system/library/gcc-45-runtime
  • developer/build/autoconf
  • developer/build/automake
  • developer/build/gnu-make
  • library/readline
  • runtime/lua
  • developer/versioning/subversion
  • library/sdl
  • developer/versioning/git
  • developer/build/cmake
  • Install Jansson, it may not be available as a package but can be installed from source.

Install OpenAL

This is why git and cmake were installed while you had the package manager open. Clone the latest openal-soft from http://kcat.strangesoft.net/openal.html, follow its build instructions, except use the following command instead of 'cmake ..':
cmake -DCMAKE_INSTALL_PREFIX=/usr ..

Compile FS2

  • svn co svn://svn.icculus.org/fs2open/trunk/fs2_open/
  • cd fs2_open
  • ./autogen.sh
  • gmake
  • TODO: Figure out why it can't find libGL.so.1 in the virtual machine. See if a full blown desktop install has similar issues.
  • cp code/fs2_open_* ../

References

Building FS2_Open on OpenSolaris
Building OpenAL on Solaris