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

Discussion in 'Perl Misc' started by myalo, Nov 28, 2007.

  1. myalo

    myalo Guest

    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
    myalo, Nov 28, 2007
    #1
    1. Advertising

  2. myalo <> wrote in
    news::

    > 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


    --
    A. Sinan Unur <>
    (remove .invalid and reverse each component for email address)
    clpmisc guidelines: <URL:http://www.augustmail.com/~tadmc/clpmisc.shtml>
    A. Sinan Unur, Nov 28, 2007
    #2
    1. Advertising

  3. myalo

    smallpond Guest

    On Nov 28, 4:32 pm, myalo <> wrote:
    > 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?
    smallpond, Nov 28, 2007
    #3
  4. myalo

    myalo Guest

    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

    On Nov 28, 2:34 pm, "A. Sinan Unur" <> wrote:
    > myalo <> wrote innews::
    >
    > > 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
    >
    > --
    > A. Sinan Unur <>
    > (remove .invalid and reverse each component for email address)
    > clpmisc guidelines: <URL:http://www.augustmail.com/~tadmc/clpmisc.shtml>
    myalo, Nov 28, 2007
    #4
  5. myalo <> wrote in
    news::

    [ 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


    --
    A. Sinan Unur <>
    (remove .invalid and reverse each component for email address)
    clpmisc guidelines: <URL:http://www.augustmail.com/~tadmc/clpmisc.shtml>
    A. Sinan Unur, Nov 28, 2007
    #5
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Roedy Green

    SHA-1 digest differences

    Roedy Green, Oct 6, 2005, in forum: Java
    Replies:
    1
    Views:
    623
    Roedy Green
    Oct 6, 2005
  2. Almad

    sha-2 and sha-512 bindings

    Almad, May 4, 2005, in forum: Python
    Replies:
    1
    Views:
    663
  3. Raga
    Replies:
    0
    Views:
    403
  4. sha, PyCrypto, SHA-256

    , Dec 16, 2006, in forum: Python
    Replies:
    3
    Views:
    2,239
    Tim Henderson
    Dec 19, 2006
  5. Tammy Mc
    Replies:
    3
    Views:
    204
    Tammy Mc
    Oct 1, 2006
Loading...

Share This Page