<chapter id="installation">
- <!-- $Id: installation.xml,v 1.5 2002-10-23 12:22:18 mike Exp $ -->
+ <!-- $Id: installation.xml,v 1.9 2004-01-07 11:49:03 adam Exp $ -->
<title>Installation</title>
<para>
You need a C++ compiler to compile and use YAZ++.
what you want.
</para></listitem>
</varlistentry>
+ <varlistentry>
+ <term><literal>--with-xslt </literal>directory</term>
+ <listitem><para>
+ Specifies prefix for libxslt (and libxml2).
+ configure must be able to locate <command>xslt-config</command>
+ in PREFIX/bin. If this option is omitted, configure looks
+ for <command>xslt-config</command> in the current PATH.
+ </para></listitem>
+ </varlistentry>
</variablelist>
For the whole list of <literal>configure</literal> options, refer
to the help:
<literal>./configure --help</literal>.
</para>
<para>
+ Configure uses GCC's C/C++ compiler if available. To specify another
+ compiler, set <literal>CXX</literal>. To use other compiler flags,
+ specify <literal>CXXFLAGS</literal>. To use <literal>CC</literal>
+ with debugging you could use:
+ <screen>
+ CXXFLAGS="-g" CXX=CC ./configure
+ </screen>
+ </para>
+ <para>
This is what you have after successful compilation:
<variablelist>
<varlistentry>
</variablelist>
</para>
</section>
+ <section id="windows">
+ <title>Building on Windows</title>
+ <para>
+ You'll find Visual Studio project files in sub directory
+ <filename>win</filename>. Open workspace <filename>yazxx.dsw</filename>
+ which includes the following projects:
+ <variablelist>
+ <varlistentry>
+ <term><literal>yazxx.dsp</literal></term>
+ <listitem><para>
+ Builds the <filename>yazxx.dll</filename>.
+ </para></listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><literal>yazclient.dsp</literal></term>
+ <listitem><para>
+ Builds the sample client <filename>yazmyclient.exe</filename>.
+ </para></listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><literal>yazserver.dsp</literal></term>
+ <listitem><para>
+ Builds the sample server <filename>yazmyserver.exe</filename>.
+ </para></listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><literal>yazserver.dsp</literal></term>
+ <listitem><para>
+ Builds the proxy <filename>yazproxy.exe</filename>.
+ </para></listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><literal>zoomxxclient.dsp</literal></term>
+ <listitem><para>
+ Builds the ZOOM C++ demo client <filename>zoomxxclient.exe</filename>.
+ </para></listitem>
+ </varlistentry>
+ </variablelist>
+ </para>
+ <para>
+ By default, the include path and library path for the projects assumes
+ that YAZ is located in <filename>..\yaz</filename>
+ (i.e. same prefix as the YAZ++ source).
+ If YAZ is in a different directory you'll have to modify
+ the include path in
+ <literal>Project | Settings | C/C++ | Preprocessor | Additional include
+ directories</literal>
+ and library path in
+ <literal>Project | Settings | Link | Input | Additional library
+ path</literal>.
+ </para>
+ </section>
</chapter>
<!-- Keep this comment at the end of the file
Local variables: