Skip Menu |

This queue is for tickets about the Crypt-SSLeay CPAN distribution.

Report information
The Basics
Id: 71784
Status: rejected
Priority: 0/
Queue: Crypt-SSLeay

People
Owner: nanis [...] runu.moc.invalid
Requestors: sprilutsky [...] hotmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Error compiling Crypt-SSLeay
Date: Wed, 19 Oct 2011 13:33:16 -0500
To: <bug-crypt-ssleay [...] rt.cpan.org>
From: Sergey Prilutsky <sprilutsky [...] hotmail.com>
Hi, While compiling Crypt-SSLeay module on Solaris 10 server with Perl 5.8.4 ran into fatal error while doing make. I was thinking that it requires the PerlGcc module, but I am not sure. Plus it sounds like it is available for earlier Perl versions. BTW... we have Sun c compiler installed on the server bash-3.00# pkginfo |grep compiler system SUNWgcc gcc - The GNU C compiler Here is the log of compiling bash-3.00# perl Makefile.PL ======================================================= Only one OpenSSL installation found at /usr/local/ssl Consider running 'perl Makefile.PL --default' the next time Crypt::SSLeay is upgraded to select this directory automatically thereby avoiding the following prompt. ======================================================= Which SSL install path do you want to use? [/usr/local/ssl] BUILD INFORMATION ================================================ ssl library: OpenSSL 0.9.8e in /usr/local/ssl ssl header: openssl/ssl.h libraries: -L/usr/local/ssl/lib -lssl -lcrypto -lgcc include dir: -I/usr/local/ssl/include ================================================ Checking if your kit is complete... Looks good Note (probably harmless): No library found for -lgcc Writing Makefile for Crypt::SSLeay The test suite can attempt to connect to public servers to ensure that the code is working properly. If you are behind a strict firewall or have no network connectivity, these tests may fail (through no fault of the code). Do you want to run the live tests (y/N)? [N] bash-3.00# bash-3.00# bash-3.00# pwd /tmp/Crypt-SSLeay-0.58 bash-3.00# make 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/Conn.pm blib/lib/Crypt/SSLeay/Conn.pm cp lib/Crypt/SSLeay/CTX.pm blib/lib/Crypt/SSLeay/CTX.pm cp lib/Crypt/SSLeay/MainContext.pm blib/lib/Crypt/SSLeay/MainContext.pm cp lib/Crypt/SSLeay/Err.pm blib/lib/Crypt/SSLeay/Err.pm /usr/bin/perl /usr/perl5/5.8.4/lib/ExtUtils/xsubpp -typemap /usr/perl5/5.8.4/lib/ExtUtils/typemap -typemap typemap SSLeay.xs > SSLeay.xsc && mv SSLeay.xsc SSLeay.c cc -c -I/usr/local/ssl/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xarch=v8 -D_TS_ERRNO -xO3 -xspace -xildoff -DVERSION=\"0.58\" -DXS_VERSION=\"0.58\" -KPIC "-I/usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE" SSLeay.c sh: cc: not found *** Error code 1 make: Fatal error: Command failed for target `SSLeay.o' bash-3.00# Thanks Sergey Prilutsky
On Wed Oct 19 14:33:26 2011, sprilutsky@hotmail.com wrote: Show quoted text
> BTW... we have Sun c compiler installed on the server > bash-3.00# pkginfo |grep compiler > system SUNWgcc gcc - The GNU C compiler
... Show quoted text
> sh: cc: not found > *** Error code 1 > make: Fatal error: Command failed for target `SSLeay.o' > bash-3.00#
What do you get when you try $ which cc and $ which gcc Are you compiling Crypt::SSLeay with the same compiler used to build perl and openssl? -- Sinan
Waiting for feedback from requester regarding compilation environment.
I am assuming the error was due to missing C compiler and closing this report. -- Sinan