Difference between revisions of "FS2 Open on Solaris"
(→Compile FS2: Clarified current compiling issues.) |
(Clarifed Jansson installation instructions since it's not as straight forward as I would like.) |
||
Line 16: | Line 16: | ||
<li>developer/versioning/git</li> | <li>developer/versioning/git</li> | ||
<li>developer/build/cmake</li> | <li>developer/build/cmake</li> | ||
− | |||
</ul> | </ul> | ||
Line 22: | Line 21: | ||
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 ..':<br /> | 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 ..':<br /> | ||
cmake -DCMAKE_INSTALL_PREFIX=/usr .. | cmake -DCMAKE_INSTALL_PREFIX=/usr .. | ||
+ | |||
+ | == Install Jansson == | ||
+ | [http://www.digip.org/jansson/ Jansson] is the JSON library for C that is needed for the new WebUI dedicated server code. There is currently no Solaris package, so you will have to compile this from source. The latest version I can get working out of the box on Solaris 11.1 is [http://www.digip.org/jansson/releases/jansson-2.5.tar.gz Jansson 2.3]. Download the archive, extract it, cd into the new directory, then: | ||
+ | <ul> | ||
+ | <li>./configure --prefix=/usr</li> | ||
+ | <li>gmake</li> | ||
+ | <li>gmake check</li> | ||
+ | <li>sudo gmake install</li> | ||
+ | </ul> | ||
+ | That will give you an installation of Jansson which pkg-config can find with no other environment editing required. Keep the jansson-2.3 folder around if you think you might want to run 'sudo gmake uninstall' at some point down the line, like if jansson ever gets into the package manager, or you want to upgrade. | ||
== Compile FS2 == | == Compile FS2 == | ||
Line 29: | Line 38: | ||
<li>./autogen.sh</li> | <li>./autogen.sh</li> | ||
<li>gmake</li> | <li>gmake</li> | ||
− | <li>TODO: Figure out why it can't find libGL.so.1 or the jpeg | + | <li>TODO: Figure out why it can't find libGL.so.1 or the jpeg symbols in the virtual machine. See if a full blown desktop install has similar issues.</li> |
<li>cp code/fs2_open_* ../</li> | <li>cp code/fs2_open_* ../</li> | ||
</ul> | </ul> |
Revision as of 22:11, 1 November 2013
Contents
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 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 ..
Install Jansson
Jansson is the JSON library for C that is needed for the new WebUI dedicated server code. There is currently no Solaris package, so you will have to compile this from source. The latest version I can get working out of the box on Solaris 11.1 is Jansson 2.3. Download the archive, extract it, cd into the new directory, then:
- ./configure --prefix=/usr
- gmake
- gmake check
- sudo gmake install
That will give you an installation of Jansson which pkg-config can find with no other environment editing required. Keep the jansson-2.3 folder around if you think you might want to run 'sudo gmake uninstall' at some point down the line, like if jansson ever gets into the package manager, or you want to upgrade.
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 or the jpeg symbols in the virtual machine. See if a full blown desktop install has similar issues.
- cp code/fs2_open_* ../