How to compile IDJC with mp3 support on 64bit Fedora Core 15

IDJC (Internet Disc Jockey Console) is the app you want to use if you need to run a traditional DJing setup with multiple mics for the DJ plus guests (skype is supported amongst others) and have two decks with which to crossfade and pitch correct mp3s into the mix. In addition it all integrates with jackd so you can output whatever you need to wherever you need it. It's been rock solid for me so far and i can't reccomend it enough. You can read about it here http://idjc.sourceforge.net/

So here are the instructions for a 64Bit Fedora install (Me and Ubuntu are no longer on speaking terms...)

Install some dependencies.

sudo yum install gcc glibc-devel glibc-headers kernel-headers python pygtk2 pygtk2-devel pygobject2 pygobject2-devel jack-audio-connection-kit jack-audio-connection-kit-devel libsamplerate libsamplerate-devel libsndfile-devel speex speex-devel python-mutagen lame lame-devel ffmpeg-devel libshout-devel libmad-devel faad2-devel flac-devel libmp4v2-devel flac-devel qjackctl

Download and compile lame encoder from here http://lame.sourceforge.net/

If pkg-config cant find the right stuff then export some env vars

export LIBAVCODEC_LIBS=/usr/include/libavcodec/avcodec.h
export LIBMAD_LIBS=/usr/lib64/libmad.so.0

Download the idjc source from http://sourceforge.net/projects/idjc/

$ ./configure CFLAGS="-O2"
$ make
$ sudo make install

check these two lines in /usr/local/bin/idjc

# These two are set by make
pyexecdir=/usr/local/lib/python2.7/site-packages
export pkgpyexecdir=/usr/local/lib/python2.7/site-packages/idjc

add this to /etc/security/limits.conf

@audio          -       rtprio          100
@audio          -       nice            -10

Add yourself to the jackuser group

sudo usermod -a -G jackuser yourusername

if it moans about not finding libmp3lame.so.0 do this

sudo ln -s /usr/local/lib/libmp3lame.so.0 /usr/lib64/

Tada.

3 Comments

Add new comment