Windows NT binaries for htdig 3.1.5 to run under Cygwin environment
Packaged by Stephane Baudet.

April 3rd, 2000
I had some feedbacks about the fact that htdig contains a path to "sort.exe" 
hardly compiled with the binary. So, I added sort.exe with cygwin1.dll. 
Sort.exe should be located in d:\cygnus\cygwin-b20\H-i586-cygwin32\bin\ .


March 13th, 2000
To compile it, I just did it from the cygwin bash shell the classic Unix
way, I mean : "sh configure" to use autoconf, and then "make". I didn't
use "make install", but I copied the binaries and the htdig.conf file
to the place where they should be. I compiled it on a Pentium pro 200
server with NT server 4.0. You must first install cygwin B20.1 that you
can find on http://sourceware.cygnus.com/cygwin/ . Actually, only the
cygwin1.dll may be necessary.

I zipped my files and I also put my own htdig.conf that other users
may modify to put their own path for the external parser. I included a
slightly modified conv_doc.pl, which works well with NT and xpdf 0.90. I
also put pdfinfo.exe and pdftotext.exe from xpdf 0.90. I put my binaries
in c:\opt\www\cgi-bin and c:\opt\www\htdig\bin . The zip file contains
c:\opt\www\cgi-bin and c:\opt\www\htdig . NT users should change the
database path in htdig.conf. I put it on c:\opt\www\htdig\db, but with
cygwin syntax, if the DB must be, for instance, on d:\www\mydb, just
change the database dir line in htdig.conf with the following path :
d:/www/mydb or //d/www/mydb .

Dictionaries and templates should be installed in c:\opt\www\htdig\common
and image files should go in the "htdig" directory under your web server's
document root directory by default, unless you change the common_dir and
image_url_prefix in htdig.conf.

The zip file include the GIF files, dictionaries and templates in the common directory, but you can also get them from the source tar file, or use your own for a custom setup.

The contrib directory is included but contributions have not been tested under NT. However, as most of them are Perl scripts, they should work. I recommend the use of ActivePerl from ActiveState (www.activestate.com) which includes an installer for NT, a lot of Perl module and it works very well !

Eventually, I included the cygwin dll which should be included in a directory which is in your PATH, like c:\winnt\system32 for instance. This DLL is used to map unix system calls to NT system calls. this should be enough to run htdig without having to get the whole bunch from Cygwin (12 Mb).

Stephane Baudet.
ARAXE : http://www.araxe.fr