giellalt / lang-fkv

Finite state and Constraint Grammar based analysers and proofing tools, and language resources for the Kven Finnish language
https://giellalt.uit.no
GNU Lesser General Public License v3.0
2 stars 0 forks source link

Error when running make #3

Closed carges closed 2 years ago

carges commented 2 years ago

I get the following error when running make:

make[2]: *** No rule to make target `generator-dict-gt-norm-dial_Jok.hfstol', needed by `all-am'.  Stop.
rm generator-gt-norm.tmp.hfst analyser-disamb-gt-desc.tmp.xfst generator-raw-gt-desc.tmp.hfst analyser-dict-gt-desc.tmp.xfst analyser-gt-desc.tmp.xfst analyser-gt-norm-dial_Var.tmp.xfst analyser-gt-norm-dial_Jok.tmp.hfst analyser-gt-norm-dial_Jok.hfst analyser-gt-norm-dial_Por.hfst analyser-dict-gt-desc-mobile.tmp.hfst analyser-disamb-gt-desc.tmp1.xfst analyser-gt-norm-dial_Por.tmp.xfst analyser-gt-desc.tmp.hfst generator-dict-gt-norm.tmp.hfst analyser-dict-gt-desc.tmp.hfst generator-gt-desc.tmp.hfst analyser-gt-norm-dial_Var.hfst analyser-gt-norm-dial_Jok.tmp.xfst analyser-disamb-gt-desc.tmp.hfst analyser-gt-norm-dial_Var.tmp.hfst generator-dict-gt-norm.tmp.xfst analyser-gt-norm.tmp.hfst analyser-gt-norm-dial_Por.tmp.hfst generator-gt-desc.tmp.xfst analyser-disamb-gt-desc.tmp1.hfst analyser-dict-gt-desc-mobile.tmp.xfst analyser-raw-gt-desc.tmp.xfst
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1

I have the following configuration:

./configure --enable-tokenisers --with-xfst --enable-dialects --enable-dicts
th0masbk commented 2 years ago

What if you remove those hfst-files?

Tuomas:fkv thomas$ rm -f src/*.hfst
Tuomas:fkv thomas$ rm -f src/*.hfstol

Also: I use both --with-xfst and --without-hfst when using xfst. Here's my configuration:

./configure --with-xfst --without-hfst --enable-tokenisers --enable-reversed-intersect --enable-dialects GTCORE=/Users/thomas/langs/giella-core --no-create --no-recursion

snomos commented 2 years ago

--without-hfst should fix the issue

carges commented 2 years ago

Yes it works with --without-hfst :)