Heavy, Engine, Ear
HeavyEngineer
Published on

Compile IDJC for Fedora core 15

Compile IDJC for Fedora core 15

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-develflac-devellibmp4v2-devel flac-devel qjackctl

Download and compile lame encoder. If pkg-config cant find the headers, then export the library locations

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

Download the idjc source (https://idjc.sourceforge.io/) and run

./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/