At 10:33 PM 9/24/2001 -0500, Geoff Hutchison wrote:
>At 11:01 PM -0400 9/24/01, Don Brady wrote:
>>The problem is that the whatsnew.pl contains references to BerkeleyDB
>>that do not work on the older version of RedHat that the ISP is using.
>
>I guess I'm not clear on the problem here.
>
>>Is the only practical solution to get the ISP to upgrade to db2 or db3?
>
>I wouldn't think it's an issue with the version of BerkeleyDB (which is
>almost assuredly at least v. 2.something), but perhaps an older version of
>Perl.
>
>If for some reason the Perl is new enough, the source version of ht://Dig
>comes with the appropriate version of the Berkeley DB and you could link
>against that.
Let me try to explain better:
(1) ht:://Dig comes with and uses Berkeley DB 1 (an older version of
Berkeley DB).
(2) Whatsnew.pl uses the BerkeleyDB Perl interface which states in part:
"BerkeleyDB is a module which allows Perl programs to make use of the
facilities provided by Berkeley DB version 2 or 3. (Note: if you want to
use version 1 of Berkeley DB with Perl you need the DB_File module)."
Thus one cannot use whatsnew.pl with htdig as far as I can determine,
because they require different versions of Berkeley db itself (version 2 or
3 for whatsnew versus version 1 for htdig).
BerkeleyDB Perl, and therefore whatnew.pl, requires Berkeley DB version 2
or 3, not the version 1 used by htdig.
I have tried numerous things and cannot them to work
together. Everything compiles fine, whatsnew just finds nothing unless
the database is manually upgraded to version 2 or 3 first.
I also tried to regress whatsnew.pl to use DB_File but I get the compile
errors I described earlier if I do so.
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