From: Adam Dickmeiss Date: Mon, 8 Dec 2014 14:35:24 +0000 (+0100) Subject: Update information about Windows installation YAZ-804 X-Git-Tag: v5.7.2~10^2 X-Git-Url: http://jsfdemo.indexdata.com/cgi-bin?a=commitdiff_plain;h=808b7f27ef276184df827786afa01f8f313aa4f6;p=yaz-moved-to-github.git Update information about Windows installation YAZ-804 --- diff --git a/doc/book.xml b/doc/book.xml index e1988c2..e244a2a 100644 --- a/doc/book.xml +++ b/doc/book.xml @@ -1004,20 +1004,11 @@ 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. + + + Refer to . + @@ -1168,15 +1159,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 +1202,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 + + + +