IMPORTANT: The Apache Lucy C library depends on the Clownfish object system which must be built first. Please read this section, or your build will probably FAIL.
Lucy needs the following Clownfish components:
If you installed Clownfish to /usr/local or /usr on UNIX, no further action should be required. If you installed Clownfish to an alternate location, make sure to use the
--clownfish-prefix configure option:
It's also possible to build Lucy with an uninstalled Clownfish build from the Clownfish source directory. To setup the required environment variables, source the file
devel/bin/setup_env.sh from the Clownfish source tree:
Or, if you're on the Windows shell:
./configure --prefix [install-prefix] make make test make install
You need MSVC or gcc as C compiler and nmake, mingw32-make, or standard GNU make as make utility. When building under cmd.exe, configure with:
configure.bat --prefix [install-prefix]
[environment] ./configure [options] [-- [cflags]]
Enable code coverage. Create HTML pages with coverage data using lcov by running “make coverage”.
Specify an alternative location for Clownfish if it isn't installed in a system directory.
The C compiler.
The target compiler when cross-compiling.
CC can be set in addition to specify the host compiler.