According to David Salinas:
> >Hi - You probably want to start at
> >http://www.htdig.org/FAQ.html#q2.6
> >Jim
> 
> Hi again
> 
> Thanks Jim for the tip
> 
> I followed the instructions, and compiled without any problem the source
> code (htdig-3.1.5) with Cygwin 1.3.2.
> 
> However, I have many problems with htsearch:
> 
> Under PWS 4 (NT Workstation),
> ============================
> Instead of open:
> F:\HTDIG\conf\htdig.conf
> 
> htsearch tries to open
> 
> D:\Inetpub\wwwroot\mysite\d\Inetpub\wwwroot\mysite\f\htdig\conf\htdig.conf
> 
> operation which fails, of course.

Check your CONFIG file carefully, especially the settings for DEST and
CONFIG_DIR, as well as DEFAULT_CONFIG_FILE.  It seems to me that the
colon after the "f" may be missing.  Also, if you're using backslashes
("\") instead of slashes ("/") in any filenames, try slashes instead,
as they're less likely to cause problems.

> When I create all that (damn) directory
> structure, the programs returns:
> 
> ***********************
> DB2 problem...: f:/htdig/common/synonyms.db: file size not a multiple of the
> pagesize
> DB2 problem...: f:/htdig/common/word2root.db: No such file or directory
> DB2 problem...: f:/htdig/db/db.words.db: file size not a multiple of the
> pagesize
>       0 [main] htsearch 330 handle_exceptions: Exception:
> STATUS_ACCESS_VIOLATION
>    1398 [main] htsearch 330 open_stackdumpfile: Dumping stack trace to
> htsearch.exe.stackdump
> ***********************

That "file size not a multiple of the pagesize" error seems to be an
increasingly frequent complaint among htdig users on Cygwin.  I suspect
the problem may be related to the newer releases of the Cygwin toolkit.
Jim Kerslake used 1.1.3 when he wrote his Idiot's Guide, and you're trying
1.3.2.  I'd suggest going back to that version, or perhaps something else
in the 1.1.x series, and see if that makes the problem go away.

> Under Apache 1.3.19
> ===================
> htsearch open the conf file, but the program doesn't return anything.
> Indeed, it doesn't do anything apart from opening "db.words.db" and then
> (after a very very long time), writes the file
> 
> htsearch.exe.stackdump
> 
> Which reports that there was an "STATUS_ACCESS_VIOLATION"

Again, I'd try another Cygwin version to see if this problem goes away.
By the looks of it, there's some database corruption happening, so that
could be leading htsearch to go haywire.  If the problem persists, even
if the pagesize problem above disappears with another version, then see
if you can get a usable stack backtrace that would tell us what htsearch
was doing at the time of the violation.

> ***********************
> What is happening?
> 
> I have indexed one site (by the way, the PHP Manual) with the .bat suggested
> in the "Idiot's Guide" (pretty name)

Hey, it wasn't my choice of name, but we tend to stay with what is contributed
and leave it at that.

> Also, htdig hangs when tries to index the file that I am attaching to this
> message
> 
> Help please!

Again, I'd like to know if a different version of Cygwin fixes this.
I don't run Cygwin myself, but my Linux based htdig 3.1.5 has no trouble
at all with the file you sent.

> P.S.
> The DLL
> 
> "cygwin/bin/libz.dll"
> 
> referred in the "Idiot's Guide", doesn�t exist

It may be they dropped it, or incorporated it into another DLL in the latest
version.  Check the documentation.  This may be moot if you have to go back
to the older 1.1.x series.

-- 
Gilles R. Detillieux              E-mail: <[EMAIL PROTECTED]>
Spinal Cord Research Centre       WWW:    http://www.scrc.umanitoba.ca/~grdetil
Dept. Physiology, U. of Manitoba  Phone:  (204)789-3766
Winnipeg, MB  R3E 3J7  (Canada)   Fax:    (204)789-3930

_______________________________________________
htdig-dev mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/htdig-dev

Reply via email to