Re: Compiling for Perl on NT.

1999-04-06 Thread Andy Shaw

Sampo,

Sampo Kellomaki wrote:
 
 Andy Shaw [EMAIL PROTECTED] writes:
 
  Hi all,
 
  Having found a version of ActiveState Perl which supports makemaker, I
  am trying to install Net::SSLeay with it but I keep getting :
 
  Checking for SSLeay-0.9.0 or OpenSSL-0.9.1c...
  I could not find your SSLeay in `/usr/local/ssl'
  Please provide SSLeay-0.9.0 or OpenSSL-0.9.1c (get from
   http://www.openssl.org/ if you dont have it) installation
  directory (C-c to abort):
 
  When I give the directory contiaining the complied and tested dll's it
  gives the same message, what is it looking for?
 
 I'd bet this is due to me assuming that ssleay executable is called
 "ssleay" without the .exe. I'll look into it along with other win
 build issues in forthcoming 1.04 release.
 

I managed to get it to start working by doing the following,

1. Built openssl-0.9.1c without asm to build the win32dll's.
2. Copied this entire directory structure toit's installation directory.
3. Renames out32dll to bin so that Makefile.pl in Net::SSLeay can find
ssleay
4. Altered Makefile.pl to check for ssleay.exe not ssleay
5. Finally got a make file to build the Perl.

Now running nmake install gives 
c:\openssl/include\bn.h(266) : error C2143: syntax error : missing ';'
before '-'
c:\openssl/include\bn.h(266) : error C2238: unexpected token(s)
preceding ';'
c:\openssl/include\bn.h(417) : error C2143: syntax error : missing ')'
before '-'
c:\openssl/include\bn.h(417) : error C2059: syntax error : '-'
c:\openssl/include\bn.h(417) : error C2059: syntax error : ')'
c:\openssl/include\bn.h(426) : error C2143: syntax error : missing ')'
before '-'
c:\openssl/include\bn.h(426) : error C2059: syntax error : '-'
c:\openssl/include\bn.h(426) : error C2501: 'PL_na' : missing
decl-specifiers
c:\openssl/include\bn.h(426) : error C2062: type 'unsigned long'
unexpected
c:\openssl/include\bn.h(426) : error C2501: 'b' : missing
decl-specifiers
c:\openssl/include\bn.h(426) : warning C4228: nonstandard extension used
: qualifiers after comma in declarator list are ignored
c:\openssl/include\bn.h(426) : error C2062: type 'int' unexpected
c:\openssl/include\bn.h(426) : error C2059: syntax error : ')'
c:\openssl/include\bn.h(426) : error C2501: 'nb' : missing
decl-specifiers
c:\openssl/include\bn.h(426) : warning C4228: nonstandard extension used
: qualifiers after comma in declarator list are ignored
c:\openssl/include\asn1.h(138) : fatal error C1903: unable to recover
from previous error(s); stopping compilation
NMAKE : fatal error U1077: 'cl.exe' : return code '0x2'
Stop.

What am I doing wrong?

Andy
 

-- 

Andy Shaw
[EMAIL PROTECTED]
Phone: +44 (0)1223 715002
__
OpenSSL Project http://www.openssl.org
User Support Mailing List[EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]



Re: Compiling for Perl on NT.

1999-04-06 Thread dougc

Andy,
In the list of modifications I sent you previously is a list of
changes that need to be made because certain variables being used are
apparently reserved words. I ran into the same problems. If you make
the changes to those reserved words to name them something else, it
should clear things up. Let me know if you need the list of changes

Doug

-- 
Doug Courtney
[EMAIL PROTECTED]
(732)576-5572
__
OpenSSL Project http://www.openssl.org
User Support Mailing List[EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]