I'm trying to upgrade to OpenSSL 0.9.3a, but am being hampered by
problems getting a Net::SSL Perl Module going with it. Previously I was
using Crypt::SSLeay, with a patch for it to work (with 0.9.2). I've
edited the Crypt::SSLeay config to use the new include/openssl
heirarchy, but compilation of the Perl module is now dying with the
following error:
/usr/local/ssl/include/openssl/des.h:96: #error "_ is defined, but some
strange definition the DES library cannot handle that."
/usr/local/ssl/include/openssl/des.h:98: warning: `_' redefined
The complete compile + error is:
gcc -c -I/usr/local/ssl/include -I/usr/local/ssl/include/openssl
-I/usr/local/include -I/opt/local/include -O2 -DVERSION=\"0.07\"
-DXS_VERSION=\"0.07\" -fPIC
-I/usr/local/perl/lib/5.00502/sun4-solaris-thread/CORE SSLeay.c
In file included from /usr/local/ssl/include/openssl/evp.h:79,
from /usr/local/ssl/include/openssl/pem.h:66,
from /usr/local/ssl/include/openssl/ssl.h:151,
from SSLeay.xs:18:
/usr/local/ssl/include/openssl/des.h:96: #error "_ is defined, but some
strange definition the DES library cannot handle that."
/usr/local/ssl/include/openssl/des.h:98: warning: `_' redefined
/usr/local/perl/lib/5.00502/sun4-solaris-thread/CORE/config.h:1101:
warning: this is the location of the previous definition
*** Error code 1
make: Fatal error: Command failed for target `SSLeay.o'
--
. Trevor Phillips - http://jurai.murdoch.edu.au/ .
: CWIS Technical Officer - [EMAIL PROTECTED] :
| IT Services - Murdoch University |
>------------------- Member of the #SAS# & #CFC# --------------------<
| On nights such as this, evil deeds are done. And good deeds, of /
| course. But mostly evil, on the whole. /
\ -- (Terry Pratchett, Wyrd Sisters) /
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]