Fw: Error when 'make' Crypt-Blowfish-2.02 and Perl 5.6

From: Shawn Pritchard (shawn@webexceed.com)
Date: Tue Oct 10 2000 - 14:11:33 EDT


It's OK, I found it in the archives!

The anwser was:
*******
The problem is that the perl 5.6 headers don't define a necessary value.
If you add the following line to the top of Blowfish.xs and/or DES.xs,
things
should compile and work just fine:

#define sv_undef PL_sv_undef

Hopefully perl 5.6.1 will have this fixed.
********

My understanding of the "problem" is that some modules are not written
correctly, and pre 5.6.0 Perl sort of just ignored the problems, but
starting with 5.6.0 they are getting strict about certain sloppy programming
practices. So, I doubt that 5.6.1 will "fix" this, I think the best
solution is for the modules to get fixed.

----- Original Message -----
From: "Shawn Pritchard" <shawn@webexceed.com>
To: <dev-list@opensrs.org>
Sent: Tuesday, October 10, 2000 11:46 AM
Subject: Error when 'make' Crypt-Blowfish-2.02 and Perl 5.6

> Hello,
>
> I ran into this problem when installing this module on another server, and
> UNFORTUNATELY never wrote down the solution. It is a VERY simple fix, I
> just don't remember what it was! Anyone know about this? We have Perl
> 5.6, and the problem has to do with the way the Makefile is "sloppily"
> written...works with older versions of Perl, but starting in 5.6 it chokes
> on it. (can't recall exactly what the problem is). Here is the error
> message I get when I do a "make"...hopefully it will jar someone's memory:
>
>
gcc -c -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FIL
>
E_OFFSET_BITS=64 -O2 -DVERSION=\"2.02\" -DXS_VERSION=\"2.02\" -fpic -I/u
> sr/lib/perl5/5.6.0/i686-linux/CORE Blowfish.c
> Blowfish.xs: In function `XS_Crypt__Blowfish_crypt':
> Blowfish.xs:56: `sv_undef' undeclared (first use in this function)
> Blowfish.xs:56: (Each undeclared identifier is reported only once
> Blowfish.xs:56: for each function it appears in.)
> make: *** [Blowfish.o] Error 1
>
> I seem to remember the answer being that you need to add an option to the
> "make"....or maybe it was for the Makefile.PL?? Hope someone can help!
>



This archive was generated by hypermail 2.1.3 : Tue Oct 19 2004 - 23:35:58 EDT