This message should be a general guide to NT installation process (and
FAQ in the near future).

This cookbook applies to release 0.43 and later.

1. Sablotron
----------------------------------------

for binary distributions start with e)

a) you need both of Sablotron and Expat tarballs
b) unpack Sablotron
c) unpack Expat into the Sablotron directory

your directory tree should look like this (excerpt):

...\
\Sablotron-x.xx
\Sablot
\engine
\command
\Expat
\distribution

Unlike the Linux installation, you *always* need the Expat source
(second way is simple hack of Makefile, do it, if you know what are you
doing)

d) type 'nmake -f Makefile.nt' in the Sablotron-x.xx directory
(do not forget to set compiler environment (vcvars32.bat), don't
care for it, if you compiler works :)


e) to run sabcmd or another programs using sablotron shared libs, you
need your PATH variable contain bin\ directory of sablotron. Of course,
you may copy files from this directory into any folder pointed by PATH.

f) to compile and link another programs with sablotron libraries, you
need place the *.lib files (lib/ directory) into some folder pointed by
LIB env. variable, and the *.h files (include/ directory) into folder
pointed by INCLUDE variable. Copy files or set LIB and INCLUDE. (There
is one exception, you do not need this for XML::Sablotron module (Perl)
- see the next chapter).

2. XML::Sablotron
----------------------------------------

g) you need XML-Sablotron-x.xx.tar.gz file and Sablotron installed as
described in a) .. e)

h) unpack archive in *any* directory

i) type 'perl Makefile.PL -d x:/somewhere/Sablotron-x.xx'
(or just perl Makefile.PL, if you've made point f))

j) type nmake

k) nmake test

l) nmake install

All should be OK.


-- 
Pavel Hlavnicka
Ginger Alliance Ltd.
Prague; Czech Republic


Reply via email to