Skip to content

Commit

Permalink
o improve indentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
hzeller committed Sep 26, 2012
1 parent bc3d132 commit 4185e88
Showing 1 changed file with 32 additions and 33 deletions.
65 changes: 32 additions & 33 deletions INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@
On a reasonably fresh system (e.g. Ubuntu 11.10 and 12.04), installation is
straightforward. To compile, this is what you need to do:

sudo apt-get install libsndfile-dev libflac-dev libzita-convolver-dev \
libfuse-dev libboost-thread-dev libmicrohttpd-dev
make
sudo apt-get install libsndfile-dev libflac-dev libzita-convolver-dev \
libfuse-dev libboost-thread-dev libmicrohttpd-dev
make

To install in the default location /usr/local/bin, just do

sudo make install
sudo make install

.. otherwise specify the alternative location with DESTDIR

sudo make DESTDIR=/usr install
sudo make DESTDIR=/usr install



Expand All @@ -23,28 +23,28 @@ Older systems, e.g. Ubuntu 10.04 lack sufficiently recent libraries for FUSE
and the zita convolver. In that case, don't install these with `apt-get`; in
fact, better remove the old versions to avoid confusion:

sudo apt-get remove libzita-convolver-dev libfuse-dev
sudo apt-get remove libzita-convolver-dev libfuse-dev

.. and compile the latest versions yourself:

# The FUSE library
cd /tmp
wget http://sourceforge.net/projects/fuse/files/fuse-2.X/2.9.1/fuse-2.9.1.tar.gz
tar xvzf fuse-2.9.1.tar.gz
cd fuse-2.9.1/
./configure
make
sudo make install
# The FUSE library
cd /tmp
wget http://sourceforge.net/projects/fuse/files/fuse-2.X/2.9.1/fuse-2.9.1.tar.gz
tar xvzf fuse-2.9.1.tar.gz
cd fuse-2.9.1/
./configure
make
sudo make install

also

# The Zita convolver
cd /tmp
wget http://kokkinizita.linuxaudio.org/linuxaudio/downloads/zita-convolver-3.1.0.tar.bz2
tar xvjf zita-convolver-3.1.0.tar.bz2
cd zita-convolver-3.1.0/libs
make
sudo make LIBDIR=lib install
# The Zita convolver
cd /tmp
wget http://kokkinizita.linuxaudio.org/linuxaudio/downloads/zita-convolver-3.1.0.tar.bz2
tar xvjf zita-convolver-3.1.0.tar.bz2
cd zita-convolver-3.1.0/libs
make
sudo make LIBDIR=lib install

Now, the compilation step described in *Typical installation* should succeed.

Expand All @@ -56,24 +56,23 @@ To install Folve on some embedded systems, you might need to link it statically.
This depends a lot on your system, so it might require some twiddeling, but
let's see the basic steps.

First, you need create a static verssion of the zita-convolver libray; the
default installation does not provide this. To do so, start first
with compiling the zita-convolver yourself, as described in the
First, you need to create a static version of the zita-convolver libray; the
default installation does not provide this. To do so, first start
with compiling *The Zita convolver* yourself, as described in the
*Older Systems* section.

Then run the following commands:

# .. first run the zita compile commands from above. Then:
cd /tmp/zita-convolver-3.1.0/libs
ar rcs libzita-convolver.a zita-convolver.o
ranlib libzita-convolver.a
sudo install -m 644 libzita-convolver.a /usr/local/lib
# .. first run the zita compile commands from above. Then:
cd /tmp/zita-convolver-3.1.0/libs
ar rcs libzita-convolver.a zita-convolver.o
ranlib libzita-convolver.a
sudo install -m 644 libzita-convolver.a /usr/local/lib

Now we can compile folve statically; go into the folve source directory and
type
Now we can compile Folve statically:

cd /directory/where/folve/git/is/checked/out
make LINK_STATIC=y
cd /directory/where/folve/git/is/checked/out
make LINK_STATIC=y

The last step might fail if there are additional dependencies. Add them in the
`ifdef LINK_STATIC` section of the Makefile.
Expand Down

0 comments on commit 4185e88

Please sign in to comment.