[Snowball-discuss] Download tarball inconsistencies
Olly Betts
olly at survex.com
Sun Sep 10 22:03:41 BST 2006
Hmm, more problems (sorry!)
I'm using snowball_code.
If I type "make" it fails with:
make: *** No rule to make target `libstemmer/modules.txt', needed by `libstemmer/modules.h'. Stop.
I can't find any documentation for the format of this file, but reading
the perl in libstemmer/mkmodules.pl which parses it, it seems to need to
contain lines with this format:
<ALGORITHM> <ENCODING>[,<ENCODING>]... [<ALIAS>[,<ALIAS>]...]
I can see I might want to customise this, but it would be useful to at
least include an example.
I also got a 64-bit related warning compiling compiler/analyser.c - I've
attached a patch to fix this.
Cheers,
Olly
-------------- next part --------------
diff -ru snowball_code/compiler/analyser.c compiler/analyser.c
--- snowball_code/compiler/analyser.c 2005-05-24 10:34:50.000000000 +0100
+++ compiler/analyser.c 2006-09-10 21:49:12.000000000 +0100
@@ -474,7 +474,7 @@
}
q = q->right;
}
- unless (w1-v == p->number) { fprintf(stderr, "oh! %d %d\n", w1-v, p->number); exit(1); }
+ unless (w1-v == p->number) { fprintf(stderr, "oh! %d %d\n", (int)(w1-v), p->number); exit(1); }
if (backward) for (w0 = v; w0 < w1; w0++) reverse_b(w0->b);
sort(v, w1, sizeof(struct amongvec), compare_amongvec);
More information about the Snowball-discuss
mailing list