X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=doc%2Finstallation.xml;h=88be103e99fb9cde687d815d5698b90f1b658e8a;hp=9f00af7c9b6498a52c41fcfe2e9c59123373972a;hb=e218239a81500b87639ea22c39089648a8eee00a;hpb=23403c6f31b26b0e819a47980c42f3fc8c57d84d diff --git a/doc/installation.xml b/doc/installation.xml index 9f00af7..88be103 100644 --- a/doc/installation.xml +++ b/doc/installation.xml @@ -1,7 +1,7 @@ - + Compilation and Installation - Introduction + Introduction The latest version of the software will generally be found at: @@ -22,10 +22,8 @@ FreeBSD (i386), MAC OSX, SunOS 5.8 (sparc), - , - Windows 2000, - , - Windows 2003 server. + Windows 2000, + Windows 2003 server. @@ -44,7 +42,7 @@ let us know about it. If you run into difficulties, we will try to help if we can, and if you solve the problems, we would be happy to include your fixes in the next release. So far, we have mostly avoided - #ifdefs for individual platforms, and we'd + #ifdefs for individual platforms, and we'd like to keep it that way as far as it makes sense. @@ -89,9 +87,10 @@ - The XML C library libxml2 - is required if &yaz; is to support SRW and SRU. - This library is very portable and should compile out-of-the + The libxslt, + libxml2 librararies are required + if &yaz; is to support SRU. + These libraries are very portable and should compile out-of-the box on virtually all Unix platforms. It is available in binary forms for Linux and others. @@ -181,11 +180,11 @@ - --enable-shared - The make process will create shared + --disable-shared + The make process will not create shared libraries (also known as shared objects .so). - By default, no shared libraries are created - - equivalent to --disable-shared. + By default, shared libraries are created - + equivalent to --enable-shared. @@ -202,25 +201,25 @@ Compile &yaz; with iconv library in directory prefix. By default configure will - search for iconv on your system. Use this option if it - doesn't find iconv. Alternatively you can use - --without-iconv to force &yaz; not to use - iconv. + search for iconv on the system. Use this option if it + doesn't find iconv. Alternatively, + --without-iconv, can be uset to force &yaz; + not to use iconv. - --with-xml2[=prefix] + --with-xslt[=prefix] Compile &yaz; with - libxml2 in directory + libxslt in directory prefix. - Use this option if you want SOAP support. - By default configure will - search for libxml2 on your system. Use this option if it - doesn't find libxml2. Alternatively you can use - --without-xml2 to force &yaz; not to use - libxml2. + Use this option if you want SRU support. + By default, configure will + search for libxslt on the system. Use this option if it + libxslt is not found automatically. Alternatively, + --without-xslt, can be used to force &yaz; + not to use libxslt. @@ -232,7 +231,7 @@ experimental. - + @@ -255,11 +254,11 @@ - src/libyazthread.la + src/libyaz_server.la - When threading is supported/enabled by configure this Libtool - library is created. It includes functions that allows &yaz; - to use threads. + Generic Frontend server. This is an add-on for libyaz.la. + Code in this library uses POSIX threads functions - if they + available on the platform. @@ -270,11 +269,11 @@ client/yaz-client Z39.50 client for testing the protocol. - See chapter + See chapter YAZ client for more information. - + util/yaz-config A Bourne-shell script, generated by configure, that specifies how external applications should compile - and link with @@ -354,7 +353,8 @@ - How to make apps using YAZ on UNIX + + How to make apps using YAZ on UNIX This section describes how to compile - and link your own applications using the &yaz; toolkit. @@ -508,7 +508,7 @@ If HAVE_LIBXML2 is set to 1, YAZ is compiled - with SRW and SRU support. In this configuration, set + with SRU support. In this configuration, set LIBXML2_DIR to the libxml2 source directory and @@ -516,17 +516,37 @@ - Windows versions of libxml2, zlib and iconv can be found + Windows versions of libxslt, libxml2, zlib and iconv can be found Igor Zlatković' site. - YAZ is not using ZLIB. But libxml2 is. + YAZ is not using zlib but libxml2 is depending on it. + + + + + + + HAVE_LIBXSLT, + LIBXSLT_DIR + + + If HAVE_LIBXSLT is set to 1, YAZ is compiled + with XSLT support. In this configuration, set + LIBXSLT_DIR to the + libxslt source directory. + + + + + libxslt depends libxml2. + @@ -559,30 +579,30 @@ The following files are generated upon successful compilation: - bin/yaz.dll + bin/yaz3.dll &yaz; release mode multi-threaded Dynamic Link Library. - lib/yaz.lib + lib/yaz3.lib - Import library for yaz.dll. + Import library for yaz3.dll. - bin/yazd.dll + bin/yaz3d.dll &yaz; debug mode multi-threaded Dynamic Link Library. - lib/yazd.lib + lib/yaz3d.lib - Import library for yazd.dll. + Import library for yaz3d.dll. bin/yaz-client.exe &yaz; Z39.50 client application. It's a WIN32 console application. - See chapter YAZ client for more + See chapter YAZ client for more information. @@ -611,7 +631,8 @@ - How to make apps using YAZ on WIN32 + + How to make apps using YAZ on WIN32 This section will go though the process of linking your WIN32 applications with &yaz;. @@ -629,14 +650,14 @@ include path Set it to the include directory of &yaz;. - import library yaz.lib + import library yaz3.lib You must link with this library. It's located in the sub directory lib of &yaz;. If you want to link with the debug version of &yaz;, you must - link with yazd.dll instead. + link against yaz3d.lib instead. - dynamic link library yaz.dll + dynamic link library yaz3.dll This DLL must be in your execution path when you invoke your application. Specifically, you should distribute this