Skip to content
Newer
Older
100644 81 lines (53 sloc) 2.41 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
4185e88 @hzeller o improve indentation.
authored
6 sudo apt-get install libsndfile-dev libflac-dev libzita-convolver-dev \
b4eec5c @hzeller o libboost caused too many troubles in embedded systems with weak
authored
7 libfuse-dev libmicrohttpd-dev
4185e88 @hzeller o improve indentation.
authored
8 make
49a4cd9 @hzeller o Provide an INSTALL.md that explains how to compile on older systems.
authored
9
10 To install in the default location /usr/local/bin, just do
2f899be @hzeller o fix formatting.
authored
11
4185e88 @hzeller o improve indentation.
authored
12 sudo make install
49a4cd9 @hzeller o Provide an INSTALL.md that explains how to compile on older systems.
authored
13
de78ef3 @hzeller o now really switch to PREFIX
authored
14 .. otherwise specify the alternative location with PREFIX
2f899be @hzeller o fix formatting.
authored
15
3cd90cb @hzeller o replace DESTDIR with more common PREFIX
authored
16 sudo make PREFIX=/usr install
49a4cd9 @hzeller o Provide an INSTALL.md that explains how to compile on older systems.
authored
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
4185e88 @hzeller o improve indentation.
authored
26 sudo apt-get remove libzita-convolver-dev libfuse-dev
09548e5 @hzeller o Remove old libraries.
authored
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
4185e88 @hzeller o improve indentation.
authored
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
49a4cd9 @hzeller o Provide an INSTALL.md that explains how to compile on older systems.
authored
38
39 also
40
4185e88 @hzeller o improve indentation.
authored
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
49a4cd9 @hzeller o Provide an INSTALL.md that explains how to compile on older systems.
authored
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
d379c8c @hzeller o typos, clarifications.
authored
55 To install Folve on some embedded systems (e.g. a NAS), you might need to link
56 it statically. This depends a lot on your system, so it might require some
57 twiddeling, but let's see the basic steps.
143250a @hzeller o Add static linking description.
authored
58
4185e88 @hzeller o improve indentation.
authored
59 First, you need to create a static version of the zita-convolver libray; the
60 default installation does not provide this. To do so, first start
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
d379c8c @hzeller o typos, clarifications.
authored
66 # .. afer compiling as described in 'Older Systems' do:
4185e88 @hzeller o improve indentation.
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
143250a @hzeller o Add static linking description.
authored
71
4185e88 @hzeller o improve indentation.
authored
72 Now we can compile Folve statically:
143250a @hzeller o Add static linking description.
authored
73
4185e88 @hzeller o improve indentation.
authored
74 cd /directory/where/folve/git/is/checked/out
d379c8c @hzeller o typos, clarifications.
authored
75 make clean
4185e88 @hzeller o improve indentation.
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.