Libmikmod-3.1.11

Introduction to Libmikmod

libmikmod is a sound library capable of playing audio samples as well as tracker modules. Supported module formats include MOD, S3M, XM, IT, MED, MTM and 669.

Package Information

Additional Downloads

Libmikmod Dependencies

Optional

ALSA-1.0.13, EsounD-0.2.37, libGUS, AFlib and SAM9407 driver

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/libmikmod

Installation of Libmikmod

Install libmikmod by running the following commands:

patch -Np1 -i ../libmikmod-3.1.11-a.diff &&
sed -i -e "s/VERSION=10/VERSION=11/" \
       -e "s/sys_asoundlib/alsa_asoundlib/" \
       -e "s/snd_cards/snd_card_load/g" \
       -e "s|sys/asoundlib.h|alsa/asoundlib.h|g" \
       -e "s/^LIBOBJS/#LIBOBJS/" \
    configure.in &&
autoconf &&
./configure --prefix=/usr &&
make

Now, as the root user:

make install &&
chmod 755 /usr/lib/libmikmod.so.2.0.4 &&
install -v -m644 -D docs/mikmod.html \
    /usr/share/doc/libmikmod-3.1.11/mikmod.html

Command Explanations

sed -i -e ...: This increments the package micro version and also modifies the ALSA header search routine so that the package properly discovers the ALSA library. It also fixes a problem which makes autoconf fail.

autoconf: This generates a new configure script, required because of the changes to configure.in.

Contents

Installed Program: libmikmod-config
Installed Library: libmikmod.{so,a}
Installed Directory: /usr/share/doc/libmikmod-3.1.11

Short Descriptions

libmikmod-config

provides version information, compiler, and linker flags to programs that utilize libmikmod.

libmikmod.{so,a}

contains functions that are required to play various tracker module files.

Last updated on 2007-07-14 18:27:07 -0500