X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=doc%2Fbook.xml;h=6b4c3f3d3aa4b7c25f9c456d75f74accdb360183;hp=21077466c2cb475db1667a64b035706b2995af04;hb=f332be40c2edee783d37633597b4f7ac3b22fc3e;hpb=8904a5b136d3d9bf359a1de242f554d009ab9888 diff --git a/doc/book.xml b/doc/book.xml index 2107746..6b4c3f3 100644 --- a/doc/book.xml +++ b/doc/book.xml @@ -78,7 +78,7 @@ Supports - Solr Web Service version 1.4.x + Apache Solr Web Service version 1.4.x (client side only) @@ -138,14 +138,14 @@ Reading this Manual Most implementors only need to read a fraction of the - material in thie manual, so a quick walkthrough of the chapters + material in this manual, so a quick walkthrough of the chapters is in order. contains installation - instructions for &yaz;. You don't need reading this + instructions for &yaz;. You don't need to read this if you expect to download &yaz; binaries. However, the chapter contains information about how to make your application link @@ -155,7 +155,7 @@ describes the ZOOM API of &yaz;. - This is definitely worth a read if you wish to develop a Z39.50/SRU + This is definitely worth reading if you wish to develop a Z39.50/SRU client. @@ -169,7 +169,7 @@ describes how to use the &yaz; Z39.50 - client. If you're developer and wish to test your server + client. If you're a developer and wish to test your server or a server from another party, you might find this chapter useful. @@ -202,7 +202,7 @@ goes through the details of the ODR module which is the work horse that encodes and decodes BER packages. Implementors using ZOOM only, do not - need reading this. + need to read this. Most other Z39.50 implementors only need to read the first two sections ( and ). @@ -244,7 +244,7 @@ level APIs of &yaz;. - The YAZ toolkit modules is shown in figure . + The YAZ toolkit modules are shown in figure .
YAZ layers @@ -325,7 +325,7 @@ If you are using the premade definitions of the &asn; module, and you - are not adding new protocol of your own, the only parts of &odr; that you + are not adding a new protocol of your own, the only parts of &odr; that you need to worry about are documented in . @@ -496,7 +496,7 @@ Automake and Libtool are used to generate Makefiles and configure &yaz; for the system. - You do not these tools unless you're using the + You do not need these tools unless you're using the Git version of &yaz;. @@ -508,7 +508,7 @@ &yaz; includes a tiny ASN.1 compiler. This compiler is written in Tcl. But as for Bison you do not need it unless you're using Git - version of &yaz; or you're using the compiler to built own codecs + version of &yaz; or you're using the compiler to build your own codecs for private ASN.1. @@ -612,7 +612,7 @@ prefix. By default configure will search for iconv on the system. Use this option if it doesn't find iconv. Alternatively, - --without-iconv, can be uset to force &yaz; + --without-iconv, can be used to force &yaz; not to use iconv. @@ -627,7 +627,7 @@ prefix. Use this option if you want XSLT and XML support. By default, configure will - search for libxslt on the system. Use this option if it + search for libxslt on the system. Use this option if libxslt is not found automatically. Alternatively, --without-xslt, can be used to force &yaz; not to use libxslt. @@ -644,7 +644,7 @@ prefix. Use this option if you want &yaz; to use XML and support SRU/Solr. By default, configure will - search for libxml2 on the system. Use this option if it + search for libxml2 on the system. Use this option if libxml2 is not found automatically. Alternatively, --without-xml2, can be used to force &yaz; not to use libxml2. @@ -702,6 +702,7 @@ for result-set caching for ZOOM. The prefix can not be given. Note that YAZ will only search for libMemcached if Libgcrypt is also enabled. + Note that 0.40 of libmemcached is required. @@ -856,7 +857,7 @@ This section describes how to compile - and link your own applications using the &yaz; toolkit. If you're used to Makefiles this shouldn't be hard. As for - other libraries you have used before, you have to set a proper include + other libraries you have used before, you need to set a proper include path for your C/C++ compiler and specify the location of &yaz; libraries. You can do it by hand, but generally we suggest you use the yaz-config that is generated @@ -924,7 +925,7 @@ - WIN32 + Windows The easiest way to install YAZ on Windows is by downloading an installer from here. @@ -933,12 +934,12 @@ - Compiling from Source on WIN32 + Compiling from Source on Windows &yaz; is shipped with "makefiles" for the NMAKE tool that comes with Microsoft Visual Studio. It has been tested with - Microsoft Visual Studio 2003/2005/2008. + Microsoft Visual Studio 2013. Start a command prompt and switch the sub directory @@ -1003,20 +1004,14 @@ If HAVE_LIBXML2 is set to 1, YAZ is compiled with SRU support. In this configuration, set LIBXML2_DIR to the - libxml2 source directory - and - ZLIB_DIR to the zlib directory. - - - Windows versions of libxslt, libxml2, zlib and iconv can be found - - Igor Zlatković' site. - - - - YAZ is not using zlib but libxml2 is depending on it. - - + libxml2 source directory. + + + You can get pre-compiled Libxml2+Libxslt DLLs and headers from + here. + Should you with to compile those libraries yourself, refer to + to + @@ -1031,7 +1026,7 @@ - libxslt depends libxml2. + libxslt depends on libxml2. @@ -1143,7 +1138,7 @@ bin/yaz-icu.exe This program exposes the ICU wrapper library if that is enabled for YAZ. Only if ICU is available this program is - build. + built. @@ -1159,7 +1154,7 @@ bin/zoomtst1.exe, bin/zoomtst2.exe, .. - Several small applications that demonstrates the ZOOM API. + Several small applications that demonstrate the ZOOM API. @@ -1167,15 +1162,15 @@ - How to make apps using YAZ on WIN32 + How to make apps using YAZ on Windows - This section will go though the process of linking your WIN32 + This section will go though the process of linking your Windows applications with &yaz;. Some people are confused by the fact that we use the nmake tool to build &yaz;. They think they have to do that too - in order - to make their WIN32 applications work with &yaz;. The good news is that + to make their Windows applications work with &yaz;. The good news is that you don't have to. You can use the integrated environment of Visual Studio if desired for your own application. @@ -1210,6 +1205,43 @@ + + + Compiling Libxml2 and Libxslt on windows + + Download libxml2 and Libxslt source and unpack it. + In the example below we install Libxml2 2.9.2 and Libxslt 1.1.28 + for 32-bit, so we use the destination directories + libxml2.2.9.2.win32 and libxslt-1.1.28.win32 to reflect both + version and architecture. + + cd win32 + cscript configure.js prefix=c:\libxml2-2.9.2.win32 iconv=no + nmake + nmake install + + + + + There's an error in configure.js for Libxml2 2.9.2. + Line 17 should be assigned to configure.ac + rather than configure.in. + + + + For Libxslt it is similar. We must ensure that compilation of + Libxslt links against the already installed libxml2. + + cd win32 + cscript configure.js prefix=c:\libxslt-1.1.28.win32 iconv=no \ + lib=c:\libxml2-2.9.2.win32\lib \ + include=c:\libxml2-2.9.2.win32\include\libxml2 + nmake + nmake install + + + +