I am having trouble getting whatsnew.pl to work on RedHat 7.1 Linux.
I did get the updated version of whatsnew.pl from
ftp://ftp.ccsf.org/htdig-patches/Contirb/whatsnew.pl
(thanks Joe).
First, I realized that it would not work on HTDig 3.2, so I uninstalled
HTDig 3.2 and installed HTDig 3.1.5 (using the Redhat RPM
htdig-3.1.5-6.i386.html from Redhat PowerTools 7.0).
Then, I installed what appear to be the latest versions of:
HtDig-Database-0.52.tar.gz
BerkeleyDB-0.16.tar.gz (this is BerkeleyDB.pm and auxiliary files)
Now to the actual problem:
When I run whatsnew.pl. it is unable to recognize the db.docdb database.
I have traced the perl script and the place where it either fails at
tie %docdb, 'BerkeleyDB::Btree', -Filename => $Index, -Flags =>
DB_RDONLY || die "Error: $Index - $!";
or gets an empty vector at
while (($key, $value) = each %docdb)
I have deleted and re-created the databases numerous times, moved them
around, and tinkered with the perl code to no avail.
Started to delve into Berkelely DB, I did try running db_stat with the
following results:
[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
However, when I try db_upgrade on it it gets a segfault.
Running dbinfo.pl gives the following:
dbinfo.pl /var/lib/htdig/db.docdb
testing file /var/lib/htdig/db.docdb...
File Type: Berkeley DB Btree file.
File Version ID: 6
Built with Berkeley DB: 2.3.1 -> 2.7.7
Byte Order: Little Endian
Magic: 053162
Does anyone have any advice on how to get whatsnew.pl working?
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?
Thanks a lot!
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