Problem with installing modules

Problem with installing modules

am 25.11.2006 00:15:05 von Rem-8

Hello. I'm new here, but started to use Perl. I need to install few
modules, such as Win32::API. This one, and some other just can't
install. The problem is like this:

Clausal Language 5.81.16
Copyright (C) 1996--2002 Paul J. Voda, Jan Komara
Copyright (C) 2002--2003 Jan Kluka

Heap free: 131070K
Reading a module from -I. -nologo -GF -W3 -MD -Zi -DNDEBUG -O1 -DWIN32
-D_CONSOL
E -DNO_STRICT -DHAVE_DES_FCRYPT -DNO_HASH_SEED -DUSE_SITECUSTOMIZE
-DPERL_IMPLIC
IT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX -MD
-Zi -DNDEB
UG -O1 -DVERSION=3D\"5.44\" -DXS_VERSION=3D\"5.44\" "-IC:\Perl\lib\CORE"
-DSHA_PERL_
MODULE SHA.c...

Import problem: file -I. -nologo -GF -W3 -MD -Zi -DNDEBUG -O1 -DWIN32
-D_CONSOLE
-DNO_STRICT -DHAVE_DES_FCRYPT -DNO_HASH_SEED -DUSE_SITECUSTOMIZE
-DPERL_IMPLICI
T_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX -MD
-Zi -DNDEBU
G -O1 -DVERSION=3D\"5.44\" -DXS_VERSION=3D\"5.44\" "-IC:\Perl\lib\CORE"
-DSHA_PERL_M
ODULE SHA.clb error: The system cannot find the file specified.♪â=
—™

Press any key to end CL...

R
unning Mkbootstrap for Digest::SHA ()
C:\Perl\bin\perl.exe -MExtUtils::Command -e chmod 644 SHA.bs
C:\Perl\bin\perl.exe -MExtUtils::Mksymlists -e
"Mksymlists('NAME'=3D>\"Di
gest::SHA\", 'DLBASE' =3D> 'SHA', 'DL_FUNCS' =3D> { }, 'FUNCLIST' =3D> [],
'IMPORTS'
=3D> { }, 'DL_VARS' =3D> []);"
link -out:blib\arch\auto\Digest\SHA\SHA.dll -dll -nologo
-nodefaultlib -
debug -opt:ref,icf -libpath:"C:\Perl\lib\CORE" -machine:x86 SHA.obj
C:\Perl\
lib\CORE\perl58.lib oldnames.lib kernel32.lib user32.lib gdi32.lib
winspool.lib
comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib
netapi32.lib uuid
..lib ws2_32.lib mpr.lib winmm.lib version.lib odbc32.lib odbccp32.lib
msvcrt.li
b -def:SHA.def
LINK : fatal error LNK1181: cannot open input file 'SHA.obj'
NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code
'0x49d'
Stop.
C:\Perl\bin\nmake.EXE -- NOT OK
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible
Failed during this command:
MSHELOR/Digest-SHA-5.44.tar.gz : make NO

Can you help me with this??

Re: Problem with installing modules

am 25.11.2006 11:06:55 von Thomas Wittek

Rem-8 schrieb:
> Can you help me with this??

Probably you don't have a C development environment (C-compiler, linker,
libraries, ...) installed.

If you use ActiveState Perl, you should try install the modules using "ppm":

C:\>ppm
ppm> help
ppm> install Win32-API
...
Successfully installed Win32-API version 0.41 in ActivePerl 5.8.7.813.
ppm>

--
Thomas Wittek
http://gedankenkonstrukt.de/
Jabber: streawkceur@jabber.i-pobox.net

Re: Problem with installing modules

am 25.11.2006 15:05:06 von nobull67

Thomas Wittek wrote:
> Rem-8 schrieb:
> > Can you help me with this??
>
> Probably you don't have a C development environment (C-compiler, linker,
> libraries, ...) installed.

More precisely, the OP appears to have something other that the
Microsoft command line C compiler installed using the name "cl".