You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I performed npm install clucene for my application and it fails with such error:
In file included from /usr/include/CLucene/StdHeader.h:20:0,
from /usr/include/CLucene.h:11,
from ../src/clucene_bindings.cpp:8:
/usr/include/CLucene/SharedHeader.h:18:36: fatal error: CLucene/clucene-config.h: No such file or directory
compilation terminated.
Waf: Leaving directory `/home/shawnzhu/workspace/chef-repo-site/node_modules/clucene/build'
Build failed: -> task failed (err #1):
{task: cxx clucene_bindings.cpp -> clucene_bindings_1.o}
It's common CLucene usage error on x86_64 architecture (I got this on Fedora18).
The fix is simple:
$ cd /usr/include/CLucene
$ sudo ln -s /usr/lib64/CLucene/clucene-config.h
Or change wscript by appending "-I/usr/lib64" to obj.cxxflags
The text was updated successfully, but these errors were encountered:
I performed npm install clucene for my application and it fails with such error:
It's common CLucene usage error on x86_64 architecture (I got this on Fedora18).
The fix is simple:
Or change wscript by appending
"-I/usr/lib64"
to obj.cxxflagsThe text was updated successfully, but these errors were encountered: