Relay present_number for search
[simpleserver-moved-to-github.git] / INSTALL
1 Building and installation
2 -------------------------
3 1. Requirements
4
5 The Net::Z3950::SimpleServer Perl module requires the YAZ toolkit.
6 Version 4 or later is recommended. You can download it via this link:
7
8         http://ftp.indexdata.dk/pub/yaz/
9
10 You need to configure the YAZ toolkit with the command
11
12         % ./configure
13
14 Then compile and install
15
16         % make
17         # make install
18
19 You don't *need* to install YAZ globally on your machine if you
20 prefer not to. In this case, you just have to update the Makefile.PL
21 with the locations of the libraries.
22
23 2. Installation
24
25 Unpack the tar ball this way
26
27         % gunzip Net-Z3950-SimpleServer-xxxx.tar.gz
28         % tar xvf Net-Z3950-SimpleServer-xxxx.tar.gz
29
30 and cd to the root directory of the module package
31
32         % cd Net-Z3950-SimpleServer-xxxx
33
34 The installation takes place by issuing the following commands:
35
36         % perl Makefile.PL
37         % make
38         % make test
39         # make install
40
41 The last command has to be issued as super user.
42
43 Good luck!
44