BuildBits » History » Version 3
Chris Cannam, 2011-10-05 11:11 AM
1 | 1 | Chris Cannam | h1. Build Bits |
---|---|---|---|
2 | 1 | Chris Cannam | |
3 | 1 | Chris Cannam | 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. |
4 | 1 | Chris Cannam | |
5 | 1 | Chris Cannam | h2. Linux |
6 | 1 | Chris Cannam | |
7 | 1 | Chris Cannam | h3. Centos 5.4 32-bit |
8 | 2 | Chris Cannam | |
9 | 3 | Chris Cannam | First add @/usr/local/lib@ to @/etc/ld.so.conf@. Even where we ultimately link statically, we use dynamic libraries during dependency builds. |
10 | 3 | Chris Cannam | |
11 | 1 | Chris Cannam | <pre> |
12 | 3 | Chris Cannam | cd ~/code |
13 | 3 | Chris Cannam | export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/:$PKG_CONFIG_PATH |
14 | 3 | Chris Cannam | wget http://fftw.org/fftw-3.3.tar.gz |
15 | 3 | Chris Cannam | tar xvzf fftw-3.3.tar.gz |
16 | 3 | Chris Cannam | cd fftw-3.3 |
17 | 3 | Chris Cannam | ./configure --enable-single |
18 | 3 | Chris Cannam | make > make.log 2>&1 && sudo make install |
19 | 3 | Chris Cannam | ./configure |
20 | 3 | Chris Cannam | make clean |
21 | 3 | Chris Cannam | make > make.log 2>&1 && sudo make install |
22 | 3 | Chris Cannam | cd .. |
23 | 3 | Chris Cannam | wget http://www.mega-nerd.com/libsndfile/files/libsndfile-1.0.25.tar.gz |
24 | 3 | Chris Cannam | tar xvzf libsndfile-1.0.25.tar.gz |
25 | 3 | Chris Cannam | cd libsndfile-1.0.25 |
26 | 3 | Chris Cannam | ./configure --enable-static=yes |
27 | 3 | Chris Cannam | make > make.log 2>&1 && sudo make install |
28 | 3 | Chris Cannam | cd .. |
29 | 3 | Chris Cannam | wget http://www.mega-nerd.com/SRC/libsamplerate-0.1.8.tar.gz |
30 | 3 | Chris Cannam | tar xvzf libsamplerate-0.1.8.tar.gz |
31 | 3 | Chris Cannam | cd libsamplerate-0.1.8 |
32 | 3 | Chris Cannam | ./configure --enable-static=yes |
33 | 3 | Chris Cannam | make > make.log 2>&1 && sudo make install |
34 | 3 | Chris Cannam | cd .. |
35 | 3 | Chris Cannam | sudo ldconfig -v |
36 | 3 | Chris Cannam | hg clone http://code.soundsoftware.ac.uk/hg/vamp-plugin-sdk |
37 | 3 | Chris Cannam | cd vamp-plugin-sdk/ |
38 | 3 | Chris Cannam | ./configure |
39 | 3 | Chris Cannam | make |
40 | 3 | Chris Cannam | sudo make install |
41 | 3 | Chris Cannam | |
42 | 3 | Chris Cannam | QTDIR=/home/cannam/qt-464-dynamic ./configure |
43 | 1 | Chris Cannam | </pre> |