jesseadams / sphinx-cookbook

Chef cookbook for Sphinx Search (searchd)
14 stars 27 forks source link

Error when use --with-libstemmer #44

Open the-teacher opened 9 years ago

the-teacher commented 9 years ago

Hello! I tried to use use_stemmer: true option in my chef-solo config, and I see that is a reason of Error on sphinx installation.

==> default: make[1]: Entering directory `/var/chef/cache/sphinx/libstemmer_c'
==> default: make[1]: Leaving directory `/var/chef/cache/sphinx/libstemmer_c'
==> default: STDERR: configure: WARNING: ODBC source support will NOT be available
==> default: make[1]: *** No rule to make target `src_c/stem_ISO_8859_1_hungarian.c', needed by `stem_ISO_8859_1_hungarian.o'.  Stop.
==> default: make: *** [all-recursive] Error 1

I found following message:

# libstemmer changed the name of the Hungarian source files,
# but the released version of sphinx still refers to it under the old name.
inreplace "libstemmer_c/Makefile.in",
"stem_ISO_8859_1_hungarian", "stem_ISO_8859_2_hungarian"

sources:

I think it can be fixed, but I can't do that because I use Vargant and chef only for one day and I haven't enough skills to fix recipes correctly right now.

Maybe somebody can do that? Thanks!

the-teacher commented 9 years ago

:exclamation: Strange situation with links to hub.docker they can be opened only with direct coping to browser address line, otherwise they give 404 page