lucy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Wellnhofer <wellnho...@aevum.de>
Subject Re: [lucy-user] lucy installation
Date Thu, 01 Nov 2012 17:49:28 GMT
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 <anilpachuri@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" <zaz@mitre.org>
> To: "user@lucy.apache.org" <user@lucy.apache.org>; Anil Pachuri <anilpachuri@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.


Mime
View raw message