libSIDPlay2 installation

As of now, most Linux/BSD/etc OS distributions already include libSIDPlay2 packages, but some of those may be too old or incompatible with XMMS-SID. (Debian/Ubuntu libSIDPlay2 packages are compatible, but may suffer from a GCC4.x bug.)

This document describes overall requirements and procedure for installation of libSIDPlay2 package compatible with XMMS-SID and its fork ("Audacious-SID") in Audacious media player.

Download

These are snapshots from libSIDPlay2 CVS combined with some of my own portability fixes and patches and I've verified that these work at least on various Linux distributions, Solaris 9 (you need gcc3, etc) and NetBSD. I do not provide any support for these modified packages, but I hope they work better than the current official releases (which are, as of writing this, two years old).

Installation

NOTICE Under Solaris you may run into a linking problem, because of a bug in GCC's libtool, please read this mailing list thread for more information.

As the installation procedure of libSIDPlay2 is not completely transparent or simple, I describe here the steps how to do it (hopefully) in a succesful manner:

  1. Get libSIDPlay2, reSID and reSID-builder packages.

  2. Build reSID (you may need to invoke 'gmake' instead of 'make'):
    tar -xzvf resid-0.16-p2+0.3-ccr.tar.gz
    cd resid-0.16-p2+0.3-ccr
    ./configure
    make
    There is no need to do "make install", just leave the build directory intact, you will need the contents when compiling reSID-builder below.

  3. Build libSIDPlay2 similarly, but this time do install. Untar the package as usual and ...
    tar -xzvf libsidplay-2.1.1+ccr-20090322.tar.gz
    cd libsidplay-2.1.1+ccr-20090322
    ./configure
    make
    make install
    You have to do "make install" as root.

  4. Build reSID-builder in similar manner, but with specific configure parameters. As usual, untar the package and ...
    tar -xzvf resid-builder-1.0.1+ccr-20090322.tar.gz
    cd resid-builder-1.0.1+ccr-20090322.tar.gz
    ./configure --with-resid=/path/to/resid-0.16-p2+0.3-ccr
    make
    make install
    NOTICE! Obviously you have to change the /path/to/ the correct location where you compiled the reSID-package. Also, "make install" has to be run as root.

  5. If all went well and without errors, you now should have libSIDPlay2 installed with reSID software SID emulation backend.

  6. Install XMMS-SID, instructions are available in the tar package.

Optional

In addition to library packages required by XMMS-SID, you may wish to install the commandline SIDPlay2 player, using steps described below.

  1. Build libsidutils:
    tar -xzvf libsidutils-1.0.5+ccr-20090322.tar.gz
    cd libsidutils-1.0.5+ccr-20090322
    ./configure
    make
    make install
    You have to do "make install" as root.

  2. Build SIDPlay2:
    tar -xzvf sidplay-2.0.10+ccr-20090322.tar.gz
    cd sidplay-2.0.10+ccr-20090322
    ./configure
    make
    make install
    You have to do "make install" as root.


If you have any ideas how to improve this small guide, feel free to contact me via e-mail: ccr (@) tnsp [dot] org

1 2