BuildBits » History » Version 3

« Previous - Version 3/21 (diff) - Next » - Current version
Chris Cannam, 2011-10-05 11:11 AM


Build Bits

We deliberately use out-of-date systems for SV and Sonic Annotator builds, so as to try to ensure the result works on as many machines as possible. These are some random notes piled up during build configuration.

Linux

Centos 5.4 32-bit

First add /usr/local/lib to /etc/ld.so.conf. Even where we ultimately link statically, we use dynamic libraries during dependency builds.

cd ~/code
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/:$PKG_CONFIG_PATH
wget http://fftw.org/fftw-3.3.tar.gz
tar xvzf fftw-3.3.tar.gz 
cd fftw-3.3
./configure --enable-single
make > make.log 2>&1 && sudo make install
./configure 
make clean
make > make.log 2>&1 && sudo make install
cd ..
wget http://www.mega-nerd.com/libsndfile/files/libsndfile-1.0.25.tar.gz
tar xvzf libsndfile-1.0.25.tar.gz 
cd libsndfile-1.0.25
./configure --enable-static=yes
make > make.log 2>&1 && sudo make install
cd ..
wget http://www.mega-nerd.com/SRC/libsamplerate-0.1.8.tar.gz
tar xvzf libsamplerate-0.1.8.tar.gz 
cd libsamplerate-0.1.8
./configure --enable-static=yes
make > make.log 2>&1 && sudo make install
cd ..
sudo ldconfig -v
hg clone http://code.soundsoftware.ac.uk/hg/vamp-plugin-sdk
cd vamp-plugin-sdk/
./configure
make
sudo make install

QTDIR=/home/cannam/qt-464-dynamic ./configure