X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=doc%2Fbook.xml;h=1364eca705aefcc999ff7320dfbc129a04238eed;hb=refs%2Ftags%2Fv1.0.17;hp=c7d8a39507f0631363e7dbd6688952c8ba79bed1;hpb=41a56288adad0320c2a6933325b7d729954718c4;p=metaproxy-moved-to-github.git diff --git a/doc/book.xml b/doc/book.xml index c7d8a39..1364eca 100644 --- a/doc/book.xml +++ b/doc/book.xml @@ -18,7 +18,6 @@ --> ]> - Metaproxy - User's Guide and Reference @@ -35,7 +34,7 @@ &version; - 2005-2007 + 2005-2009 Index Data ApS @@ -48,10 +47,9 @@ processes, interprets and redirects requests from IR clients using standard protocols such as the binary ANSI/NISO Z39.50 - and the information search and retireval - web services SRU - and SRW, as - well as functioning as a limited + and the information search and retrieval + web service SRU + as well as functioning as a limited HTTP server. @@ -87,8 +85,8 @@ Metaproxy is a stand alone program that acts as a universal router, proxy and encapsulated metasearcher for information retrieval protocols such - as Z39.50, and in the future - SRU and SRW. + as Z39.50 and + SRU. To clients, it acts as a server of these protocols: it can be searched, records can be retrieved from it, etc. To servers, it acts as a client: it searches in them, @@ -159,10 +157,8 @@ The popular C++ library. Initial versions of Metaproxy - was built with 1.33.0. Version 1.33.1 works too. Metaproxy - also compiles with Boost 1.34.1 but the tests do - not compile, because the Test API - of Boost has changed. + was built with 1.32 but this is no longer supported. + Metaproxy is known to work with Boost version 1.33 through 1.38. @@ -189,67 +185,98 @@ tools binary packages. If, for example, Libxml2/libxslt are already installed as development packages use those (and omit compilation). - - - Libxml2/libxslt: - - - gunzip -c libxml2-version.tar.gz|tar xf - - cd libxml2-version - ./configure - make - su - make install - - - gunzip -c libxslt-version.tar.gz|tar xf - - cd libxslt-version - ./configure - make - su - make install - - - YAZ/YAZ++: - - - gunzip -c yaz-version.tar.gz|tar xf - - cd yaz-version - ./configure - make - su - make install - - - gunzip -c yazpp-version.tar.gz|tar xf - - cd yazpp-version - ./configure - make - su - make install - - - Boost: - - - gunzip -c boost-version.tar.gz|tar xf - - cd boost-version - ./configure - make - su - make install - - - Metaproxy: - - - gunzip -c metaproxy-version.tar.gz|tar xf - - cd metaproxy-version - ./configure - make - su - make install - + +
+ Libxml2/libxslt + + Libxml2/libxslt: + + + gunzip -c libxml2-version.tar.gz|tar xf - + cd libxml2-version + ./configure + make + su + make install + + + gunzip -c libxslt-version.tar.gz|tar xf - + cd libxslt-version + ./configure + make + su + make install + +
+
+ YAZ/YAZ++ + + gunzip -c yaz-version.tar.gz|tar xf - + cd yaz-version + ./configure + make + su + make install + + + gunzip -c yazpp-version.tar.gz|tar xf - + cd yazpp-version + ./configure + make + su + make install + +
+
+ Boost + + Metaproxy needs components thread and test from + Boost. + + + gunzip -c boost-version.tar.gz|tar xf - + cd boost-version + ./configure --with-libraries=thread,test --with-toolset=gcc + make + su + make install + + + However, under the hood bjam is used. You can invoke that with + + + ./bjam --toolset=gcc --with-thread --with-test stage + + + Replace stage with clean / + install to perform clean and install respectively. + + + Add --prefix=DIR to install Boost in other + prefix than /usr/local. + +
+
+ Metaproxy + + gunzip -c metaproxy-version.tar.gz|tar xf - + cd metaproxy-version + ./configure + make + su + make install + + + You may have to tell configure where Boost is installed by supplying + options --with-boost and --with-boost-toolset. + The former sets the PREFIX for Boost (same as --prefix for Boost above). + The latter the compiler toolset (eg. gcc34). + + + Pass --help to configure to get a list of + available options. + +
@@ -280,8 +307,6 @@ apt-get install libyazpp2-dev apt-get install libboost-dev apt-get install libboost-thread-dev - apt-get install libboost-date-time-dev - apt-get install libboost-program-options-dev apt-get install libboost-test-dev @@ -329,7 +354,7 @@ Metaproxy can be compiled with Microsoft Visual Studio. - Version 2003 (C 7.1) and 2005 (C 8.0) is known to work. + Versions 2003 (C 7.1), 2005 (C 8.0) and 2008 (C 9.0) is known to work.
Boost @@ -375,7 +400,7 @@ YAZ++ Get YAZ++ as well. - Version 1.0.3 or later is required. + Version 1.1.0 or later is required. YAZ++ includes NMAKE makefiles, similar to those found in the @@ -1131,11 +1156,19 @@ Figure out what additional information we need in: <metaproxy xmlns="http://indexdata.com/metaproxy" version="1.0"> - The top-level element is <metaproxy>. This contains a - <start> element, a <filters> element and a - <routes> element, in that order. <filters> is - optional; the other two are mandatory. All three are - non-repeatable. + The top-level element is <metaproxy>. This contains + a <dlpath> element, + a <start> element, + a <filters> element and + a <routes> element, in that order. <dlpath> and + <filters> are optional; the other two are mandatory. + All four are non-repeatable. + + + The <dlpath;> element contains a text element which + specifies the location of filter modules. This is only needed + if Metaproxy must load 3rd party filters (most filters with Metaproxy + are built into the Metaproxy application). The <start> element is empty, but carries a @@ -1188,6 +1221,7 @@ Figure out what additional information we need in: + /usr/lib/metaproxy/modules @@ -1661,7 +1695,6 @@ Z> Metaproxy can act as SRU and - SRW web service server, which translates web service requests to ANSI/NISO Z39.50 packages and sends them off to common available targets. @@ -1752,9 +1785,8 @@ Z> - A typical minimal example SRU and - SRW server configuration file is found - in the tarball distribution at + A typical minimal example SRU + server configuration file is found in the tarball distribution at etc/config-sru-to-z3950.xml. @@ -2052,7 +2084,7 @@ Z> License - Metaproxy, Copyright © 1995-2007 Index Data ApS. + Metaproxy, Copyright © 1995-2009 Index Data ApS.