Re: Net::SSLeay make failure - openssl error.




"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

.



Relevant Pages

  • Re: GUI and ruby
    ... Actually that is its biggest advantage. ... bunch of libraries from different sources to make Gtk2 run with ruby. ... wget / dpkg -i ... Win32 ...
    (comp.lang.ruby)
  • Re: Blastwave.org packages with insane dependencies
    ... But works for most of the packages because ... example, lazy load wget with the SSL library, transfer wget binary to the ... and ldd lists all libraries which are used by the ...
    (comp.unix.solaris)
  • Encryption and hashing
    ... Since that I'm working to let encrypt/hash data in the data base of my ... projects I have been looking for libraries and/or wrappers. ... There algorithms more secure and modern that it hasn't. ... $ wget http://labix.org/download/python-mcrypt/python-mcrypt-1.1.tar.gz ...
    (comp.lang.python)
  • Re: Net::SSLeay make failure - openssl error.
    ... anyone else would need to do this, only idiots like me): ... Use wget to download the source for the older module version fromhttp://search.cpan.org/src/SAMPO/Net_SSLeay.pm-1.15/using the command ... cd into the directory where the files were stored by wget. ...
    (comp.lang.perl.modules)
  • Re: [opensuse] What I Want (was Why I dont upgrade often)
    ... Do you have a procedure how to install it? ... What libraries are needed? ... tar zxvf ies4linux-latest.tar.gz ...
    (SuSE)