Re: Net::SSLeay make failure - openssl error.
- From: "Lee Stone" <me2@xxxxxxxxxxx>
- Date: Mon, 15 Sep 2008 17:06:39 +0100
"sisyphus" <sisyphus359@xxxxxxxxx> wrote in message news:ee0975da-33f1-429f-b4e2-4d2e26639b96@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx..
On Sep 14, 9:47 am, "Lee Stone" <m...@xxxxxxxxxxx> wrote:
..
..I have OpenSSL 0.9.6a.
..
>Running make on Net::SSLeay 1.35 fails as follows:..>"
SSLeay.xs:103: openssl/engine.h: No such file or directory
..
>I think all these failures relate to the lack of engine.h in my openssl
>libraries?
Could well be ... assuming that engine.h does not exist in 0.9.6a...
Otherwise it's simply a case of engine.h existing, but not existing in
a location where it's found automatically. For me (0.9.8g) engine.h
can be found in /usr/local/ssl/include/openssl.
The Net-SSLeay-1.35 README states (re prerequisites):
------------------------------------------
OpenSSL-0.9.6j or OpenSSL-0.9.7b
(try http://www.openssl.org/) -
This release has been tested with 0.9.6d and
in historical light it seems likely that future versions
will work as well (if major version number changes all bets
are off, though)
------------------------------------------
..
Is it possible to compile Net::SSLeay without reference to engine.h?
Not easily (ie not without some serious hacking at the source) ... not
version 1.35, at least. (But maybe some earlier version.)
Cheers,
Rob
Rob, many thanks.
Earlier versions of Net::SSLeay did not have the requirement of 'engine.h'. I decided to try and build Net::SSLeay version 1.15 from May 2002.
For google's sake - here's what I had to do (although I cannot believe anyone else would need to do this, only idiots like me):
a) Use wget to download the source for the older module version from
http://search.cpan.org/src/SAMPO/Net_SSLeay.pm-1.15/ using the command
'
wget -r -l10 --no-parent http://search.cpan.org/src/SAMPO/Net_SSLeay.pm-1.15/
'
b) cd into the directory where the files were stored by wget. In my case this was
'
cd /home/a-e/admin/downloads/NetSSLeaySource/search.cpan.org/src/SAMPO/Net_SSLeay.pm-1.15
'
c) Use the normal 'perl Makefile.PL', 'make', 'make test', 'make install' build process.
Details: http://world.std.com/~swmcd/steven/perl/module_mechanics.html#TOC19
That's it!
Lee
.
- Follow-Ups:
- Re: Net::SSLeay make failure - openssl error.
- From: sisyphus
- Re: Net::SSLeay make failure - openssl error.
- References:
- Net::SSLeay make failure - openssl error.
- From: Lee Stone
- Re: Net::SSLeay make failure - openssl error.
- From: sisyphus
- Net::SSLeay make failure - openssl error.
- Prev by Date: Re: Net::SSLeay make failure - openssl error.
- Next by Date: Re: Net::SSLeay make failure - openssl error.
- Previous by thread: Re: Net::SSLeay make failure - openssl error.
- Next by thread: Re: Net::SSLeay make failure - openssl error.
- Index(es):
Relevant Pages
|