2002-12-02 12:55:46 +00:00
|
|
|
<?xml version="1.0" encoding="iso-8859-1"?>
|
2003-12-31 15:25:25 +00:00
|
|
|
<!-- $Revision: 1.9 $ -->
|
2002-12-02 12:55:46 +00:00
|
|
|
<section id="yaz.installation">
|
|
|
|
&reftitle.install;
|
|
|
|
<para>
|
2003-01-16 09:44:49 +00:00
|
|
|
Compile YAZ (ANSI/NISO Z39.50 support) and install it.
|
|
|
|
Build PHP with your favourite modules and add option
|
2002-12-02 12:55:46 +00:00
|
|
|
<option role="configure">--with-yaz[=DIR]</option>.
|
|
|
|
Your task is roughly the following:
|
|
|
|
</para>
|
|
|
|
<para>
|
2003-05-23 00:02:46 +00:00
|
|
|
<example>
|
|
|
|
<title>YAZ compilation</title>
|
2002-12-02 12:55:46 +00:00
|
|
|
<programlisting role="shell">
|
|
|
|
<![CDATA[
|
2003-01-16 09:44:49 +00:00
|
|
|
gunzip -c php-4.3.X.tar.gz|tar xf -
|
2003-02-24 23:37:31 +00:00
|
|
|
gunzip -c yaz-2.0.tar.gz|tar xf -
|
|
|
|
cd yaz-2.0
|
2002-12-02 12:55:46 +00:00
|
|
|
./configure --prefix=/usr
|
|
|
|
make
|
|
|
|
make install
|
2003-01-16 09:44:49 +00:00
|
|
|
cd ../php-4.3.X.
|
2002-12-02 12:55:46 +00:00
|
|
|
./configure --with-yaz=/usr/bin
|
|
|
|
make
|
|
|
|
make install
|
|
|
|
]]>
|
|
|
|
</programlisting>
|
2003-05-23 00:02:46 +00:00
|
|
|
</example>
|
2002-12-02 12:55:46 +00:00
|
|
|
</para>
|
2003-02-26 16:39:06 +00:00
|
|
|
<para>
|
|
|
|
If you are using YAZ as a shared extension, add (or uncomment) the following
|
2003-05-21 10:34:23 +00:00
|
|
|
line in &php.ini; on Unix:
|
2003-02-26 16:39:06 +00:00
|
|
|
<screen>
|
|
|
|
extension=php_yaz.so
|
|
|
|
</screen>
|
|
|
|
And for Windows:
|
|
|
|
<screen>
|
|
|
|
extension=php_yaz.dll
|
|
|
|
</screen>
|
|
|
|
</para>
|
|
|
|
<para>
|
2003-05-23 00:02:46 +00:00
|
|
|
On Windows, <filename>php_yaz.dll</filename> depend on
|
2003-02-26 16:39:06 +00:00
|
|
|
<filename>yaz.dll</filename>. You'll find <filename>yaz.dll</filename>
|
|
|
|
in sub directory <filename>dlls</filename> in the Win32 zip archive.
|
2003-05-23 00:02:46 +00:00
|
|
|
Copy <filename>yaz.dll</filename> to a directory in your
|
|
|
|
<varname>PATH</varname> environment
|
2003-12-31 15:25:25 +00:00
|
|
|
(<filename class="directory">c:\winnt\system32</filename> or
|
|
|
|
<filename class="directory">c:\windows\system32</filename>).
|
2003-02-26 16:39:06 +00:00
|
|
|
</para>
|
2003-01-20 20:21:41 +00:00
|
|
|
|
|
|
|
&warn.imaprecodeyaz;
|
|
|
|
|
2003-02-24 23:37:31 +00:00
|
|
|
<note>
|
|
|
|
<para>
|
|
|
|
The above problem is solved in version 2.0 of YAZ.
|
|
|
|
</para>
|
|
|
|
</note>
|
|
|
|
|
2002-12-02 12:55:46 +00:00
|
|
|
</section>
|
|
|
|
|
|
|
|
<!-- Keep this comment at the end of the file
|
|
|
|
Local variables:
|
|
|
|
mode: sgml
|
|
|
|
sgml-omittag:t
|
|
|
|
sgml-shorttag:t
|
|
|
|
sgml-minimize-attributes:nil
|
|
|
|
sgml-always-quote-attributes:t
|
|
|
|
sgml-indent-step:1
|
|
|
|
sgml-indent-data:t
|
|
|
|
indent-tabs-mode:nil
|
|
|
|
sgml-parent-document:nil
|
|
|
|
sgml-default-dtd-file:"../../../manual.ced"
|
|
|
|
sgml-exposed-tags:nil
|
|
|
|
sgml-local-catalogs:nil
|
|
|
|
sgml-local-ecat-files:nil
|
|
|
|
End:
|
|
|
|
vim600: syn=xml fen fdm=syntax fdl=2 si
|
|
|
|
vim: et tw=78 syn=sgml
|
|
|
|
vi: ts=1 sw=1
|
|
|
|
-->
|