Hi Zak,

Lucy can be built with ActivePerl and the Microsoft C Compiler. I think the 
reason that the ActiveState PPM build fails is that they're using MSVC6. See

https://issues.apache.org/jira/browse/LUCY-211

Nick


On Nov 1, 2012, at 18:40 , "Zebrowski, Zak" <[email protected]> wrote:

> Hi Anil,
> 
> It looks like lucy won't work on activestate on windows, according to:
> http://code.activestate.com/ppm/Lucy/ 
> 
> (Once it works, you should be able to use ppm install Lucy from the command 
> line to install for activestate, an exercise that I leave to someone else.)
> 
> If you aren't dependent on other activestate modules, try uninstalling 
> activestate, then installing strawberry perl @ :
> 
> http://strawberryperl.com/
> 
> You might have better luck with that because it includes a compiler (c and 
> others) with the default perl install.  You should be able to just use cpan 
> to install lucy.  If it works, let us know...
> 
> Zak
> 
> -----Original Message-----
> From: Anil Pachuri [mailto:[email protected]] 
> Sent: Thursday, November 01, 2012 1:29 PM
> To: [email protected]
> Subject: Re: [lucy-user] lucy installation
> 
> Thanks Zak. I can't figure out what program "cl" refers to in my error code. 
> The perl version that I am using is:
> 
> This is perl, v5.8.8 built for MSWin32-x86-multi-thread
> (with 18 registered patches, see perl -V for more detail)
> 
> Copyright 1987-2007, Larry Wall
> 
> Binary build 822 [280952] provided by ActiveState http://www.ActiveState.com
> Built Jul 31 2007 19:34:48
> 
> Perl may be copied only under the terms of either the Artistic License or the
> GNU General Public License, which may be found in the Perl 5 source kit.
> 
> I do not have cygwin. I also tried installing directly from CPAN using the 
> command, perl -MCPAN -e "install Lucy", but I get the same error.
> 
> Any suggestions?
> 
> 
> 
> ________________________________
> From: "Zebrowski, Zak" <[email protected]>
> To: "[email protected]" <[email protected]>; Anil Pachuri 
> <[email protected]> 
> Sent: Thursday, November 1, 2012 9:18 AM
> Subject: RE: [lucy-user] lucy installation
> 
> It's not an issue with nmake, but with your environment.  The program "cl" is 
> not installed...
> 
> Are you using strawberry perl, cygwin, or another build environment...?
> 
> Zak
> 
> -----Original Message-----
> From: Anil Pachuri [mailto:[email protected]] 
> Sent: Thursday, November 01, 2012 10:11 AM
> To: [email protected]
> Subject: [lucy-user] lucy installation
> 
> Hi,
> 
> 
> I am starting on using Lucy search. However, I am unable to install lucy on 
> windows vista. I am getting the error shown below. Any suggestions on how to 
> go about installing Lucy on vista?
> 
> Thank you.
> 
> -----------------
> 
> C:\lucyproject\perl>build.pl
> Checking whether your kit is complete...
> Looks good
> 
> Checking prerequisites...
> Looks good
> 
> Deleting Build
> Removed previous script 'Build'
> 
> Creating new 'Build' script for 'Lucy' version '0.3.2'
> 
> C:\lucyproject\perl>build
> Building C:\lucyproject\charmonizer\charmonize.exe...
> 
> 
> Microsoft (R) Program Maintenance Utility   Version 1.50
> Copyright (c) Microsoft Corp 1988-94. All rights reserved.
> 
>         cl -Isrc  -nologo -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS 
> -c
>  charmonize.c -Focharmonize.obj
> 'cl' is not recognized as an internal or external command,
> operable program or batch file.
> NMAKE : fatal error U1077: 'C:\Windows\system32\cmd.exe' : return code '0x1'
> Stop.
> nmake failed at buildlib/Lucy/Build.pm line 159
>         Lucy::Build::_run_make('Lucy::Build=HASH(0x2425f3c)', 'dir', 
> 'C:\lucyproject\charmonizer', 'args', 'ARRAY(0x24b6984)') called at bu
> ildlib/Lucy/Build.pm line 167
>         Lucy::Build::ACTION_charmonize('Lucy::Build=HASH(0x2425f3c)') called 
> at
> C:/Perl/site/lib/Module/Build/Base.pm line 1603
>         Module::Build::Base::_call_action('Lucy::Build=HASH(0x2425f3c)', 
> 'charmo
> nize') called at C:/Perl/site/lib/Module/Build/Base.pm line 1586
>         Module::Build::Base::dispatch('Lucy::Build=HASH(0x2425f3c)', 
> 'charmonize
> ') called at buildlib/Lucy/Build.pm line 176
>         Lucy::Build::ACTION_charmony('Lucy::Build=HASH(0x2425f3c)') called at 
> C:
> /Perl/site/lib/Module/Build/Base.pm line 1603
>         Module::Build::Base::_call_action('Lucy::Build=HASH(0x2425f3c)', 
> 'charmo
> ny') called at C:/Perl/site/lib/Module/Build/Base.pm line 1586
>         Module::Build::Base::dispatch('Lucy::Build=HASH(0x2425f3c)', 
> 'charmony')
>  called at buildlib/Lucy/Build.pm line 199
>         Lucy::Build::ACTION_charmonizer_tests('Lucy::Build=HASH(0x2425f3c)') 
> cal
> led at C:/Perl/site/lib/Module/Build/Base.pm line 1603
>         Module::Build::Base::_call_action('Lucy::Build=HASH(0x2425f3c)', 
> 'charmo
> nizer_tests') called at C:/Perl/site/lib/Module/Build/Base.pm line 1586
>         Module::Build::Base::dispatch('Lucy::Build=HASH(0x2425f3c)', 
> 'charmonize
> r_tests') called at buildlib/Lucy/Build.pm line 301
>         Lucy::Build::ACTION_clownfish('Lucy::Build=HASH(0x2425f3c)') called 
> at C
> :/Perl/site/lib/Module/Build/Base.pm line 1603
>         Module::Build::Base::_call_action('Lucy::Build=HASH(0x2425f3c)', 
> 'clownf
> ish') called at C:/Perl/site/lib/Module/Build/Base.pm line 1586
>         Module::Build::Base::dispatch('Lucy::Build=HASH(0x2425f3c)', 
> 'clownfish'
> ) called at buildlib/Lucy/Build.pm line 644
>         Lucy::Build::ACTION_code('Lucy::Build=HASH(0x2425f3c)') called at 
> C:/Per
> l/site/lib/Module/Build/Base.pm line 1603
>         Module::Build::Base::_call_action('Lucy::Build=HASH(0x2425f3c)', 
> 'code')
>  called at C:/Perl/site/lib/Module/Build/Base.pm line 4223
>         Module::Build::Base::depends_on('Lucy::Build=HASH(0x2425f3c)', 
> 'code') c
> alled at C:/Perl/site/lib/Module/Build/Base.pm line 2422
>         Module::Build::Base::ACTION_build('Lucy::Build=HASH(0x2425f3c)') 
> called
> at C:/Perl/site/lib/Module/Build/Base.pm line 1603
>         Module::Build::Base::_call_action('Lucy::Build=HASH(0x2425f3c)', 
> 'build'
> ) called at C:/Perl/site/lib/Module/Build/Base.pm line 1591
>         Module::Build::Base::dispatch('Lucy::Build=HASH(0x2425f3c)') called 
> at b
> uild line 61
> 
> 
> I checked for nmake on my machine and it seems to be installed:
> 
> C:\lucyproject\perl>nmake
> 
> Microsoft (R) Program Maintenance Utility   Version 1.50
> Copyright (c) Microsoft Corp 1988-94. All rights reserved.
> 
> NMAKE : fatal error U1064: MAKEFILE not found and no target specified
> Stop.

Reply via email to