You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucy.apache.org by Open Nota <op...@gmail.com> on 2014/03/02 11:59:56 UTC

[lucy-dev] Building C library

Hello.

How to build the C library? Straightforward configure && make does not work:

http://bpaste.net/show/184183/

Even if I compile the cfc binary and add path to it to the $PATH variable,
there is another error:

http://bpaste.net/show/184184/

Re: [lucy-dev] Building C library

Posted by Nick Wellnhofer <we...@aevum.de>.
On Mar 2, 2014, at 11:59 , Open Nota <op...@gmail.com> wrote:

> Hello.
> 
> How to build the C library? Straightforward configure && make does not work:
> 
> http://bpaste.net/show/184183/
> 
> Even if I compile the cfc binary and add path to it to the $PATH variable,
> there is another error:
> 
> http://bpaste.net/show/184184/

It’s documented in the “Configuration” section at the end of the c/INSTALL file. If you installed Clownfish in a non-standard path, you have to pass the --clownfish-prefix option to configure. If you want to build with an uninstalled Clownfish source dir, run the following command before building Lucy (in the lucy/c directory):

    . ../devel/bin/setup_clownfish_env.sh your-clownfish-source-dir

Nick