You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lucy.apache.org by Anil Pachuri <an...@yahoo.com> on 2012/11/01 15:11:20 UTC

[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.

Re: [lucy-dev] ActiveState PPM build failures

Posted by Nick Wellnhofer <we...@aevum.de>.
On 02/11/2012 02:24, Marvin Humphrey wrote:
> I see from your comment on <https://issues.apache.org/jira/browse/LUCY-211>
> that we have a workaround for these.  (Redefining `for`, oi...)

The next step is to make CFC use Charmonizer. We might want to create a 
separate ticket for that.

> Maybe that's base.pm prior to 2.18 misbehaving?  That error message indicates
> that the superclass was not loaded.
>
>      $ perl -le 'package Foo; Foo->SUPER::new'
>      Can't locate object method "new" via package "Foo::SUPER" at -e line 1.
>
> Should we make this change to Lucy::Build?
>
>      -use base qw( Clownfish::CFC::Perl::Build );
>      +use Clownfish::CFC::Perl::Build;
>      +BEGIN { push our @ISA, 'Clownfish::CFC::Perl::Build' }

I have no idea. I also couldn't reproduce it with ActivePerl 
5.16.1.1601, 32-bit.

> I think this problem may have gone away in trunk as a side effect of recent
> changes to Charmonizer.  The problem occurs during the linking phase for
> Charmonizer, but that linking phase is handled a different way now that
> Charmonizer gets bundled up into a single amalgamated C file.  Compiling
> charmonizer during Lucy's Perl build is now one simple command (which doesn't
> use any of the libs specified by the Perl Config module):
>
>      cl charmonizer.c /Fecharmonize.exe
>
> That linking bug you reported may come back during another linking phase,
> though -- like when we try to link together Lucy.dll from all the *.obj files.

I think it's something else. IIRC the problem that I had when building 
Lucy with 64-bit ActivePerl some months ago was that it tried to link 
against bufferoverflowU.lib which wasn't present on my system. That's 
what my bug report is about.

 From what I understand bufferoverflowU.lib is only needed with the 
Windows Server 2003 Platform SDK compiler which is what ActiveState uses 
for 64-bit builds.

The easiest solution might be to compile with /GS- which should disable 
buffer overrun protection completely. Otherwise Charmonizer has to check 
whether linking against that library is needed.

Nick


Re: [lucy-dev] ActiveState PPM build failures

Posted by Marvin Humphrey <ma...@rectangular.com>.
On Thu, Nov 1, 2012 at 12:18 PM, Nick Wellnhofer <we...@aevum.de> wrote:
> I had a deeper look into the ActiveState PPM failures, and they're not
> related to MSVC6 as I assumed on lucy-user. It would be really nice to make
> the PPM build work.

+1

Thanks for looking into this, Nick!

> 32-bit, Perl 5.12 and 5.14
> --------------------------
>
> http://ppm4.activestate.com/MSWin32-x86/5.12/1200/L/LO/LOGIE/Lucy-0.3.2.d/log-20120710T215703.txt
> http://ppm4.activestate.com/MSWin32-x86/5.14/1400/L/LO/LOGIE/Lucy-0.3.2.d/log-20120711T022317.txt
>
> This is the same problem that was reported here:
>
> http://mail-archives.apache.org/mod_mbox/lucy-user/201109.mbox/%3c662C6E983E7C4874833424B8642F2779@teddy%3e
>
> No idea what's going on there but note that the "/TP" flag (C++ mode) won't appear on the command line because it should be in the ".ccs" compiler script.

I see from your comment on <https://issues.apache.org/jira/browse/LUCY-211>
that we have a workaround for these.  (Redefining `for`, oi...)

> 32-bit, Perl 5.16
> -----------------
>
> http://ppm4.activestate.com/MSWin32-x86/5.16/1600/L/LO/LOGIE/Lucy-0.3.2.d/log-20120816T225009.txt
>
> "Can't locate object method "new" via package "Lucy::Build::SUPER" at buildlib/Lucy/Build.pm line 143."
>
> Strange…

Maybe that's base.pm prior to 2.18 misbehaving?  That error message indicates
that the superclass was not loaded.

    $ perl -le 'package Foo; Foo->SUPER::new'
    Can't locate object method "new" via package "Foo::SUPER" at -e line 1.

Should we make this change to Lucy::Build?

    -use base qw( Clownfish::CFC::Perl::Build );
    +use Clownfish::CFC::Perl::Build;
    +BEGIN { push our @ISA, 'Clownfish::CFC::Perl::Build' }

> 64-bit, Perl 5.12, 5.14 and 5.16
> --------------------------------
>
> http://ppm4.activestate.com/MSWin32-x64/5.12/1200/L/LO/LOGIE/Lucy-0.3.2.d/log-20120710T212100.txt
> http://ppm4.activestate.com/MSWin32-x64/5.14/1400/L/LO/LOGIE/Lucy-0.3.2.d/log-20120711T021911.txt
> http://ppm4.activestate.com/MSWin32-x64/5.16/1600/L/LO/LOGIE/Lucy-0.3.2.d/log-20120813T075017.txt
>
> Charmonizer build fails with "unresolved external symbol __security_check_cookie"
>
> I think this is related to the following bug that I reported to ActiveState:
>
> http://bugs.activestate.com/show_bug.cgi?id=93797

I think this problem may have gone away in trunk as a side effect of recent
changes to Charmonizer.  The problem occurs during the linking phase for
Charmonizer, but that linking phase is handled a different way now that
Charmonizer gets bundled up into a single amalgamated C file.  Compiling
charmonizer during Lucy's Perl build is now one simple command (which doesn't
use any of the libs specified by the Perl Config module):

    cl charmonizer.c /Fecharmonize.exe

That linking bug you reported may come back during another linking phase,
though -- like when we try to link together Lucy.dll from all the *.obj files.

Marvin Humphrey

[lucy-dev] ActiveState PPM build failures

Posted by Nick Wellnhofer <we...@aevum.de>.
I had a deeper look into the ActiveState PPM failures, and they're not related to MSVC6 as I assumed on lucy-user. It would be really nice to make the PPM build work.

32-bit, Perl 5.12 and 5.14
--------------------------

http://ppm4.activestate.com/MSWin32-x86/5.12/1200/L/LO/LOGIE/Lucy-0.3.2.d/log-20120710T215703.txt
http://ppm4.activestate.com/MSWin32-x86/5.14/1400/L/LO/LOGIE/Lucy-0.3.2.d/log-20120711T022317.txt

This is the same problem that was reported here:

http://mail-archives.apache.org/mod_mbox/lucy-user/201109.mbox/%3c662C6E983E7C4874833424B8642F2779@teddy%3e

No idea what's going on there but note that the "/TP" flag (C++ mode) won't appear on the command line because it should be in the ".ccs" compiler script.

32-bit, Perl 5.16
-----------------

http://ppm4.activestate.com/MSWin32-x86/5.16/1600/L/LO/LOGIE/Lucy-0.3.2.d/log-20120816T225009.txt

"Can't locate object method "new" via package "Lucy::Build::SUPER" at buildlib/Lucy/Build.pm line 143."

Strange…

64-bit, Perl 5.12, 5.14 and 5.16
--------------------------------

http://ppm4.activestate.com/MSWin32-x64/5.12/1200/L/LO/LOGIE/Lucy-0.3.2.d/log-20120710T212100.txt
http://ppm4.activestate.com/MSWin32-x64/5.14/1400/L/LO/LOGIE/Lucy-0.3.2.d/log-20120711T021911.txt
http://ppm4.activestate.com/MSWin32-x64/5.16/1600/L/LO/LOGIE/Lucy-0.3.2.d/log-20120813T075017.txt

Charmonizer build fails with "unresolved external symbol __security_check_cookie"

I think this is related to the following bug that I reported to ActiveState:

http://bugs.activestate.com/show_bug.cgi?id=93797

Nick


RE: [lucy-user] lucy installation

Posted by "Zebrowski, Zak" <za...@mitre.org>.
Gotcha, cool.  Thanks Nick. 

Personally, I use lucy with Ubuntu, but I've done just enough windows processing to know where to start looking for alternatives when I need to get a library working...

Thanks for your help,
Zak

-----Original Message-----
From: Nick Wellnhofer [mailto:wellnhofer@aevum.de] 
Sent: Thursday, November 01, 2012 2:01 PM
To: user@lucy.apache.org
Subject: Re: [lucy-user] lucy installation

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" <za...@mitre.org> 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:anilpachuri@yahoo.com] 
> Sent: Thursday, November 01, 2012 1:29 PM
> To: user@lucy.apache.org
> 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" <za...@mitre.org>
> To: "user@lucy.apache.org" <us...@lucy.apache.org>; Anil Pachuri <an...@yahoo.com> 
> 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:anilpachuri@yahoo.com] 
> Sent: Thursday, November 01, 2012 10:11 AM
> To: user@lucy.apache.org
> 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.


Re: [lucy-user] lucy installation

Posted by Nick Wellnhofer <we...@aevum.de>.
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" <za...@mitre.org> 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:anilpachuri@yahoo.com] 
> Sent: Thursday, November 01, 2012 1:29 PM
> To: user@lucy.apache.org
> 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" <za...@mitre.org>
> To: "user@lucy.apache.org" <us...@lucy.apache.org>; Anil Pachuri <an...@yahoo.com> 
> 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:anilpachuri@yahoo.com] 
> Sent: Thursday, November 01, 2012 10:11 AM
> To: user@lucy.apache.org
> 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.


RE: [lucy-user] lucy installation

Posted by "Zebrowski, Zak" <za...@mitre.org>.
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:anilpachuri@yahoo.com] 
Sent: Thursday, November 01, 2012 1:29 PM
To: user@lucy.apache.org
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" <za...@mitre.org>
To: "user@lucy.apache.org" <us...@lucy.apache.org>; Anil Pachuri <an...@yahoo.com> 
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:anilpachuri@yahoo.com] 
Sent: Thursday, November 01, 2012 10:11 AM
To: user@lucy.apache.org
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.

Re: [lucy-user] facet function

Posted by Lee <le...@gmail.com>.
On 08/11/2012 16:48, Anil Pachuri wrote:
> ...
> One other question I have is about 'CGI' module that 'sample' code uses. I read somewhere that 'CGI' module loads everytime separately for each webserver request, which may cause delay in loading the output webpage if there are multiple requests. Is there a way to make this module persistent, or any other better way to do this.
You could look into mod_perl - I believe there are ppm files for Win32 - 
though it can be a bit of a steep learning curve.

You could also try looking into Fast CGI.

I'd only bother if it becomes an issue - use CGI() is not a heavy load.

HTH
Lee

RE: [lucy-user] facet function

Posted by "Zebrowski, Zak" <za...@mitre.org>.
Hi,

I have not run into faucets before.

<snip>
One other question I have is about 'CGI' module that 'sample' code uses. I read somewhere that 'CGI' module loads everytime separately for each webserver request, which may cause delay in loading the output webpage if there are multiple requests. Is there a way to make this module persistent, or any other better way to do this.
</snip>

If you're using the perl implementation, there literally is a whole book on perl performance.  Google "pratical mod_perl oriley", for a book on that.  There is also a "lite cgi" module...  While this is a concern if you're website is going to be hit a lot, if you have a smaller website, or if you are still in dev stages, this really is secondary to your overall question.

Zak

Re: [lucy-user] facet function

Posted by Peter Karman <pe...@peknet.com>.
On 11/8/12 9:48 AM, Anil Pachuri wrote:
> Hi,
>
> How do I implement facets in Lucy search server? I have been able to
> successfully execute the given code for 'sample' example webserver. I
> tried to implement a simple facet function but it takes an
> unreasonably long time to execute when the list of terms is little
> long. This is because I read the list file in each process
> request/iteration. Keeping the list in the memory may be an option
> but I was wondering if facet function is already implemented in Lucy.
> Any sample code for facet implementation?
>

Dezi (http://dezi.org) implements faceted search on top of Lucy. It does 
it with https://metacpan.org/module/Search::OpenSearch::Engine::Lucy

There is no built-in facet function as part of Lucy.



-- 
Peter Karman  .  http://peknet.com/  .  peter@peknet.com

[lucy-user] facet function

Posted by Anil Pachuri <an...@yahoo.com>.
Hi,

How do I implement facets in Lucy search server? I have been able to successfully execute the given code for 'sample' example webserver. I tried to implement a simple facet function but it takes an unreasonably long time to execute when the list of terms is little long. This is because I read the list file in each process request/iteration. Keeping the list in the memory may be an option but I was wondering if facet function is already implemented in Lucy. Any sample code for facet implementation?

One other question I have is about 'CGI' module that 'sample' code uses. I read somewhere that 'CGI' module loads everytime separately for each webserver request, which may cause delay in loading the output webpage if there are multiple requests. Is there a way to make this module persistent, or any other better way to do this.

Please advise. Sorry for asking too many questions, just trying to learn the preliminaries.
Thanks,

Anil

Re: [lucy-user] lucy installation

Posted by Anil Pachuri <an...@yahoo.com>.
Thanks very much Zak, Nick.
I have been able to now successfully install (using ppm/activestate) and run Lucy sample server on Windows XP (will have a relook on the vista issue again later).

A



________________________________
 From: Nick Wellnhofer <we...@aevum.de>
To: user@lucy.apache.org; Anil Pachuri <an...@yahoo.com> 
Sent: Thursday, November 1, 2012 12:49 PM
Subject: Re: [lucy-user] lucy installation
 
Hi Anil,

"cl.exe" is the Microsoft C compiler. You need a C compiler to build Lucy. If you're working with ActivePerl, you need the Microsoft C compiler. It is available for free as part of the "Windows SDK for Windows 7" or "Visual Studio Express". I recommend the former but it doesn't support Windows 8.

Once you have the Microsoft C compiler installed, you have to add it to your path. The "setenv.cmd" or "vcvarsall.bat" scripts will help you there.

Nick


On Nov 1, 2012, at 18:29 , Anil Pachuri <an...@yahoo.com> wrote:

> 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" <za...@mitre.org>
> To: "user@lucy.apache.org" <us...@lucy.apache.org>; Anil Pachuri <an...@yahoo.com> 
> 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:anilpachuri@yahoo.com] 
> Sent: Thursday, November 01, 2012 10:11 AM
> To: user@lucy.apache.org
> 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.

Re: [lucy-user] lucy installation

Posted by Nick Wellnhofer <we...@aevum.de>.
Hi Anil,

"cl.exe" is the Microsoft C compiler. You need a C compiler to build Lucy. If you're working with ActivePerl, you need the Microsoft C compiler. It is available for free as part of the "Windows SDK for Windows 7" or "Visual Studio Express". I recommend the former but it doesn't support Windows 8.

Once you have the Microsoft C compiler installed, you have to add it to your path. The "setenv.cmd" or "vcvarsall.bat" scripts will help you there.

Nick


On Nov 1, 2012, at 18:29 , Anil Pachuri <an...@yahoo.com> wrote:

> 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" <za...@mitre.org>
> To: "user@lucy.apache.org" <us...@lucy.apache.org>; Anil Pachuri <an...@yahoo.com> 
> 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:anilpachuri@yahoo.com] 
> Sent: Thursday, November 01, 2012 10:11 AM
> To: user@lucy.apache.org
> 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.


Re: [lucy-user] lucy installation

Posted by Anil Pachuri <an...@yahoo.com>.
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" <za...@mitre.org>
To: "user@lucy.apache.org" <us...@lucy.apache.org>; Anil Pachuri <an...@yahoo.com> 
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:anilpachuri@yahoo.com] 
Sent: Thursday, November 01, 2012 10:11 AM
To: user@lucy.apache.org
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.

RE: [lucy-user] lucy installation

Posted by "Zebrowski, Zak" <za...@mitre.org>.
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:anilpachuri@yahoo.com] 
Sent: Thursday, November 01, 2012 10:11 AM
To: user@lucy.apache.org
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.