BuildBits » History » Version 5
« Previous -
Version 5/21
(diff) -
Next » -
Current version
Chris Cannam, 2011-10-05 12:29 PM
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 cd .. sudo cp ~/code/svcore/plugin/api/ladspa.h /usr/local/include hg clone http://hg.breakfastquay.com/rubberband cd rubberband/ ./configure make sudo make install cd .. wget http://download.librdf.org/source/raptor2-2.0.4.tar.gz tar xvzf raptor2-2.0.4.tar.gz cd raptor2-2.0.4 ./configure --enable-static --with-www=xml make >make.log 2>&1 && sudo make install cd .. wget http://download.librdf.org/source/rasqal-0.9.27.tar.gz tar xvzf rasqal-0.9.27.tar.gz cd rasqal-0.9.27 ./configure --with-decimal=none --enable-static=yes --enable-query-languages=sparql make >make.log 2>&1 && sudo make install cd .. wget http://download.librdf.org/source/redland-1.0.14.tar.gz tar xvzf redland-1.0.14.tar.gz cd redland-1.0.14 ./configure --enable-static=yes --with-sqlite=no --with-mysql=no --with-bdb=no make >make.log 2>&1 && sudo make install QTDIR=/home/cannam/qt-464-dynamic ./configure