You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucy.apache.org by Kurt Starsinic <ks...@gmail.com> on 2014/08/02 23:40:23 UTC
Re: [lucy-dev] Dumb (?) Lucy build question
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/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. :(
Later,
Kurt
On Wed, Jul 9, 2014 at 7:40 PM, Peter Karman <pe...@peknet.com> wrote:
> Marvin Humphrey wrote on 7/9/14 4:26 PM:
> > On Wed, Jul 9, 2014 at 9:59 AM, Peter Karman <pe...@peknet.com> wrote:
> >> agreed, though I suspect this is what Marvin and Nick are referring to
> when
> >> they talked about showing/hiding the Clownfish API. Showing it (imo) is
> >> documenting it, and that's the piece that I think we're trying to
> >> soft-launch with 0.4 by intentionally *not* documenting its existence.
> >
> > Yes, that's exactly right -- but fixed cadence releases are also an
> important
> > part of the strategy. A huge amount of work has gone into Clownfish over
> > several years; rather than publish everything in one overwhelming code
> drop, I
> > think we build excitement and community most effectively by releasing
> > coherent, distilled pieces on a predictable schedule...
> >
> > First cadence release, later this month: Opaque Clownfish, separated from
> > Lucy, with a call for hackers.
> >
> > Second cadence release, August: clownfish-starter, tutorial and a sample
> > project.
> >
> > Third cadence release, September: TBD
> >
>
>
> +1 to committing to a schedule and then working at it.
>
> Marvin and Nick have done a lot of great work on this Clownfish split-off
> and I
> look forward to seeing these releases happen. I'm happy to help where I
> can.
>
>
> --
> Peter Karman . http://peknet.com/ . peter@peknet.com
>
Re: [lucy-dev] Dumb (?) Lucy build question
Posted by Nick Wellnhofer <we...@aevum.de>.
On Aug 2, 2014, at 23:40 , Kurt Starsinic <ks...@gmail.com> 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