Difference between revisions of "YAL Guide"

From FreeSpace Wiki
Jump to: navigation, search
Line 1: Line 1:
 
== Step by Step guide to building YAL on Linux ==
 
== Step by Step guide to building YAL on Linux ==
 
=== Common Steps ===
 
  
 
# Install the YAL dependencies (see the table below)
 
# Install the YAL dependencies (see the table below)
# Download YAL (http://vega.livecd.pl/~havner/yal/linux - check if you need to get this via subversion?)
+
# Download YAL (http://vega.livecd.pl/~havner/yal/linux/yal-0.3-rc2.tar.bz2)
 
# Open a terminal window
 
# Open a terminal window
# Extract the tarball (double check naming and extraction paths)
+
# Extract the tarball with <tt>tar xjf ~/Downloads/yal-0.3-rc2.tar.bz2</tt> (modify the path if you downloaded the tarball elsewhere)
# cd yal/trunk
+
# <tt>cd yal/trunk</tt> (still need to double check the extraction path)
# ./build-all.sh
+
# <tt>./build-all.sh</tt>
 +
# If there were no errors, you should now have a "bin" directory in yal/trunk
 +
# Make the binary executable with <tt>chmod 755 bin/fs2_launcher</tt>
 +
# Copy bin/fs2_launcher into your FS2 directory (or anywhere in your $PATH that you like)
 +
# Optional: create a shortcut on your desktop
 +
 
 +
 
  
 
{| border="1" cellpadding="2"
 
{| border="1" cellpadding="2"
 
|+ YAL Library Dependencies
 
|+ YAL Library Dependencies
 
|-
 
|-
! Distro
+
! Distribution
! Dependencies
+
! Command to install dependencies
 
|-
 
|-
 
| Fedora 16
 
| Fedora 16

Revision as of 10:11, 12 December 2011

Step by Step guide to building YAL on Linux

  1. Install the YAL dependencies (see the table below)
  2. Download YAL (http://vega.livecd.pl/~havner/yal/linux/yal-0.3-rc2.tar.bz2)
  3. Open a terminal window
  4. Extract the tarball with tar xjf ~/Downloads/yal-0.3-rc2.tar.bz2 (modify the path if you downloaded the tarball elsewhere)
  5. cd yal/trunk (still need to double check the extraction path)
  6. ./build-all.sh
  7. If there were no errors, you should now have a "bin" directory in yal/trunk
  8. Make the binary executable with chmod 755 bin/fs2_launcher
  9. Copy bin/fs2_launcher into your FS2 directory (or anywhere in your $PATH that you like)
  10. Optional: create a shortcut on your desktop


YAL Library Dependencies
Distribution Command to install dependencies
Fedora 16 sudo yum install gcc gcc-c++ make qt qt-devel SDL-devel
Ubuntu 11.10 (& derivatives) tba