Gossamer Forum
Home : General : Perl Programming :

Problem installing Net--SSLeay and Crypt--SSLeay ..... Please help

Quote Reply
Problem installing Net--SSLeay and Crypt--SSLeay ..... Please help
Hi People! I hope all of you are doing well today.

Anyways, I've spent the past 7-8 hours trying to install LWP::UserAgent and a SSL to use with it, and after NUMEROUS times of installing and uninstalling different versions of Activestate Perl and libwww-perlXXX, etc. I was finally able to get LWP::UserAgent working properly under ActivePerl 5.8.0 (I am current running Windows XP and IIS).

I tried installing Net::SSLeay and Crypt::SSLeay numerous times also on different versions on Perl but am getting the same errors (below). I have the BINARY distribution of OpenSSL installed in my D:\Perl\OpenSSL folder (executable 'openssl.exe' is in D:\Perl\OpenSSL\bin).

The errors I get while installing Net::SSLeay (Ver 1.21) are -

(PMAKE)
<code>
Reading D:/Perl/site/lib/Make.pm
Reading D:\Perl\temp\Net_SSLeay.pm-1.21\makefile
Ignore '$(PM_TO_BLIB)'
Ignore '<<'
Ignore '@$(TOUCH) $@'
Reading D:/Perl/site/lib/Make.pm
Reading D:\Perl\temp\Net_SSLeay.pm-1.21\Net-SSLeay-Handle-0.50\Makefile
Ignore '$(PM_TO_BLIB)'
Ignore '<<'
Ignore '@$(TOUCH) $@'
Make all -nologo
Cannot `Make' - no target -nologo at D:/Perl/site/lib/Make.pm line 1164.
Code 512 from cd Net-SSLeay-Handle-0.50 && D:\Perl\bin\perl.exe D:\Perl\bin\pmak
e -f Makefile all -nologo at D:/Perl/site/lib/Make.pm line 265.
</code>

(NMAKE)
<code>
D:\Perl\temp\Net_SSLeay.pm-1.21>nmake

Microsoft (R) Program Maintenance Utility Version 1.50
Copyright (c) Microsoft Corp 1988-94. All rights reserved.

cl -c -ID:\Perl\OpenSSL/include -ID:\Perl\OpenSSL/inc32 -nologo -Gf -W
3 -MD -DNDEBUG -O1 -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DPERL_IMPLI
CIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX -O -DVERSI
ON=\"1.21\" -DXS_VERSION=\"1.21\" "-ID:\Perl\lib\CORE" -DPERL5 SSLeay.c
'cl' is not recognized as an internal or external command,
operable program or batch file.
NMAKE : fatal error U1077: 'C:\WINXP\system32\cmd.exe' : return code '0x1'
Stop.
</code>

And

The errors I get while installing Crypt::SSLeay (Ver .43 and .45) are -

(PMAKE)
<code>
D:\Perl\temp\Crypt-SSLeay-0.45>pmake
Reading D:/Perl/site/lib/Make.pm
Reading D:\Perl\temp\Crypt-SSLeay-0.45\makefile
Ignore '$(PM_TO_BLIB)'
Ignore '<<'
Ignore '@$(TOUCH) $@'
cl -c -ID:\Perl\OpenSSL\include -ID:\Perl\OpenSSL\inc32 -nologo -Gf -W3 -MD -DN
DEBUG -O1 -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DPERL_IMPLICIT_CONTE
XT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX -MD -DNDEBUG -O1 -DV
ERSION=\"0.45\" -DXS_VERSION=\"0.45\" "-ID:\Perl\lib\CORE" SSLeay.c
'cl' is not recognized as an internal or external command,
operable program or batch file.
Code 256 from cl -c -ID:\Perl\OpenSSL\include -ID:\Perl\OpenSSL\inc32 -nologo -
Gf -W3 -MD -DNDEBUG -O1 -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DPERL_
IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX -MD -DND
EBUG -O1 -DVERSION=\"0.45\" -DXS_VERSION=\"0.45\" "-ID:\Perl\lib\CORE" SSLe
ay.c at D:/Perl/site/lib/Make.pm line 265.
</code>

(NMAKE)
<code>
D:\Perl\temp\Crypt-SSLeay-0.45>nmake

Microsoft (R) Program Maintenance Utility Version 1.50
Copyright (c) Microsoft Corp 1988-94. All rights reserved.

cp lib/Crypt/SSLeay/X509.pm blib\lib\Crypt/SSLeay/X509.pm
cp lib/Net/SSL.pm blib\lib\Net/SSL.pm
cp SSLeay.pm blib\lib\Crypt\SSLeay.pm
cp lib/Crypt/SSLeay/Conn.pm blib\lib\Crypt/SSLeay/Conn.pm
cp lib/Crypt/SSLeay/CTX.pm blib\lib\Crypt/SSLeay/CTX.pm
cp lib/Crypt/SSLeay/MainContext.pm blib\lib\Crypt/SSLeay/MainContext.pm
cp lib/Crypt/SSLeay/Err.pm blib\lib\Crypt/SSLeay/Err.pm
cl -c -ID:\Perl\OpenSSL\include -ID:\Perl\OpenSSL\inc32 -nologo -Gf -W
3 -MD -DNDEBUG -O1 -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DPERL_IMPLI
CIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX -MD -DNDEBUG
-O1 -DVERSION=\"0.45\" -DXS_VERSION=\"0.45\" "-ID:\Perl\lib\CORE" SSLeay.
c
'cl' is not recognized as an internal or external command,
operable program or batch file.
NMAKE : fatal error U1077: 'C:\WINXP\system32\cmd.exe' : return code '0x1'
Stop.
</code>

PLEASE PLEASE PLEASE help me out..... am totally stumped and ready to pull my hair out.

Would greatly appreciate it.

Thanks,
Surya
Quote Reply
Re: [sprakash] Problem installing Net--SSLeay and Crypt--SSLeay ..... Please help In reply to
Have you tried ppm to install them?
Quote Reply
Re: [Paul] Problem installing Net--SSLeay and Crypt--SSLeay ..... Please help In reply to
I have the same problem as Sprakash - I'd like to get Crypt-SSleay to run on Win32 with Perl 5.8. No, PPM doesn't work.
Has anybody figured out something?