Oleksandr Bratashov
Oleksandr Bratashov

Reputation: 908

How to fix errors during the building snowball tool from sources?

I've downloaded sources of https://github.com/snowballstem/snowball and try to build it by official guide on my machine.

Unfortunately, I have gotten an error

make: *** No rule to make target 'install'. Stop.

Steps to reproduce:

$ git clone https://github.com/snowballstem/snowball.git
...
Resolving deltas: 100% (3092/3092), done.
$ make
libstemmer/mkalgorithms.pl algorithms.mk libstemmer/modules.txt
cc -O2 -W -Wall -Wmissing-prototypes -Wmissing-declarations   -c -o compiler/space.o compiler/space.c
...
$ sudo make install
make: *** No rule to make target 'install'.  Stop.

OS: Ubuntu 22.04

Also I've created an issue here https://github.com/snowballstem/snowball/issues/170

I expect that all instructions from the Snowball guide should work well.

Upvotes: 0

Views: 68

Answers (1)

TylerH
TylerH

Reputation: 21086

OP's solution migrated from the question to an answer:

After digging deeper, found that running make is enough, and it works well:

echo "running" | ./stemwords -l en
run

Also guide was updated https://snowballstem.org/runtime/use.html

Upvotes: 1

Related Questions