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


J. op den Brouw (MSQL_User@st.hhs.nl)
Wed, 23 Sep 1998 16:35:23 +0200 (MET DST)


Did you

#include <unistd.h>

???

On Wed, 23 Sep 1998, Mike Dagan wrote:

> Hi,
>
> I still getting the "Somewhere_deep_inside" error ( I run linux 2.0/
> Slackware).
> 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);
> else
> errno = db_open(filename, DB_BTREE, DB_CREATE, mode, dbenv,
> &dbinfo,
> &dbp);
> if (errno == 0)
> // </LEO>
>
> The error i got:
>
> DB2_db.cc: In method `int DB2_db::OpenReadWrite(char *, int = 420)':
> DB2_db.cc:81: warning: implicit declaration of function `int
> access(...)'
> DB2_db.cc:81: `F_OK' undeclared (first use this function)
> DB2_db.cc:81: (Each undeclared identifier is reported only once
> DB2_db.cc:81: 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...
>
> Thanks,
> Mike
>
> ______________________________________________________
> Get Your Private, Free Email at http://www.hotmail.com
> ----------------------------------------------------------------------
> To unsubscribe from the htdig mailing list, send a message to
> htdig-request@sdsu.edu containing the single word "unsubscribe" in
> the body of the message.
>

--jesse
---------------------------------------------------------------------
J. op den Brouw Johanna Westerdijkplein 75
Haagse Hogeschool 2521 EN DEN HAAG
Sector Techniek Netherlands
Afdeling Elektrotechniek +31 70 4458936
-------------------------- msql@st.hhs.nl ---------------------------

htdig survey: http://crytonII.st.hhs.nl/htdig/survey.html

----------------------------------------------------------------------
To unsubscribe from the htdig mailing list, send a message to
htdig-request@sdsu.edu 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