CLucene is a C++ version of Lucene, a high performance text search engine.
This package is known to build and work properly using an LFS 12.4 platform.
Download (HTTP): https://downloads.sourceforge.net/clucene/clucene-core-2.3.3.4.tar.gz
Download MD5 sum: 48d647fbd8ef8889e5a7f422c1bfda94
Download size: 2.2 MB
Estimated disk space required: 78 MB
Estimated build time: 0.8 SBU
Install CLucene by running the following commands:
patch -Np1 -i ../clucene-2.3.3.4-contribs_lib-1.patch && sed -i '/Misc.h/a #include <ctime>' src/core/CLucene/document/DateTools.cpp && mkdir build && cd build && cmake -D CMAKE_INSTALL_PREFIX=/usr \ -D CMAKE_POLICY_VERSION_MINIMUM=3.5 \ -D BUILD_CONTRIBS_LIB=ON \ -W no-dev .. && make
Now, as the root
user:
make install
-D
CMAKE_POLICY_VERSION_MINIMUM=3.5
: This switch allows
building this package with cmake-4.0 or newer.
-D BUILD_CONTRIBS_LIB=ON
:
This cmake variable enables building the CLucene contribs library
necessary for running applications that use language specific text
analyzers like LibreOffice for example.
-W no-dev
: This parameter
silences several warnings only intended for project developers.