X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=doc%2Fbook.xml;h=e244a2aae89c54d00fc6c52395d465592c702609;hp=e1988c212e0142d51376c763d7bd553630c76948;hb=808b7f27ef276184df827786afa01f8f313aa4f6;hpb=5c314a1f313d6bb6803a0863e0df76bf83ead4df;ds=sidebyside
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
+
+
+
+