htdig: patch didn't fix the "something deep inside" problem

Mike Dagan (
Wed, 23 Sep 1998 06:33:15 PDT


I still getting the "Somewhere_deep_inside" error ( I run linux 2.0/
Somewhere_deep_inside...: /usr/local/htdig/db/db.words.db: unexpected
file format
htmerge: Unable to create/open the word database

I did apply the following patch from Leo Bergolth
and i got a compilation error:
    // Create the database.
    // <LEO> strange error opening existing database files
    //if ((errno = db_open(filename, DB_BTREE, DB_CREATE, mode, dbenv,
    // &dbinfo, &dbp)) == 0)
    if (access(filename, F_OK) == 0)
      errno = db_open(filename, DB_BTREE, 0, 0, dbenv, &dbinfo, &dbp);
      errno = db_open(filename, DB_BTREE, DB_CREATE, mode, dbenv,
    if (errno == 0)
    // </LEO>

The error i got: In method `int DB2_db::OpenReadWrite(char *, int = 420)': warning: implicit declaration of function `int
access(...)' `F_OK' undeclared (first use this function) (Each undeclared identifier is reported only once for each function it appears in.)

Can anyone help solving this problem. I would like to use the new htdig
but i can't make it to work...


Get Your Private, Free Email at
To unsubscribe from the htdig mailing list, send a message to containing the single word "unsubscribe" in
the body of the message.

This archive was generated by hypermail 2.0b3 on Sat Jan 02 1999 - 16:27:50 PST