On Aug 2, 2014, at 23:40 , Kurt Starsinic <[email protected]> wrote:
> So I've been busy, but I just now picked up this issue again. Nick, thanks
> for patching the INSTALL. I'll continue to work on this in my Copious Free
> Time. I have some comments, in case somebody has a canned response prepared:
>
> lucy/perl/INSTALL claims that one option is to install the "Perl
> distributions Clownfish and Clownfish::CFC". I took this to mean that I
> would find said distributions on CPAN. However, I did not. Is this an error
> in my understanding, or in someone else's uploading?
Clownfish and Clownfish::CFC haven’t been released on CPAN yet.
> clownfish/INSTALL seems to suggest that I should be able to cd into
> runtime/perl, follow the instructions there, and Bob's your uncle. In
> particular, it says that the runtime requires the compiler, and will build
> it if necessary. This does not seem to be the case. :(
If you run ‘perl/Build.PL && ./Build’ in clownfish/runtime/perl, the compiler
in clownfish/compiler/perl should be built. The warning about a missing
Clownfish::CFC can be ignored. The compiler won’t be installed if you run
‘./Build install’ in runtime/perl, though. You also have to run ‘./Build
install’ in compiler/perl.
If you install to a non-standard location, you’ll also have to set the
CLOWNFISH_INCLUDE environment variable when building Lucy. This requirement
will soon be lifted. The variable should point to the Clownfish/_include
directory underneath your install destination.
Another option is to build Lucy from an uninstalled Clownfish source tree.
Assuming you're in a directory containing the Clownfish and Lucy repos, run:
cd clownfish/runtime/perl
perl Build.PL
./Build
cd ../../..
source clownfish/devel/bin/setup_env.sh
cd lucy/perl
perl Build.PL
./Build
Nick