Skip Menu |

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

Report information
The Basics
Id: 26901
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:39:32 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:
Closing one of two copies of the same bug report, still an issue though.