You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucy.apache.org by keith20mm <kd...@sbcglobal.net> on 2018/02/17 01:06:07 UTC
Re: [lucy-dev] Dumb (?) Lucy build question
When I get to the line:
source ../devel/bin/setup_clownfish_env.sh ../../clownfish
in
Marvin Humphrey wrote
> git clone https://git-wip-us.apache.org/repos/asf/lucy.git
> git clone https://git-wip-us.apache.org/repos/asf/lucy-clownfish.git \
> clownfish
> git clone https://git-wip-us.apache.org/repos/asf/lucy-charmonizer.git \
> charmonizer
> cd clownfish/runtime/perl
> perl Build.PL
> ./Build test
> cd ../../../lucy/perl
> source ../devel/bin/setup_clownfish_env.sh ../../clownfish
> perl Build.PL
> ./Build test
I get the shell reply "Badly placed ()'s."
My shell is csh, so I tried to replace sh in the setup_clownfish_env.sh with
csh, but made no difference, so I put that back to sh.
I looked through the .sh file and found nothing strange in any of the
parenthesis.
What should I try to complete the build?
Thanks in advance.
--
Sent from: http://lucene.472066.n3.nabble.com/lucy-dev-f675133.html
Re: [lucy-dev] Dumb (?) Lucy build question
Posted by Nick Wellnhofer <we...@aevum.de>.
On 17/02/2018 02:06, keith20mm wrote:
> I get the shell reply "Badly placed ()'s."
>
> My shell is csh, so I tried to replace sh in the setup_clownfish_env.sh with
> csh, but made no difference, so I put that back to sh.
setup_clownfish_env.sh is a POSIX shell script and doesn't work under csh.
> What should I try to complete the build?
setup_clownfish_env.sh is a developer tool which allows to build Lucy from an
uninstalled Clownfish source tree. As a normal user, you should install the
Clownfish compiler and runtime before building Lucy:
cd clownfish/compiler/perl
perl Build.PL
./Build test
./Build install
cd ../../runtime/perl
perl Build.PL
./Build test
./Build install
cd ../../../lucy/perl
perl Build.PL
./Build test
./Build install
Nick