Linux Build Instructions
From AlephWiki
Contents |
[edit]
Make sure you have the required libraries installed
Most distributions package these libraries, so you just have to use the package system to make sure they're installed
- Boost
- Contains many useful template libraries that haven't made it into mainstream C++ yet
- SDL
- SDL_Net
- SDL_Image
- (Optional) SDL_ttf
- For TrueType font rendering
- (Optional) libmad
- For mp3 music playback
- (Optional) libvorbis
- For Ogg/Vorbis music playback
- (Optional) libsndfile
- For improved AIFF/WAV support, including IMA compression
- (Optional) Speex
- For realtime audio payback (net-mic)
- You must use ALSA if you want to transmit with the net-mic
- (Optional) SMPEG
- For MPEG movie cutscene playback (rarely used in scenarios)
[edit]
Get the source (choose one)
- Download the latest release tarball
- Get bleeding edge, experimental source from CVS (AccessCVS)
[edit]
Compile
- If you downloaded from CVS, in the alephone directory, run:
sh autogen.sh
or if you downloaded a tarball, in the alephone directory, run:
./configure
- Then type:
make
That's all there is to it!
[edit]
Distro-specific notes
[edit]
Ubuntu
- Ubuntu does not install a compiler by default. The easiest way to fix this is to install the
build-essentialspackage. Also, ensure you install package-dev as well as package when dealing with the requirements listed above so you have source as well as binaries - One user reported having to pass --build=i686-unknown-linux-gnu into ./configure to get it to build
[edit]
Fedora
- smpeg and libmad aren't available in the standard Fedora repository, because they play back mp3s. You can get them by enabling the Livna repository, by installing this RPM.
