aboutsummaryrefslogtreecommitdiff
path: root/doc/COMPILING.txt
blob: f0abf5ecaa4ded7cbce12e996be20c0f23e957f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
COMPILING HD24TOOLS

Instructions for Linux (preferably Debian/Ubuntu based):

Get the source code from svn on HD24tools.com

sudo apt-get install fluid libfltk1.1 libfltk1.1-dev libsndfile1 libsndfile1-dev libportaudio0 libportaudio0-dev libjack0 libjack0.100.0-0 libjack0.100.0-0-dev libjack-dev libxft2 libxft-dev libxinerama libxinerama-dev

Note: You may still need to install libflac.

make clean
./configure
make

mkdir ~/HD24tools
cp hd24connect ~/HD24tools/
cp hd24hexview ~/HD24tools/
cp hd24info ~/HD24tools/
cp hd24towav ~/HD24tools/
cp hd24wavefix ~/HD24tools/
ln -s /usr/lib/libsndfile.so.1 ~/HD24tools/
ln -s /usr/lib/libportaudio.so ~/HD24tools/
ln -s /usr/lib/libjack.so ~/HD24tools/

For HD24tools to detect the drives (when being run as normal user),
normal users need to have sufficient permissions to work with the
drive device.

To find out which drive device it is, run HD24connect as root,
and select File->Recovery->Select device...

This will show you the current device, which is the device
that needs its permissions set.

You can probably gain device permissions by adding your
regular user to the proper group, making your user the
owner of the device or by setting the device permissions
in /etc/fstab.