Skip Menu |

This queue is for tickets about the Digest-SHA2 CPAN distribution.

Report information
The Basics
Id: 26902
Status: rejected
Priority: 0/
Queue: Digest-SHA2

People
Owner: Nobody in particular
Requestors: jonathan.leffler [...] gmail.com
Cc:
AdminCc:

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



Subject: Compilation problems with Digest::SHA2 v1.1.0
Date: Wed, 2 May 2007 11:37:02 -0700
To: bug-digest-sha2 [...] rt.cpan.org
From: "Jonathan Leffler" <jonathan.leffler [...] gmail.com>
Good morning. On my Solaris 10 machine, Perl is built with the Sun compiler, and does not understand the gcc specific options in the line: my $opts = "-O ... -funroll-loop ..."; in Makefile.PL. When I cauterize that (my $opts = "-O"; # ...original value), things progress until I come across: Writing Makefile for Digest::SHA2 cc -c -I. -I/usr/gnu/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -O -DVERSION=\"1.1.0\" -DXS_VERSION=\"1.1.0\" -KPIC "-I/usr/perl/v5.8.8-32bit-sun-cc/lib/5.8.8/sun4-solaris/CORE" -DSHA2_USE_INTTYPES_H SHA2.c "_sha2.c", line 290: #error: Define BYTE_ORDER to be equal to either LITTLE_ENDIAN or BIG_ENDIAN cc: acomp failed for SHA2.c make: *** [SHA2.o] Error 2 Since Makefile.PL doesn't mention that this is needed (implicitly or explicitly), I have to hack the definition of my $defines... This is a (medium grade) nuisance; it means the install is not automatic at all. -- Jonathan Leffler <jonathan.leffler@gmail.com> #include <disclaimer.h> Guardian of DBD::Informix - v2007.0226 - http://dbi.perl.org "Blessed are we who can laugh at ourselves, for we shall never cease to be amused."
On Wed May 02 14:47:20 2007, jonathan.leffler@gmail.com wrote: Show quoted text
> Good morning. On my Solaris 10 machine, Perl is built with the Sun > compiler, and does not understand the gcc specific options in the line:
Please use Digest::SHA instead, Digest::SHA2 has been deprecated.
Subject: Re: [rt.cpan.org #26902] Compilation problems with Digest::SHA2 v1.1.0
Date: Sat, 7 Jul 2007 14:28:18 -0700
To: bug-Digest-SHA2 [...] rt.cpan.org
From: "Jonathan Leffler" <jonathan.leffler [...] gmail.com>
On 7/7/07, via RT <bug-Digest-SHA2@rt.cpan.org> wrote: Show quoted text
> > > <URL: http://rt.cpan.org/Ticket/Display.html?id=26902 > > > On Wed May 02 14:47:20 2007, jonathan.leffler@gmail.com wrote:
> > Good morning. On my Solaris 10 machine, Perl is built with the Sun > > compiler, and does not understand the gcc specific options in the line:
> > Please use Digest::SHA instead, Digest::SHA2 has been deprecated. >
OK - please close the ticket, then. -- Jonathan Leffler <jonathan.leffler@gmail.com> #include <disclaimer.h> Guardian of DBD::Informix - v2007.0226 - http://dbi.perl.org "Blessed are we who can laugh at ourselves, for we shall never cease to be amused."
On Sat Jul 07 17:28:32 2007, jonathan.leffler@gmail.com wrote: Show quoted text
> OK - please close the ticket, then.
Changed the status to "rejected" which is apperently the right resolution for this sort of thing.