Hello Joshua,
Thanks for the feedback. I was able to run the "perl makefile.pl" command. There were still some warnings like "Note (probably harmless): No library found for 'libssleay32.lib'." The path to OpenSSL on my machine is d:/perl/OpenSSL
Now, when I run nmake, I get the following errors:
==============================================================================================
cl.exe -c -Id:\perl\openssl\include -Id:\perl\openssl\inc32 -O2 -MD -DNDEBUG -TP -GX -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DPERL_OBJECT -O2 -MD -DNDEBUG -TP -GX -DVERSION=\"0.18\" -DXS_VERSION=\"0.18\" -ID:\perl\5.005\lib\MSWin32-x86-object\CORE SSLeay.c
SSLeay.c
d:\perl\openssl\include\openssl/bn.h(259) : error C2143: syntax error : missing ';' before '->'
d:\perl\openssl\include\openssl/bn.h(259) : error C2059: syntax error : '->'
d:\perl\openssl\include\openssl/bn.h(259) : error C2238: unexpected token(s) preceding ';'
d:\perl\openssl\include\openssl/bn.h(416) : error C2143: syntax error : missing ',' before '->'
d:\perl\openssl\include\openssl/bn.h(416) : error C2059: syntax error : '->'
d:\perl\openssl\include\openssl/dh.h(112) : error C2838: illegal qualified name in member declaration
d:\perl\openssl\include\openssl/ssl.h(1107) : error C2143: syntax error : missing ',' before '->'
d:\perl\openssl\include\openssl/ssl.h(1107) : error C2059: syntax error : '->'
d:\perl\openssl\include\openssl/ssl.h(1108) : error C2143: syntax error : missing ',' before '->'
d:\perl\openssl\include\openssl/ssl.h(1108) : error C2059: syntax error : '->'
SSLeay.xs(91) : error C2065: 'ERR_get_error' : undeclared identifier
SSLeay.xs(95) : error C2065: 'ERR_error_string' : undeclared identifier
SSLeay.xs(116) : error C2065: 'ERR_load_crypto_strings' : undeclared identifier
SSLeay.xs(119) : error C2065: 'RAND_seed' : undeclared identifier
NMAKE : fatal error U1077: 'cl.exe' : return code '0x2'
==============================================================================================
I haven't yet tried downloading the ActiveState port that you recommend. I'll try that if nothing else works.
Thanks,
-Ashu
> -----Original Message-----
> From: Joshua Chamas [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, January 04, 2001 6:40 AM
> To: [EMAIL PROTECTED]; Ashutosh Srivastava
> Subject: Re: Crypt::SSLeay
>
>
> > [EMAIL PROTECTED] wrote:
> >
> > Hello:
> >
> > I am trying to install the Crypt::SSLeay module on my Win
> NT 4.0 sp 4 machine. I compiled the OpenSSL module as the
> readme.txt instructed (this
> > compiled cleanly), and now I am trying run the command
> "Perl Makefile.pl" for the Crypt::SSLeay module. First, I am
> being prompted for the path of
> > the OpenSSL installation, and then, I am seeing warnings
> about the installation not being found, and some missing
> OpenSSL libraries.
> >
>
> If you can, I would download the ActiveState Win32 port of perl,
> and use their ppm installer to install Crypt::SSLeay ... I believe it
> was port 618 that had a working verion of that module, but maybe
> others since too?
>
> If you really want to compile it on your own, then
> make sure to type a valid path to your win32
> openssl installation, which you could put say in
> c:/usr/local/openssl, and then type that as a path
> or maybe c:\usr\local\openssl. The directory structure
> of /usr/local/openssl should resemble what it looks
> like on Unix with include & lib subdirectories.
>
> --Josh
>