----- Original Message ----- From: "Kate L Pugh" kake@earth.li To: "Discussion of development on the OpenGuides software" openguides-dev@openguides.org Sent: 27 January 2004 18:38 Subject: Re: [OpenGuides-Dev] OpenGuides on Windows?
On Tue 27 Jan 2004, IvorW ivorw-openguides@xemaps.com wrote:
Search::InvertedIndex is going to be the problem. Fails tests on Win32 big time!
Is there any chance you could try to do something about this? Jerry (its author) doesn't have access to a Windows box and neither do I.
Congratulations! Linus would be proud of you :).
It looks like you are in an excellent position to really help us out. If you could get even one extra test passing and send him a patch, that would be a start.
I did have a go, but the test script supplied: t/base.t is arcane to say the least.
When I try to run it through the debugger (make testdb), it hits an evil eval and spews tons of crap while dieing. Not very helpful.
It's failing all the tests. It's barffing in test1 at line 2108:
my $inv_map = Search::InvertedIndex->new({ -database => $database });
but I haven't got to the bottom of where the problem is.
Maybe it might be possible to rewrite t/base.t in a more friendly fashion, but I don't know if the issues are with the test, with the module, or the environment :(.
In my opinion, t/base.t needs replacing with a more comprehensive and comprehensible set of tests. Unfortunately, I don't feel I understand enough of the module and how it works, to take this on. Maybe, given time, particularly, if I want to do a search index module of my own, I might tackle this.
Sorry not to be of more help.
Ivor.