File: installation-win32.html

package info (click to toggle)
idzebra 2.2.10-1
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 10,644 kB
  • sloc: ansic: 54,389; xml: 27,054; sh: 6,211; makefile: 1,099; perl: 210; tcl: 64
file content (77 lines) | stat: -rw-r--r-- 6,489 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
<html><head><meta charset="ISO-8859-1"><title>3.Windows</title><meta name="generator" content="DocBook XSL Stylesheets Vsnapshot"><link rel="home" href="index.html" title="Zebra - User's Guide and Reference"><link rel="up" href="installation.html" title="Chapter2.Installation"><link rel="prev" href="installation-debian.html" title="2.GNU/Debian"><link rel="next" href="installation-upgrade.html" title="4.Upgrading from Zebra version 1.3.x"></head><body><link rel="stylesheet" type="text/css" href="common/style1.css"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">3.Windows</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="installation-debian.html">Prev</a></td><th width="60%" align="center">Chapter2.Installation</th><td width="20%" align="right"><a accesskey="n" href="installation-upgrade.html">Next</a></td></tr></table><hr></div><div class="section"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="installation-win32"></a>3.Windows</h2></div></div></div><p>The easiest way to install <span class="application">Zebra</span> on Windows is by downloading
    an installer from
    <a class="ulink" href="https://ftp.indexdata.com/pub/zebra/win32/" target="_top">here</a>.
    The installer comes with source too - in case you wish to
    compile <span class="application">Zebra</span> with different Compiler options.
   </p><p>
    <span class="application">Zebra</span> is shipped with "makefiles" for the NMAKE tool that comes
    with <a class="ulink" href="https:/visualstudio.microsoft.com" target="_top">Microsoft Visual C++</a>.
    Version 2013 has been tested.
   </p><p>
    Start a command prompt and switch the sub directory
    <code class="filename">WIN</code> where the file <code class="filename">makefile</code>
    is located. Customize the installation by editing the
    <code class="filename">makefile</code> file (for example by using notepad).

    The following summarizes the most important settings in that file:

    </p><div class="variablelist"><dl class="variablelist"><dt><span class="term"><code class="literal">DEBUG</code></span></dt><dd><p>
        If set to 1, the software is
        compiled with debugging libraries (code generation is
        multi-threaded debug DLL).
        If set to 0, the software is compiled with release libraries
        (code generation is multi-threaded DLL).
       </p></dd><dt><span class="term"><code class="literal">YAZDIR</code></span></dt><dd><p>
        Directory of <span class="application">YAZ</span> source. <span class="application">Zebra</span>'s makefile expects to find
        YAZ<code class="filename">.lib</code>, YAZ<code class="filename">.dll</code>
        in <em class="replaceable"><code>yazdir</code></em><code class="literal">/lib</code> and
        <em class="replaceable"><code>yazdir</code></em><code class="literal">/bin</code> respectively.
       </p></dd><dt><span class="term"><code class="literal">HAVE_EXPAT</code>,
       <code class="literal">EXPAT_DIR</code></span></dt><dd><p>
        If <code class="literal">HAVE_EXPAT</code> is set to 1, <span class="application">Zebra</span> is compiled
        with <a class="ulink" href="https://libexpat.github.io" target="_top">Expat</a> support.
	In this configuration, set
        <code class="literal">ZEBRA_DIR</code> to the Expat source directory.
	Windows version of Expat can be downloaded from
	<a class="ulink" href="https://libexpat.github.io" target="_top">SourceForge</a>.
       </p></dd><dt><span class="term"><code class="literal">BZIP2INCLUDE</code>,
       <code class="literal">BZIP2LIB</code>,
       <code class="literal">BZIP2DEF</code>
      </span></dt><dd><p>
        Define these symbols if <span class="application">Zebra</span> is to be compiled with
	<a class="ulink" href="http://bzip.org" target="_top">BZIP2</a> record compression support.
       </p></dd></dl></div><p>
   </p><div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Warning</h3><p>
     The <code class="literal">DEBUG</code> setting in the makefile for <span class="application">Zebra</span> must
     be set to the same value as <code class="literal">DEBUG</code> setting in the
     makefile for <span class="application">YAZ</span>.
     If not, the <span class="application">Zebra</span> server/indexer will crash.
    </p></div><p>
    When satisfied with the settings in the makefile, type
    </p><pre class="screen">
     nmake
    </pre><p>
   </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
     If the <code class="filename">nmake</code> command is not found on your system
     you probably haven't defined the environment variables required to
     use that tool. To fix that, find and run the batch file
     <code class="filename">vcvars32.bat</code>. You need to run it from within
     the command prompt or set the environment variables "globally";
     otherwise it doesn't work.
    </p></div><p>
    If you wish to recompile <span class="application">Zebra</span> - for example if you modify
    settings in the <code class="filename">makefile</code> you can delete
    object files, etc by running.
    </p><pre class="screen">
     nmake clean
    </pre><p>
   </p><p>
    The following files are generated upon successful compilation:

    </p><div class="variablelist"><dl class="variablelist"><dt><span class="term"><code class="filename">bin/zebraidx.exe</code></span></dt><dd><p>
        The <span class="application">Zebra</span> indexer.
       </p></dd><dt><span class="term"><code class="filename">bin/zebrasrv.exe</code></span></dt><dd><p>
        The <span class="application">Zebra</span> server.
       </p></dd></dl></div><p>

   </p></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="installation-debian.html">Prev</a></td><td width="20%" align="center"><a accesskey="u" href="installation.html">Up</a></td><td width="40%" align="right"><a accesskey="n" href="installation-upgrade.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">2.GNU/Debian</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">4.Upgrading from <span class="application">Zebra</span> version 1.3.x</td></tr></table></div></body></html>