Home Screenshots Features Compilation and installation help

How to compile and install

So far the only way to install Sinatra is by compiling it from source code. This page is instructions to make that easy. It describes how to get and use the latest version of Sinatra from the SVN repository.

If you run Debian or Ubuntu or similar, you can install the packages required to build the default configuration which can play music videos by running the following command. For other operating systems, similar programs are required, but installed in a different way.

sudo apt-get install \
automake \
build-essential \
libavformat-dev \
libfreetype6-dev \
libfreetype6-dev \
libsdl-image1.2-dev \
portaudio19-dev \
subversion

Sinatra also requires FreeSans.ttf to be present in /usr/share/fonts/truetype/freefont/. If it isn't there, you can get FreeSans from here. (259 kB)

The following commands will do the rest:

svn checkout svn://gussoh.se/sinatra # Download Sinatra from SVN
cd sinatra # Change into the directory where Sinatra was downloaded
./bootstrap # Run the included bootstrap script to create configure script
./configure # Run the configure script just created
make
sudo make install

You can make Sinatra print debug messages by configuring with ./configure --enable-debug. Debug messages are useful to learn how Sinatra works.

You can always upgrade your local copy of Sinatra to the very latest by running svn update.

Now Sinatra is ready to run. Find it in your application menu or run the program sinatra.

You also need songs to use most of Sinatra. Songs must be in a special format for karaoke games. You can put songs in .sinatra/songs in your home directory. Try this to get the Free Software Song performed by Thor:

wget http://sinatra.nu/thor_-_free_software_song.tar.gz
mkdir -p ~/.sinatra/songs
tar xzf thor_-_free_software_song.tar.gz -C ~/.sinatra/songs

Please feel free to ask for help about Sinatra. Send email to fredrik@jemla.se