Difference between revisions of "YAL Guide"
From FreeSpace Wiki
Line 1: | Line 1: | ||
== Step by Step guide to building YAL on Linux == | == Step by Step guide to building YAL on Linux == | ||
− | |||
− | |||
# 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 - | + | # 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 ( | + | # 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 | ||
|- | |- | ||
− | ! | + | ! Distribution |
− | ! | + | ! 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
- Install the YAL dependencies (see the table below)
- Download YAL (http://vega.livecd.pl/~havner/yal/linux/yal-0.3-rc2.tar.bz2)
- Open a terminal window
- Extract the tarball with tar xjf ~/Downloads/yal-0.3-rc2.tar.bz2 (modify the path if you downloaded the tarball elsewhere)
- cd yal/trunk (still need to double check the extraction path)
- ./build-all.sh
- If there were no errors, you should now have a "bin" directory in yal/trunk
- Make the binary executable with chmod 755 bin/fs2_launcher
- Copy bin/fs2_launcher into your FS2 directory (or anywhere in your $PATH that you like)
- Optional: create a shortcut on your desktop
Distribution | Command to install dependencies |
---|---|
Fedora 16 | sudo yum install gcc gcc-c++ make qt qt-devel SDL-devel |
Ubuntu 11.10 (& derivatives) | tba |