Can't locate Digest/SHA.pm cannot install Digest/SHA

M

myalo

Hi
We are using IIS 6.0 on windows 2003. We have installed Active Perl.
We have script that uses
use Digest::SHA qw(hmac_sha256_hex);
When running it fails on
Can't locate Digest/SHA.pm in @INC (@INC contains: E:/Perl/site/lib E:/
Perl/lib
..) at itunesu.pl line 87.
BEGIN failed--compilation aborted at itunesu.pl line 87.

I read and tried to use cpan to install. Here are the results:

cpan> install Digest::SHA
Running install for module 'Digest::SHA'
Running make for M/MS/MSHELOR/Digest-SHA-5.45.tar.gz

CPAN: checksum security checks disabled because Digest::SHA not
installed.
Please consider installing the Digest::SHA module.

CPAN: Time::HiRes loaded ok (v1.9707)
Scanning cache E:\Perl/cpan/build for sizes
.............................................................................DONE

CPAN: Compress::Zlib loaded ok (v1.4201)
CPAN: Archive::Tar loaded ok (v1.3201)
Digest-SHA-5.45/
Digest-SHA-5.45/README
Digest-SHA-5.45/src/
Digest-SHA-5.45/src/hmac.h
Digest-SHA-5.45/src/hmacxtra.c
Digest-SHA-5.45/src/sha.h
Digest-SHA-5.45/src/shaxtra.c
Digest-SHA-5.45/src/sha64bit.h
Digest-SHA-5.45/src/sha64bit.c
Digest-SHA-5.45/src/hmac.c
Digest-SHA-5.45/src/sha.c
Digest-SHA-5.45/Makefile.PL
Digest-SHA-5.45/examples/
Digest-SHA-5.45/examples/dups
Digest-SHA-5.45/META.yml
Digest-SHA-5.45/Changes
Digest-SHA-5.45/shasum
Digest-SHA-5.45/typemap
Digest-SHA-5.45/MANIFEST
Digest-SHA-5.45/SHA.pm
Digest-SHA-5.45/t/
Digest-SHA-5.45/t/nistbyte.t
Digest-SHA-5.45/t/nistbit.t
Digest-SHA-5.45/t/rfc2202.t
Digest-SHA-5.45/t/bitbuf.t
Digest-SHA-5.45/t/hmacsha.t
Digest-SHA-5.45/t/podcover.t
Digest-SHA-5.45/t/methods.t
Digest-SHA-5.45/t/sha224.t
Digest-SHA-5.45/t/dumpload.t
Digest-SHA-5.45/t/sha384.t
Digest-SHA-5.45/t/sha1.t
Digest-SHA-5.45/t/sha512.t
Digest-SHA-5.45/t/gg.t
Digest-SHA-5.45/t/allfcns.t
Digest-SHA-5.45/t/gglong.t
Digest-SHA-5.45/t/pod.t
Digest-SHA-5.45/t/woodbury.t
Digest-SHA-5.45/t/fips198.t
Digest-SHA-5.45/t/ireland.t
Digest-SHA-5.45/t/base64.t
Digest-SHA-5.45/t/sha256.t
Digest-SHA-5.45/SHA.xs
CPAN: File::Temp loaded ok (v0.18)

CPAN.pm: Going to build M/MS/MSHELOR/Digest-SHA-5.45.tar.gz

Checking if your kit is complete...
Looks good
Writing Makefile for Digest::SHA
Could not read 'E:\Perl\cpan\build\Digest-SHA-5.45-KfEI5d\META.yml'.
Falling bac
k to other methods to determine prerequisites
'nmake' is not recognized as an internal or external command,
operable program or batch file.
MSHELOR/Digest-SHA-5.45.tar.gz
nmake -- NOT OK
Warning (usually harmless): 'YAML' not installed, will not store
persistent stat
e
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.45.tar.gz : make NO

Any idea what is wrong and how to fix it?
Thanks
 
A

A. Sinan Unur

Hi
We are using IIS 6.0 on windows 2003. We have installed Active Perl.
We have script that uses
use Digest::SHA qw(hmac_sha256_hex);
When running it fails on
Can't locate Digest/SHA.pm in @INC (@INC contains: E:/Perl/site/lib
E:/ Perl/lib
.) at itunesu.pl line 87.
BEGIN failed--compilation aborted at itunesu.pl line 87.

I read and tried to use cpan to install.

C:\Home> ppm install Digest-SHA
Downloading Digest-SHA-5.45...done
Unpacking Digest-SHA-5.45...done
Generating HTML for Digest-SHA-5.45...done
Updating files in site area...done
9 files installed
 
S

smallpond

Hi
We are using IIS 6.0 on windows 2003. We have installed Active Perl.
We have script that uses
use Digest::SHA qw(hmac_sha256_hex);
When running it fails on
Can't locate Digest/SHA.pm in @INC (@INC contains: E:/Perl/site/lib E:/
Perl/lib
.) at itunesu.pl line 87.
BEGIN failed--compilation aborted at itunesu.pl line 87.

I read and tried to use cpan to install. Here are the results:

cpan> install Digest::SHA
Running install for module 'Digest::SHA'
Running make for M/MS/MSHELOR/Digest-SHA-5.45.tar.gz

CPAN: checksum security checks disabled because Digest::SHA not
installed.
Please consider installing the Digest::SHA module.

CPAN: Time::HiRes loaded ok (v1.9707)
Scanning cache E:\Perl/cpan/build for sizes
............................................................................DONE

CPAN: Compress::Zlib loaded ok (v1.4201)
CPAN: Archive::Tar loaded ok (v1.3201)
Digest-SHA-5.45/
Digest-SHA-5.45/README
Digest-SHA-5.45/src/
Digest-SHA-5.45/src/hmac.h
Digest-SHA-5.45/src/hmacxtra.c
Digest-SHA-5.45/src/sha.h
Digest-SHA-5.45/src/shaxtra.c
Digest-SHA-5.45/src/sha64bit.h
Digest-SHA-5.45/src/sha64bit.c
Digest-SHA-5.45/src/hmac.c
Digest-SHA-5.45/src/sha.c
Digest-SHA-5.45/Makefile.PL
Digest-SHA-5.45/examples/
Digest-SHA-5.45/examples/dups
Digest-SHA-5.45/META.yml
Digest-SHA-5.45/Changes
Digest-SHA-5.45/shasum
Digest-SHA-5.45/typemap
Digest-SHA-5.45/MANIFEST
Digest-SHA-5.45/SHA.pm
Digest-SHA-5.45/t/
Digest-SHA-5.45/t/nistbyte.t
Digest-SHA-5.45/t/nistbit.t
Digest-SHA-5.45/t/rfc2202.t
Digest-SHA-5.45/t/bitbuf.t
Digest-SHA-5.45/t/hmacsha.t
Digest-SHA-5.45/t/podcover.t
Digest-SHA-5.45/t/methods.t
Digest-SHA-5.45/t/sha224.t
Digest-SHA-5.45/t/dumpload.t
Digest-SHA-5.45/t/sha384.t
Digest-SHA-5.45/t/sha1.t
Digest-SHA-5.45/t/sha512.t
Digest-SHA-5.45/t/gg.t
Digest-SHA-5.45/t/allfcns.t
Digest-SHA-5.45/t/gglong.t
Digest-SHA-5.45/t/pod.t
Digest-SHA-5.45/t/woodbury.t
Digest-SHA-5.45/t/fips198.t
Digest-SHA-5.45/t/ireland.t
Digest-SHA-5.45/t/base64.t
Digest-SHA-5.45/t/sha256.t
Digest-SHA-5.45/SHA.xs
CPAN: File::Temp loaded ok (v0.18)

CPAN.pm: Going to build M/MS/MSHELOR/Digest-SHA-5.45.tar.gz

Checking if your kit is complete...
Looks good
Writing Makefile for Digest::SHA
Could not read 'E:\Perl\cpan\build\Digest-SHA-5.45-KfEI5d\META.yml'.
Falling bac
k to other methods to determine prerequisites
'nmake' is not recognized as an internal or external command,
operable program or batch file.
MSHELOR/Digest-SHA-5.45.tar.gz
nmake -- NOT OK
Warning (usually harmless): 'YAML' not installed, will not store
persistent stat
e
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.45.tar.gz : make NO

Any idea what is wrong and how to fix it?
Thanks

(@INC contains: E:/Perl/site/lib E:/Perl/lib .)

Could Digest/SHA be installed in a directory that is missing from your
@INC list?
 
M

myalo

Thank you for very quick response.
Your suggestion worked. I am missing another part now. Here is a copy
from the command prompet
LWP will support https URLs if the Crypt::SSLeay module is installed.
More information at <http://www.linpro.no/lwp/libwww-perl/README.SSL>.

E:\Webapps\ajula\CGI>ppm install Crypt-SSLeay
ppm install failed: Can't find any package that provide Crypt-SSLeay

As you can see I was trying to use your resolution to install
Crypt::SSLeay but this package is not found. Am I doing something
wrong?

Moshe
 
A

A. Sinan Unur

[ Don't top-post and don't quote sigs. Quoted material snipped. ]
Thank you for very quick response.
Your suggestion worked. I am missing another part now. Here is a copy
from the command prompet
LWP will support https URLs if the Crypt::SSLeay module is installed.
More information at <http://www.linpro.no/lwp/libwww-perl/README.SSL>.

E:\Webapps\ajula\CGI>ppm install Crypt-SSLeay
ppm install failed: Can't find any package that provide Crypt-SSLeay

As you can see I was trying to use your resolution to install
Crypt::SSLeay but this package is not found. Am I doing something
wrong?

http://www.google.com/search?q=windows+crypt-ssleay

Do try to help yourself (for example, checking the program group for
ActiveState Perl would have revealed the existence of "Perl Package
Manager").

Do read the posting guidelines.

Sinan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,968
Messages
2,570,153
Members
46,701
Latest member
XavierQ83

Latest Threads

Top