Peter Karman wrote:
>
>
> Steffen Netz scribbled on 10/23/06 7:37 AM:
> >
> > Hello,
> >
> >
> > I'm trying to compile 2.4.4 ( Solaris ), but all tests fail:
> >
> >> cd tests
> >> ../src/swish-e -c test.config -i . -T indexed_words
> > err: Swish aborted with non-negative lasterror
> > .
> >
> > Where do I have to search first?
> >
>
> well, I'd start with making sure there were no obvious warnings/errors via 'make'.
No Errors, the following warnings (grep from make.log):
config.h:387:1: warning: "sw_off_t" redefined
config.h:391:1: warning: this is the location of the previous definition
config.h:388:1: warning: "sw_fseek" redefined
config.h:392:1: warning: this is the location of the previous definition
config.h:389:1: warning: "sw_ftell" redefined
config.h:393:1: warning: this is the location of the previous definition
filter.c:501: warning: subscript has type `char'
> then, I'd look at things like:
>
> * does swish-e find its libraries?
>
> ldd src/swish-e
Hey this is a Shell-Script to me. The exe is in src/.libs, and yes, it finds its libs.
>
> * does swish-e work for -h?
>
> src/swish-e -h
yes
>
> * which compiler (Sun native or gcc or...) was used? Sun native compiler can do
> odd things, I've seen, esp wrt library linking, etc.
I'm using gcc
>
> * try running the same test manually with -v3 option
>
> cd tests && ../src/swish-e -c test.config -v3 -i . -T indexed_words
this is, what I'm have done.
>
>
Any other ideas?
Thanks,
Steffen
Received on Tue Oct 24 02:13:06 2006