On Tue, 4 Sep 2001, Don Brady wrote:

> Date: Tue, 04 Sep 2001 22:49:25 -0400
> From: Don Brady <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: Re: [htdig] whatsnew.pl problem
> 
> 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.

Read on;)
-----------------------------8<-------------------------------
PREREQUISITES
-------------

Before you can build BerkeleyDB you need to have the following
installed on your system:

    * Perl 5.004_04 or greater.

    * Berkeley DB Version 2.6.4 or greater
-----------------------------8<-------------------------------

> > >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.

Continue reading the README file;)
----------------------------------8<----------------------------------
Linux Notes
-----------

Newer versions of Linux (e.g. RedHat 6, SuSe 6) ship with a C library
that has version 2.x of Berkeley DB linked into it. This makes it
difficult to build this module with anything other than the version of
Berkeley DB that shipped with your Linux release. If you do try to use
a different version of Berkeley DB you will most likely get the error
described in the "Incompatible versions of db.h and libdb" section of
this file.
...
----------------------------------8<----------------------------------

Don't stop there; there is more;^)

Regards,

Joe
-- 
     _/   _/_/_/       _/              ____________    __o
     _/   _/   _/      _/         ______________     _-\<,_
 _/  _/   _/_/_/   _/  _/                     ......(_)/ (_)
  _/_/ oe _/   _/.  _/_/ ah        [EMAIL PROTECTED]


_______________________________________________
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