On Fri, Oct 7, 2016 at 2:03 PM, Nick Wellnhofer <wellnho...@aevum.de> 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' [tlesher@phpdev ~/ExternalPackages/apache-clownfish-0.6.0/runtime/perl]$ find /usr/local/lib/perl5/site_perl -name Clownfish.pm /usr/local/lib/perl5/site_perl/mach/5.20/Clownfish.pm [tlesher@phpdev ~/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 /home/tlesher/External Packages/apache-clownfish-0.6.0/runtime/perl/blib/arch /home/tlesher/ExternalPackages/apache-clownfish-0.6.0/compiler/perl/blib/lib /home/tlesher/ExternalPackages/apache-cl ownfish-0.6.0/compiler/perl/blib/arch /home/tlesher/ExternalPackages/lucy-clownfish/runtime/perl/blib/lib /home/tlesher/ExternalPackages/lucy-clownfish/runtime/perl/blib/ar ch /home/tlesher/ExternalPackages/lucy-clownfish/compiler/perl/blib/lib /home/tlesher/ExternalPackages/lucy-clownfish/compiler/perl/blib/arch /usr/local/lib/perl5/site_perl /mach/5.20 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.20/mach /usr/local/lib/perl5/5.20 /usr/local/lib/perl5/site_perl/5.20 /usr/local/lib/perl5/site_perl/5.20/m ach .) at /home/tlesher/ExternalPackages/apache-clownfish-0.6.0/compiler/perl/blib/lib/Clownfish.pm line 45. BEGIN failed--compilation aborted at /home/tlesher/ExternalPackages/apache-clownfish-0.6.0/compiler/perl/blib/lib/Clownfish.pm line 45. Compilation failed in require. BEGIN failed--compilation aborted. > What's the output of `./Build install` when installing Clownfish? [tlesher@phpdev ~/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/CFC.so 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/setup_env.sh > > > The setup_env.sh 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/setup_env.sh from the Clownfish source tree: $ source path_to_clownfish/devel/bin/setup_env.sh > > Nick > -- Tilghman