mas01cr@0
|
1 Dependencies
|
mas01cr@0
|
2 ------------
|
mas01cr@0
|
3
|
mas01cr@132
|
4 gsoap: audioDB uses libgsoap++ for SOAP Web Services support. This
|
mas01cr@132
|
5 can be installed on most linux distributions using the package
|
mas01cr@132
|
6 manager; the binary distribution will suffice. Other systems
|
mas01cr@132
|
7 will need to install the library.
|
mas01cr@0
|
8
|
mas01cr@132
|
9 gengetopt: audioDB uses gengetopt (as of 2007-10-23, version 2.18
|
mas01cr@132
|
10 exactly) for command-line parsing.
|
mas01cr@0
|
11
|
mas01cr@132
|
12 help2man: a spartan manual page is automatically generated from the
|
mas01cr@132
|
13 usage text using help2man.
|
mas01cr@0
|
14
|
mas01cr@239
|
15 bash: audioDB's test suite depends on /bin/sh being bash, version 3.0
|
mas01cr@239
|
16 or greater.
|
mas01cr@239
|
17
|
mas01cr@281
|
18 gsl: the GNU Scientific Library.
|
mas01cr@281
|
19
|
mas01cr@239
|
20 Compiling
|
mas01cr@239
|
21 ---------
|
mas01cr@239
|
22
|
mas01cr@239
|
23 Use the following make commands to compile audioDB on your system:
|
mas01cr@0
|
24
|
mas01cr@138
|
25 Linux: make
|
mas01cr@138
|
26 (Debian-derived systems, with the right versions of gengetopt, gsoap
|
mas01cr@138
|
27 and help2man installed)
|
mas01cr@138
|
28
|
mas01cr@138
|
29 OS X or Win32: make \
|
mas01cr@138
|
30 GENGETOPT=/path/to/bin/gengetopt \
|
mas01cr@138
|
31 SOAPCPP2=/path/to/bin/soapcpp2 \
|
mas01cr@138
|
32 GSOAP_CPP=/path/to/gsoap/stdsoap2.cpp \
|
mas01cr@281
|
33 GSOAP_INCLUDE="-I /path/to/gsoap" \
|
mas01cr@281
|
34 LIBGSL="-L/path/to/libgsl/libraries -lgsl -lgslcblas"
|
mas01cr@138
|
35 (where the path in GSOAP_INCLUDE should name the directory in which
|
mas01cr@150
|
36 stdsoap2.h resides)
|
mas01cr@239
|
37
|
mas01cr@239
|
38 Testing
|
mas01cr@239
|
39 -------
|
mas01cr@239
|
40
|
mas01cr@239
|
41 audioDB comes with a suite of test scripts that verify that particular
|
mas01cr@239
|
42 pieces of functionality are behaving acceptably. They depend on
|
mas01cr@239
|
43 /bin/sh being GNU bash, version 3 or greater. The test suite can be
|
mas01cr@239
|
44 run with the command "make test".
|
mas01cr@239
|
45
|
mas01cr@239
|
46 When running on systems without sparse file support (notably those
|
mas01cr@239
|
47 using the default filesystem in Mac OS X), running the test suite
|
mas01cr@239
|
48 requires approximately 70GB of free hard disk space. On other
|
mas01cr@239
|
49 systems, disk usage from running the test suite is negligible.
|
mas01cr@239
|
50
|
mas01cr@239
|
51 Installation
|
mas01cr@239
|
52 ------------
|
mas01cr@239
|
53
|
mas01cr@239
|
54 The audioDB executable is command-line database client, SOAP server
|
mas01cr@239
|
55 and SOAP client all in one: to install for system-wide use, simply
|
mas01cr@239
|
56 copy it to a place in the system-wide path.
|
mas01cr@239
|
57
|
mas01cr@239
|
58 The build process also generates a Web Service Description file,
|
mas01cr@239
|
59 adb.wsdl; to publish a description of an audioDB web service, you will
|
mas01cr@239
|
60 need to edit that file to point to the network address and port of
|
mas01cr@239
|
61 your audioDB server before publishing it on an ordinary HTTP server.
|