Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 81 lines (53 sloc) 2.399 kB
49a4cd9 @hzeller o Provide an INSTALL.md that explains how to compile on older systems.
authored
1 ## Typical installation ##
2
3 On a reasonably fresh system (e.g. Ubuntu 11.10 and 12.04), installation is
4 straightforward. To compile, this is what you need to do:
5
6 sudo apt-get install libsndfile-dev libflac-dev libzita-convolver-dev \
7 libfuse-dev libboost-thread-dev libmicrohttpd-dev
8 make
9
10 To install in the default location /usr/local/bin, just do
2f899be @hzeller o fix formatting.
authored
11
49a4cd9 @hzeller o Provide an INSTALL.md that explains how to compile on older systems.
authored
12 sudo make install
13
14 .. otherwise specify the alternative location with DESTDIR
2f899be @hzeller o fix formatting.
authored
15
49a4cd9 @hzeller o Provide an INSTALL.md that explains how to compile on older systems.
authored
16 sudo make DESTDIR=/usr install
17
07885fd @hzeller o Space around headlines
authored
18
bc3d132 @hzeller o more clarity.
authored
19
49a4cd9 @hzeller o Provide an INSTALL.md that explains how to compile on older systems.
authored
20 ## Older Systems ##
07885fd @hzeller o Space around headlines
authored
21
b29c83d @hzeller o fix more formatting.
authored
22 Older systems, e.g. Ubuntu 10.04 lack sufficiently recent libraries for FUSE
bc3d132 @hzeller o more clarity.
authored
23 and the zita convolver. In that case, don't install these with `apt-get`; in
24 fact, better remove the old versions to avoid confusion:
09548e5 @hzeller o Remove old libraries.
authored
25
26 sudo apt-get remove libzita-convolver-dev libfuse-dev
27
28 .. and compile the latest versions yourself:
49a4cd9 @hzeller o Provide an INSTALL.md that explains how to compile on older systems.
authored
29
30 # The FUSE library
31 cd /tmp
32 wget http://sourceforge.net/projects/fuse/files/fuse-2.X/2.9.1/fuse-2.9.1.tar.gz
33 tar xvzf fuse-2.9.1.tar.gz
34 cd fuse-2.9.1/
35 ./configure
36 make
37 sudo make install
38
39 also
40
41 # The Zita convolver
42 cd /tmp
43 wget http://kokkinizita.linuxaudio.org/linuxaudio/downloads/zita-convolver-3.1.0.tar.bz2
44 tar xvjf zita-convolver-3.1.0.tar.bz2
45 cd zita-convolver-3.1.0/libs
46 make
47 sudo make LIBDIR=lib install
48
09548e5 @hzeller o Remove old libraries.
authored
49 Now, the compilation step described in *Typical installation* should succeed.
143250a @hzeller o Add static linking description.
authored
50
07885fd @hzeller o Space around headlines
authored
51
bc3d132 @hzeller o more clarity.
authored
52
143250a @hzeller o Add static linking description.
authored
53 ## Linking statically ##
07885fd @hzeller o Space around headlines
authored
54
ac64fc1 @hzeller o more static library doc.
authored
55 To install Folve on some embedded systems, you might need to link it statically.
56 This depends a lot on your system, so it might require some twiddeling, but
57 let's see the basic steps.
143250a @hzeller o Add static linking description.
authored
58
bc3d132 @hzeller o more clarity.
authored
59 First, you need create a static verssion of the zita-convolver libray; the
60 default installation does not provide this. To do so, start first
61 with compiling the zita-convolver yourself, as described in the
143250a @hzeller o Add static linking description.
authored
62 *Older Systems* section.
63
64 Then run the following commands:
65
ac64fc1 @hzeller o more static library doc.
authored
66 # .. first run the zita compile commands from above. Then:
143250a @hzeller o Add static linking description.
authored
67 cd /tmp/zita-convolver-3.1.0/libs
68 ar rcs libzita-convolver.a zita-convolver.o
69 ranlib libzita-convolver.a
70 sudo install -m 644 libzita-convolver.a /usr/local/lib
71
72 Now we can compile folve statically; go into the folve source directory and
73 type
74
61ac2f5 @hzeller o update INSTALL doc.
authored
75 cd /directory/where/folve/git/is/checked/out
143250a @hzeller o Add static linking description.
authored
76 make LINK_STATIC=y
ac64fc1 @hzeller o more static library doc.
authored
77
78 The last step might fail if there are additional dependencies. Add them in the
79 `ifdef LINK_STATIC` section of the Makefile.
80
Something went wrong with that request. Please try again.