Hi monks, I try to install Text::ExtractWords module. But it shows error, I cann't understand the error and also how to rectify this error?.
D:\Text-ExtractWords-0.08.tar\Text-ExtractWords-0.08>perl makefile.pl
Writing Makefile for Text::ExtractWords
D:\Text-ExtractWords-0.08.tar\Text-ExtractWords-0.08>nmake
Microsoft (R) Program Maintenance-Dienstprogramm: Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. Alle Rechte vorbehalten.
cl -c -nologo -Gf -W3 -MD -Zi -DNDEBUG -O1 -DWIN32 -D_CONSOLE -DNO_ST
RICT -DHAVE_DES_FCRYPT -DBUILT_BY_ACTIVESTATE -DNO_HASH_SEED -DUSE_SITECUSTOMIZE
-DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX
-MD -Zi -DNDEBUG -O1 -DVERSION=\"0.08\" -DXS_VERSION=\"0.08\" "-IC:\Perl\li
b\CORE" ExtractWords.c
'cl' is not recognized as an internal or external command,
operable program or batch file.
NMAKE : fatal error U1077: 'cl' : Rueckgabe-Code '0x1'
Stop.
D:\Text-ExtractWords-0.08.tar\Text-ExtractWords-0.08>nmake test
Microsoft (R) Program Maintenance-Dienstprogramm: Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. Alle Rechte vorbehalten.
cl -c -nologo -Gf -W3 -MD -Zi -DNDEBUG -O1 -DWIN32 -D_CONSOLE -DNO_ST
RICT -DHAVE_DES_FCRYPT -DBUILT_BY_ACTIVESTATE -DNO_HASH_SEED -DUSE_SITECUSTOMIZE
-DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX
-MD -Zi -DNDEBUG -O1 -DVERSION=\"0.08\" -DXS_VERSION=\"0.08\" "-IC:\Perl\li
b\CORE" ExtractWords.c
'cl' is not recognized as an internal or external command,
operable program or batch file.
NMAKE : fatal error U1077: 'cl' : Rueckgabe-Code '0x1'
Stop.
D:\Text-ExtractWords-0.08.tar\Text-ExtractWords-0.08>nmake install
Microsoft (R) Program Maintenance-Dienstprogramm: Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. Alle Rechte vorbehalten.
cl -c -nologo -Gf -W3 -MD -Zi -DNDEBUG -O1 -DWIN32 -D_CONSOLE -DNO_ST
RICT -DHAVE_DES_FCRYPT -DBUILT_BY_ACTIVESTATE -DNO_HASH_SEED -DUSE_SITECUSTOMIZE
-DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX
-MD -Zi -DNDEBUG -O1 -DVERSION=\"0.08\" -DXS_VERSION=\"0.08\" "-IC:\Perl\li
b\CORE" ExtractWords.c
'cl' is not recognized as an internal or external command,
operable program or batch file.
NMAKE : fatal error U1077: 'cl' : Rueckgabe-Code '0x1'
Stop.
Not only for this module. These type of error shows in some other modules also. Suggest me how to rectify the error?
Help me. Thanks in advance.
You need to install the MSVC C compiler that was used to compile your Perl, and have it available in the path.
Note that you cannot use "any" C compiler without some fiddling. I recommend using the exact version that was used to compile your Perl executable, that is likely MSVC 6. There are two complete packages of Perl with C compilers for Windows, PXPerl and Vanilla Perl - uninstalling your current Perl installation and installing one of these two might also be a solution to your problem.
You may want to look here and here for snags I had with Text::ExtractWords.
Hope that helps.
I have some question based on these answers, help me
My system is not having direct connection to internet. How to install Camelpack?
Which one is best Vanilla or Camelpack? Already i am having Perl 5.8.7. Whether these perl setups reintall the perl or update?
I have download gcc-DW2-core-3.4.5-20060117-1.tar from MinGW but i don't know how to install or configure it?
Thanks for quick reply monks.
I do recommend getting MSYS from the same location (not the developer toolkit). And if you plan on building some Win32 specific modules, such as Win32::GuiTest, you'll need to install the w32-api package too.
perlmonks.org content © perlmonks.org and Anonymous Monk, bart, Corion, wfsp
prlmnks.org © 2006 edmund von der burg (eccles & toad)
v 0.03