BuildBits » History » Version 8
Chris Cannam, 2011-10-05 03:27 PM
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 | 6 | Chris Cannam | PulseAudio is too hard to build on this system (even though we only want the library, not the server -- sigh). So we build for PortAudio (ALSA support only) and JACK. PortAudio with ALSA _might_ work through PulseAudio on other systems anyway. |
12 | 6 | Chris Cannam | |
13 | 1 | Chris Cannam | <pre> |
14 | 3 | Chris Cannam | cd ~/code |
15 | 3 | Chris Cannam | export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/:$PKG_CONFIG_PATH |
16 | 3 | Chris Cannam | wget http://fftw.org/fftw-3.3.tar.gz |
17 | 3 | Chris Cannam | tar xvzf fftw-3.3.tar.gz |
18 | 3 | Chris Cannam | cd fftw-3.3 |
19 | 3 | Chris Cannam | ./configure --enable-single |
20 | 3 | Chris Cannam | make > make.log 2>&1 && sudo make install |
21 | 3 | Chris Cannam | ./configure |
22 | 3 | Chris Cannam | make clean |
23 | 3 | Chris Cannam | make > make.log 2>&1 && sudo make install |
24 | 3 | Chris Cannam | cd .. |
25 | 3 | Chris Cannam | wget http://www.mega-nerd.com/libsndfile/files/libsndfile-1.0.25.tar.gz |
26 | 3 | Chris Cannam | tar xvzf libsndfile-1.0.25.tar.gz |
27 | 3 | Chris Cannam | cd libsndfile-1.0.25 |
28 | 3 | Chris Cannam | ./configure --enable-static=yes |
29 | 3 | Chris Cannam | make > make.log 2>&1 && sudo make install |
30 | 3 | Chris Cannam | cd .. |
31 | 3 | Chris Cannam | wget http://www.mega-nerd.com/SRC/libsamplerate-0.1.8.tar.gz |
32 | 3 | Chris Cannam | tar xvzf libsamplerate-0.1.8.tar.gz |
33 | 3 | Chris Cannam | cd libsamplerate-0.1.8 |
34 | 3 | Chris Cannam | ./configure --enable-static=yes |
35 | 3 | Chris Cannam | make > make.log 2>&1 && sudo make install |
36 | 3 | Chris Cannam | cd .. |
37 | 3 | Chris Cannam | sudo ldconfig -v |
38 | 3 | Chris Cannam | hg clone http://code.soundsoftware.ac.uk/hg/vamp-plugin-sdk |
39 | 3 | Chris Cannam | cd vamp-plugin-sdk/ |
40 | 3 | Chris Cannam | ./configure |
41 | 3 | Chris Cannam | make |
42 | 3 | Chris Cannam | sudo make install |
43 | 4 | Chris Cannam | cd .. |
44 | 4 | Chris Cannam | sudo cp ~/code/svcore/plugin/api/ladspa.h /usr/local/include |
45 | 4 | Chris Cannam | hg clone http://hg.breakfastquay.com/rubberband |
46 | 4 | Chris Cannam | cd rubberband/ |
47 | 4 | Chris Cannam | ./configure |
48 | 4 | Chris Cannam | make |
49 | 4 | Chris Cannam | sudo make install |
50 | 4 | Chris Cannam | cd .. |
51 | 4 | Chris Cannam | wget http://download.librdf.org/source/raptor2-2.0.4.tar.gz |
52 | 4 | Chris Cannam | tar xvzf raptor2-2.0.4.tar.gz |
53 | 4 | Chris Cannam | cd raptor2-2.0.4 |
54 | 4 | Chris Cannam | ./configure --enable-static --with-www=xml |
55 | 4 | Chris Cannam | make >make.log 2>&1 && sudo make install |
56 | 5 | Chris Cannam | cd .. |
57 | 5 | Chris Cannam | wget http://download.librdf.org/source/rasqal-0.9.27.tar.gz |
58 | 5 | Chris Cannam | tar xvzf rasqal-0.9.27.tar.gz |
59 | 5 | Chris Cannam | cd rasqal-0.9.27 |
60 | 5 | Chris Cannam | ./configure --with-decimal=none --enable-static=yes --enable-query-languages=sparql |
61 | 5 | Chris Cannam | make >make.log 2>&1 && sudo make install |
62 | 5 | Chris Cannam | cd .. |
63 | 5 | Chris Cannam | wget http://download.librdf.org/source/redland-1.0.14.tar.gz |
64 | 5 | Chris Cannam | tar xvzf redland-1.0.14.tar.gz |
65 | 5 | Chris Cannam | cd redland-1.0.14 |
66 | 5 | Chris Cannam | ./configure --enable-static=yes --with-sqlite=no --with-mysql=no --with-bdb=no |
67 | 5 | Chris Cannam | make >make.log 2>&1 && sudo make install |
68 | 6 | Chris Cannam | cd .. |
69 | 6 | Chris Cannam | wget http://www.portaudio.com/archives/pa_stable_v19_20110326.tgz |
70 | 6 | Chris Cannam | tar xvzf pa_stable_v19_20110326.tgz |
71 | 6 | Chris Cannam | cd portaudio/ |
72 | 8 | Chris Cannam | ./configure --enable-static=yes --enable-shared=no --with-alsa --without-oss --without-jack |
73 | 6 | Chris Cannam | make && sudo make install |
74 | 6 | Chris Cannam | |
75 | 3 | Chris Cannam | |
76 | 3 | Chris Cannam | QTDIR=/home/cannam/qt-464-dynamic ./configure |
77 | 1 | Chris Cannam | </pre> |