Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

trouble with Crypt::SSLeay install

11 views
Skip to first unread message

Joe

unread,
Jan 21, 2014, 6:33:11 PM1/21/14
to lib...@perl.org
Hello -
I'm sorry to bother you but I'm having a ton of trouble trying to
install Crypt::SSLeay 0.64 into my new system.
http://search.cpan.org/~nanis/Crypt-SSLeay/SSLeay.pm

The server is Ubuntu 12.04 with Perl 5.14; should this work?

This is the install command I'm trying to use to put this into my custom
location:

PERL5LIB="/home/joet/bin_joet/perl" make install
PREFIX=/home/joet/bin_joet INSTALLPRIVLIB="/home/joet/bin_joet/perl"
INSTALLSITELIB="/home/joet/bin_joet/perl"
INSTALLARCHLIB="/home/joet/bin_joet/perl"
INSTALLSITEARCH="/home/joet/bin_joet/perl"
INSTALLVENDORARCH="/home/joet/bin_joet/perl"

And this is the tail end of the installation showing the failure:

Writing Makefile for Crypt::SSLeay
cp lib/Crypt/SSLeay/X509.pm blib/lib/Crypt/SSLeay/X509.pm
cp lib/Net/SSL.pm blib/lib/Net/SSL.pm
cp SSLeay.pm blib/lib/Crypt/SSLeay.pm
cp lib/Crypt/SSLeay/MainContext.pm blib/lib/Crypt/SSLeay/MainContext.pm
cp lib/Crypt/SSLeay/CTX.pm blib/lib/Crypt/SSLeay/CTX.pm
cp lib/Crypt/SSLeay/Conn.pm blib/lib/Crypt/SSLeay/Conn.pm
cp lib/Crypt/SSLeay/Err.pm blib/lib/Crypt/SSLeay/Err.pm
/usr/bin/perl /home/joet/bin_sugardvd/perl/ExtUtils/xsubpp -typemap
/usr/share/perl/5.14/ExtUtils/typemap -typemap typemap SSLeay.xs >
SSLeay.xsc && mv SSLeay.xsc SSLeay.c
make: *** No rule to make target `/usr/lib/perl/5.14/CORE/cc_runtime.h',
needed by `SSLeay.o'. Stop.


The problem seems to be an incompatibility between Crypt::SSLeay and
Perl 5.14, since there is no cc_runtime.h, but admittedly I'm a bit
lost; no one else seems to be reporting the issue.

Can you provide any guidance?
thanks in advance,
Joe


(Adam Sjøgren)

unread,
Jan 22, 2014, 1:00:51 PM1/22/14
to lib...@perl.org
Joe <j...@oddesse.com> writes:

> The server is Ubuntu 12.04 with Perl 5.14; should this work?

Any reason not to use the one packaged with 12.04?

* http://packages.ubuntu.com/precise/libcrypt-ssleay-perl

It is version 0.57; I don't know if you specifically want/need the
version you tried to build manually.

(Ubuntu 12.04 comes with Perl 5.14.2.)


Best regards,

Adam

--
"Oh, we all like motorcycles, to some degree." Adam Sjøgren
as...@koldfront.dk

Michiel Beijen

unread,
Jan 23, 2014, 3:24:37 AM1/23/14
to Adam Sjøgren, Libwww Mailling List
Hi,

On Wed, Jan 22, 2014 at 7:00 PM, Adam Sjøgren <as...@koldfront.dk> wrote:
> Joe <j...@oddesse.com> writes:
>
>> The server is Ubuntu 12.04 with Perl 5.14; should this work?
>
> Any reason not to use the one packaged with 12.04?

As mentioned, typically it is preferable to install from the
repositories by using 'sudo apt-get install -y libcrypt-ssleay-perl'

If you really need the newer version you can install it from cpan.
First you'll need some dependencies

sudo apt-get install -y liblwp-protocol-https-perl libtry-tiny-perl
libssl-dev make
sudo cpan Crypt::SSLeay

--
Mike
0 new messages