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@239
|
18 Compiling
|
mas01cr@239
|
19 ---------
|
mas01cr@239
|
20
|
mas01cr@239
|
21 Use the following make commands to compile audioDB on your system:
|
mas01cr@0
|
22
|
mas01cr@138
|
23 Linux: make
|
mas01cr@138
|
24 (Debian-derived systems, with the right versions of gengetopt, gsoap
|
mas01cr@138
|
25 and help2man installed)
|
mas01cr@138
|
26
|
mas01cr@138
|
27 OS X or Win32: make \
|
mas01cr@138
|
28 GENGETOPT=/path/to/bin/gengetopt \
|
mas01cr@138
|
29 SOAPCPP2=/path/to/bin/soapcpp2 \
|
mas01cr@138
|
30 GSOAP_CPP=/path/to/gsoap/stdsoap2.cpp \
|
mas01cr@138
|
31 GSOAP_INCLUDE="-I /path/to/gsoap"
|
mas01cr@138
|
32 (where the path in GSOAP_INCLUDE should name the directory in which
|
mas01cr@150
|
33 stdsoap2.h resides)
|
mas01cr@239
|
34
|
mas01cr@239
|
35 Testing
|
mas01cr@239
|
36 -------
|
mas01cr@239
|
37
|
mas01cr@239
|
38 audioDB comes with a suite of test scripts that verify that particular
|
mas01cr@239
|
39 pieces of functionality are behaving acceptably. They depend on
|
mas01cr@239
|
40 /bin/sh being GNU bash, version 3 or greater. The test suite can be
|
mas01cr@239
|
41 run with the command "make test".
|
mas01cr@239
|
42
|
mas01cr@239
|
43 When running on systems without sparse file support (notably those
|
mas01cr@239
|
44 using the default filesystem in Mac OS X), running the test suite
|
mas01cr@239
|
45 requires approximately 70GB of free hard disk space. On other
|
mas01cr@239
|
46 systems, disk usage from running the test suite is negligible.
|
mas01cr@239
|
47
|
mas01cr@239
|
48 Installation
|
mas01cr@239
|
49 ------------
|
mas01cr@239
|
50
|
mas01cr@239
|
51 The audioDB executable is command-line database client, SOAP server
|
mas01cr@239
|
52 and SOAP client all in one: to install for system-wide use, simply
|
mas01cr@239
|
53 copy it to a place in the system-wide path.
|
mas01cr@239
|
54
|
mas01cr@239
|
55 The build process also generates a Web Service Description file,
|
mas01cr@239
|
56 adb.wsdl; to publish a description of an audioDB web service, you will
|
mas01cr@239
|
57 need to edit that file to point to the network address and port of
|
mas01cr@239
|
58 your audioDB server before publishing it on an ordinary HTTP server.
|