X-Git-Url: http://git.indexdata.com/?p=yazpp-moved-to-github.git;a=blobdiff_plain;f=doc%2Finstallation.xml;h=3ae243c377f7bf2d2bd45334e524c6d19e84be2d;hp=95a6c61790498a230fffeeb7be69188bfd934c5a;hb=42f5f787566c86490724a6f4166ff4196f057ad8;hpb=916452d348a342be0b6bbc054d59bc8897fb2f79 diff --git a/doc/installation.xml b/doc/installation.xml index 95a6c61..3ae243c 100644 --- a/doc/installation.xml +++ b/doc/installation.xml @@ -1,23 +1,22 @@ - Installation You need a C++ compiler to compile and use YAZ++. - The software was implemented using GCC so we know that works - well with YAZ++. From time to time the software has been - compiled on Windows using Visual C++. Other compilers should - work too. Let us know of portability problems, etc. with - your system. + The software was implemented using GCC + so we know that works well with YAZ++. From time to time the + software is compiled on Windows using Visual C++. + Other compilers should work too. Let us know of portability + problems, etc. with your system. YAZ++ is built on top of the - YAZ + YAZ toolkit. You need to install that first. For some platforms there are binary packages for YAZ.
- Building on Unix + Installation on Unix (from source) On UNIX, the software is compiled as follows: $ ./configure @@ -34,11 +33,11 @@ --prefix directory Specifies installation prefix. By default - /usr/local is used. + /usr/local is used. - --with-yazconfig directory + --with-yaz directory Specifies the location of yaz-config. The yaz-config program is generated in @@ -52,15 +51,6 @@ what you want. - - --with-xslt directory - - Specifies prefix for libxslt (and libxml2). - configure must be able to locate xslt-config - in PREFIX/bin. If this option is omitted, configure looks - for xslt-config in the current PATH. - - For the whole list of configure options, refer to the help: @@ -79,64 +69,46 @@ This is what you have after successful compilation: - proxy/yaz-proxy - - The YAZ Z39.50 Proxy. - This program gets installed in your binaries directory - (prefix/bin). - - - - - src/libyazcpp.la + src/libyazpp.la The YAZ++ library. This library gets installed in your libraries directory - (prefix/lib). + (prefix/lib). - src/libzoomcpp.la + src/libzoompp.la The ZOOM-C++ library. This library gets installed in your libraries directory - (prefix/lib). + (prefix/lib). - proxy/libyazproxy.la - - The YAZ proxy library. This library gets installed in - your libraries directory - (prefix/lib). - - - - - include/yaz++/*.h + include/yazpp/*.h Various C++ header files, which you'll need for YAZ++ development. All these are installed in your header files area - (prefix/include/yaz++). + (prefix/include/yazpp). - yaz++-config + yazpp-config A Bourne shell-script utility that returns the values of the CFLAGS and LIBS environment variables needed in order to compile your applications with the YAZ++ library. This script gets installed in your binaries directory - (prefix/bin). + (prefix/bin). - zoom/zclient + zoom/zclient ZOOM C++ demonstration client that uses the ZOOM C++ classes. This client does not get installed in the system directories. @@ -144,7 +116,7 @@ - src/yaz-my-client + src/yaz-my-client YAZ C++ demonstration client. This client does not get installed in the system directories. @@ -152,7 +124,7 @@ - src/yaz-my-server + src/yaz-my-server YAZ C++ demonstration server. This server does not get installed in the system directories. @@ -162,15 +134,14 @@
- Building on Windows + Installation on Windows YAZ++ is shipped with "makefiles" for the NMAKE tool that comes - with - Microsoft Visual Studio. - Version 6 and .NET has been tested. We expect that YAZ++ compiles - with version 5 as well. + with Microsoft Visual Studio. + Version 2003 (7) and 2005 (8) has been tested. + We expect that YAZ++ compiles with versions 5 and 6 as well. - + Start a command prompt and switch the sub directory WIN where the file makefile is located. Customize the installation by editing the @@ -188,65 +159,11 @@ (code generation is multi-threaded DLL). - - - HAVE_XSLT, - LIBXSLT_DIR - - - If HAVE_LIBXSLT is set to 1, the proxy is compiled - with XSLT and XML support. In this configuration, set - LIBXSLT_DIR to the - libxslt source - directory. - - - - - If you enable libXSLT you have to enable libxml2 and its - sub components zlib and iconv as well. - - - - - Windows versions of libxslt, libxml2, zlib and iconv can be found - - here. - - - - - - HAVE_ICONV, - ICONV_DIR + YAZ_DIR - If HAVE_ICONV is set to 1, the proxy is - compiled with iconv support. In this configuration, set - ICONV_DIR to the iconv source directory. + Specifies the directory of the YAZ source. - - - HAVE_LIBXML2, - LIBXML2_DIR - - - If HAVE_LIBXML2 is set to 1, the proxy is compiled - with XML support. In this configuration, set - LIBXML2_DIR to the - libxml2 source directory - and - ZLIB_DIR to the zlib directory. - - - - - YAZ++ is not using ZLIB. But libxml2 is. - - - - - @@ -277,32 +194,30 @@ The following files are generated upon successful compilation: - bin/yazpp.dll + bin/yazpp_1.dll YAZ++ DLL . Includes ZOOM C++ as well. + For the debug version lib/yazpp_1_d.dll + is created instead. - lib/yaz.lib - - Import library for yazpp.dll. - - - bin/yazproxy.dll + lib/yazpp_1.lib - YAZ proxy DLL. + Import library for yazpp_1.dll. + For the debug version lib/yazpp_1_d.lib + is created instead. - lib/yazproxy.lib + bin/yaz-my-client.exe - Import library for yazproxy.dll. + Z39.50 client demonstrating the YAZ++ API. - - bin/yaz-proxy.exe + + bin/yaz-my-server.exe - YAZ proxy. It's a WIN32 console application. - See for more information. + Z39.50 server demonstrating the YAZ++ API. - + bin/zclient.exe ZOOM C++ demo client. A simple WIN32 console application. @@ -323,7 +238,7 @@ sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t - sgml-parent-document: "yaz++.xml" + sgml-parent-document: "yazpp.xml" sgml-local-catalogs: nil sgml-namecase-general:t End: