At 08:38 PM 9/4/2001 -0500, Geoff Hutchison wrote:
>At 7:48 PM -0400 9/4/01, Don Brady wrote:
>>[root@ag /root]# db_stat -d /var/lib/htdig/db.docdb
>>db_stat: /var/lib/htdig/db.docdb: btree version 6 requires a version upgrade
>>db_stat: /var/lib/htdig/db.docdb: btree version 6 requires a version upgrade
>>db_stat: open: /var/lib/htdig/db.docdb: DB_OLDVERSION: Database requires 
>>a version upgrade
>...
>>Built with Berkeley DB: 2.3.1 -> 2.7.7
>
>>  Does it have something to do with  the database being built with 
>> Berkeley DB2 (according to the above), but Redhat 7.1 having DB3 installed?
>
>I would guess you also have Berkeley DB2 installed as well?

Well I think Berkely DB version 3, which is installed, is supposed to be 
compatible with Berkeley DB version 2 as well.

>  I would guess it depends a lot on what the BerkelyDB.pm is expecting. 
> Does that come with a README? '

Yes, it says in part:

This Perl module provides an interface to most of the functionality
available in Berkeley DB versions 2 and 3. In general it is safe to assume
that the interface provided here to be identical to the Berkeley DB
interface. The main changes have been to make the Berkeley DB API work
in a Perl way. Note that if you are using Berkeley DB 2.x, the new
features available in Berkeley DB 3.x are not available via this module.

> >When you compiled it, what did it link against?

It looks as if version 3.


Perhaps the problem is that htdig was compiled against version 2 of Berkely 
DB, and so creates version 2 type DB files?   I am using a (somewhat older) 
pre-compliled Redat RPM rather than installing htdig from your install method.
compiling itself.    If this is plausible, I will re-install it using your 
installation instructions.

Thanks!

Don




_______________________________________________
htdig-general mailing list <[EMAIL PROTECTED]>
To unsubscribe, send a message to <[EMAIL PROTECTED]> with a 
subject of unsubscribe
FAQ: http://htdig.sourceforge.net/FAQ.html

Reply via email to