X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=doc%2Fbook.xml;h=202518fee2ae27a7faf522c666075bd0fe13d327;hb=0edeb96ed602b8f04d4902f9dd05a7a1d78b9217;hp=e1988c212e0142d51376c763d7bd553630c76948;hpb=e05d81815980f703874bae24475ba474e424c0d7;p=yaz-moved-to-github.git diff --git a/doc/book.xml b/doc/book.xml index e1988c2..202518f 100644 --- a/doc/book.xml +++ b/doc/book.xml @@ -1004,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 + @@ -1168,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. @@ -1211,6 +1205,36 @@ + + + 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 + + + + 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:\libxmlt-2.9.2.win32\lib \ + include=c:\libxmlt-2.9.2.win32\include\libxml2 + nmake + nmake install + + + +