Skip Menu |

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

Report information
The Basics
Id: 103
Status: resolved
Priority: 0/
Queue: Crypt-IDEA

People
Owner: DPARIS [...] cpan.org
Requestors: acme [...] astray.com
Cc:
AdminCc:

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



Subject: Compile problem
Crypt::IDEA is a wonderful module, but it fails to build on recent Perls. Here is a patch: --- IDEA.xs.orig Mon Dec 17 12:12:12 2001 +++ IDEA.xs Mon Dec 17 12:12:27 2001 @@ -63,7 +63,7 @@ if (ks_len != sizeof(idea_ks)) croak("Invalid key schedule"); - if (output == &sv_undef) + if (output == &PL_sv_undef) output = sv_newmortal(); output_len = 8; Cheers, Leon
There is another solution to build the module under recent versions of Perl. Just use the following command line: perl Makefile.PL POLLUTE=1 [source: http://www.mail-archive.com/cpan-testers@perl.org/msg27545.html]
[guest - Mon Apr 8 15:34:51 2002]: Show quoted text
> There is another solution to build the module under recent versions of > Perl. Just use the following command line: > > perl Makefile.PL POLLUTE=1 > > [source: http://www.mail-archive.com/cpan-testers@perl.org/msg27545.html] >
Yes, I agree. However I suggest that all the modules on CPAN should install under recent Perls with no workarounds ;-) Not everyone will know what to do, hence the patch. Leon
From: srinehar [...] utah.gov
So........just exactly how do you use this patch?? Obviously, I'm a rookie at these matters. Thanks [guest - Mon Dec 17 07:13:56 2001]: Show quoted text
> Crypt::IDEA is a wonderful module, but it fails to build on recent > Perls. Here is a patch: > > --- IDEA.xs.orig Mon Dec 17 12:12:12 2001 > +++ IDEA.xs Mon Dec 17 12:12:27 2001 > @@ -63,7 +63,7 @@ > if (ks_len != sizeof(idea_ks)) > croak("Invalid key schedule"); > > - if (output == &sv_undef) > + if (output == &PL_sv_undef) > output = sv_newmortal(); > output_len = 8; > > > Cheers, Leon
From: srinehar [...] utah.gov
So........just exactly how do you use this patch?? Obviously, I'm a rookie at these matters. Thanks [guest - Mon Dec 17 07:13:56 2001]: Show quoted text
> Crypt::IDEA is a wonderful module, but it fails to build on recent > Perls. Here is a patch: > > --- IDEA.xs.orig Mon Dec 17 12:12:12 2001 > +++ IDEA.xs Mon Dec 17 12:12:27 2001 > @@ -63,7 +63,7 @@ > if (ks_len != sizeof(idea_ks)) > croak("Invalid key schedule"); > > - if (output == &sv_undef) > + if (output == &PL_sv_undef) > output = sv_newmortal(); > output_len = 8; > > > Cheers, Leon