Hi Lachlan,
Thanks for the suggestion :-) I tried it in all the environments I listed earlier,
but it didn't appear to work using the default settings for the compression flags.
Here's what htdb_dump reports for all attempts:
================
C:\htdig\bin>htdb_dump -Wz -p c:/htdig/var/htdig/db.words.db
htdb_dump: open: c:/htdig/var/htdig/db.words.db: No such file or directory
C:\htdig\bin>htdb_dump -W -p c:/htdig/var/htdig/db.words.db
htdb_dump: c:/htdig/var/htdig/db.words.db: file size not a multiple of the pages
ize
htdb_dump: open: c:/htdig/var/htdig/db.words.db: Invalid argument
C:\htdig\bin>
================
The db.words.db.work_weakcmpr file gets created now, and words.db has size to it, but
it still seems like it's corrupt or something since I can't dump it. Perhaps I've used
the wrong command? htsearch doesn't seem to like words.db either:
================
C:\htdig\bin>htsearch
Enter value for words: patients
WordDB: DB->cursor: method meaningless before open
Content-type: text/html
================
I'm working on the Win32 native build as Neal suggested.
Thanx
>>> Lachlan Andrew <[EMAIL PROTECTED]> 10/03/03 08:18AM >>>
Greetings Steve,
Thanks for the very clear bug report. Someone else has the same
problem. It's bug #814268...
This may be my fault. What happens if you replace the NULL in line
806 of db/mp_cmpr.c by dbenv ? That is, make it
if(CDB_db_create(&dbp, dbenv, 0) != 0
That was changed to avoid the possibility of infinite loops, but is a
bit of a kludge. If making the change described above works, then
I'll try to fix it properly.
Cheers,
Lachlan
On Fri, 3 Oct 2003 02:51, Steve Eidemiller wrote:
> I'm compiling htdig-3.2.0b4-20090928 under Cygwin 1.5.5 using gcc
> 3.3.1, on both Windows XP Pro SP1 and Windows 2000 Server SP4.
> db.words.db is always a zero length file
--
[EMAIL PROTECTED]
ht://Dig developer DownUnder (http://www.htdig.org)
__________________________________
Confidentiality Statement:
This email/fax, including attachments, may include confidential and/or proprietary
information and may be used only by the person or entity to which it is addressed. If
the reader of this email/fax is not the intended recipient or his or her agent, the
reader is hereby notified that any dissemination, distribution or copying of this
email/fax is prohibited. If you have received this email/fax in error, please notify
the sender by replying to this message and deleting this email or destroying this
facsimile immediately.
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
ht://Dig Developer mailing list:
[EMAIL PROTECTED]
List information (subscribe/unsubscribe, etc.)
https://lists.sourceforge.net/lists/listinfo/htdig-dev