lucy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tilghman Lesher <>
Subject Re: [lucy-user] 0.6.0 appears to be broken for Perl
Date Fri, 07 Oct 2016 20:53:42 GMT
On Fri, Oct 7, 2016 at 2:03 PM, Nick Wellnhofer <> wrote:
> On 07/10/2016 20:17, Tilghman Lesher wrote:
>> Just tried installing Apache::Lucy for Perl, and the build appears to
>> be broken.  Specifically, although the Clownfish build, test, and
>> install runs successfully, the Lucy build cannot find the install of
>> Clownfish:
>> [tlesher@phpdev ~/ExternalPackages]$ tar xzf apache-lucy-0.6.0.tar.gz
>> [tlesher@phpdev ~/ExternalPackages]$ cd apache-lucy-0.6.0/perl/
>> [tlesher@phpdev ~/ExternalPackages/apache-lucy-0.6.0/perl]$ perl Build.PL
>> Checking prerequisites...
>>  requires:
>>    !  Clownfish is not installed
>>  build_requires:
>>    !  Clownfish is not installed
> It looks like Clownfish wasn't installed correctly. Or maybe some files from
> your old installation of Clownfish 0.4.2 are picked up first?

Not possible.  This is a brand new server, with no previous
installation of Clownfish or Lucy.

> What's the output of
>     perl -MClownfish -le 'print $Clownfish::VERSION'

~/ExternalPackages/apache-clownfish-0.6.0/runtime/perl]$ find
/usr/local/lib/perl5/site_perl -name
~/ExternalPackages/apache-clownfish-0.6.0/runtime/perl]$ perl
-MClownfish -le 'print $Clownfish::VERSION'
Can't locate loadable object for module Clownfish in @INC (@INC
contains: /home/tlesher/ExternalPackages/apache-clownfish-0.6.0/runtime/perl/blib/lib
ch /home/tlesher/ExternalPackages/lucy-clownfish/compiler/perl/blib/lib
/mach/5.20 /usr/local/lib/perl5/site_perl
/usr/local/lib/perl5/5.20/mach /usr/local/lib/perl5/5.20
ach .) at /home/tlesher/ExternalPackages/apache-clownfish-0.6.0/compiler/perl/blib/lib/
line 45.
BEGIN failed--compilation aborted at
line 45.
Compilation failed in require.
BEGIN failed--compilation aborted.

> What's the output of `./Build install` when installing Clownfish?

~/ExternalPackages/apache-clownfish-0.6.0/compiler/perl]$ sudo perl
Build install
Building Clownfish-CFC
Building the Lemon parser generator...

Files found in blib/arch: installing files in blib/lib into
architecture dependent library tree
Installing /usr/local/lib/perl5/site_perl/mach/5.20/auto/Clownfish/CFC/
Installing /usr/local/lib/perl5/site_perl/man/man3/Clownfish::CFC.3
Installing /usr/local/lib/perl5/site_perl/man/man3/Clownfish::CFC::Perl::Build.3

>> It doesn't even work if I try to source Clownfish from the build
>> directory:
>> [tlesher@phpdev ~/ExternalPackages/apache-lucy-0.6.0/perl]$ source
>> ~/ExternalPackages/apache-clownfish-0.6.0/devel/bin/
> The script is only for development.

You may want to revise the Apache::Lucy INSTALL document, then, as it says:

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/ from the Clownfish source tree:

   $ source path_to_clownfish/devel/bin/

> Nick


View raw message