Opened 19 years ago

Closed 19 years ago

#1752 closed defect (invalid)

ExtUtils-MakeMaker included in perl-5.8.8 broken

Reported by: hugo@… Owned by: lfs-book@…
Priority: normal Milestone: 6.2
Component: Book Version: SVN
Severity: normal Keywords:
Cc:

Description

Generated Makefiles reference PERLRUN instead of PERLRUNINST. This bug prevents PDL-2.4.2 (in BLFS) from being built properly.

Attachments (1)

perl-5.8.8-makemaker.patch (664 bytes ) - added by hugo@… 19 years ago.
Patch to fix ExtUtils-MakeMaker

Download all attachments as: .zip

Change History (6)

by hugo@…, 19 years ago

Attachment: perl-5.8.8-makemaker.patch added

Patch to fix ExtUtils-MakeMaker

comment:1 by archaic@…, 19 years ago

Milestone: 6.2
Severity: majornormal

Can anyone shed light on if this is really a perl bug as opposed to a PDL bug?

comment:2 by hugobo, 19 years ago

I reported this bug first to the PDL mailing list, and here is the answer I got:
========================================================
This is a well-known bug in ExtUtils::MakeMaker 6.30, which is included in perl 5.8.8:
http://rt.cpan.org/Public/Bug/Display.html?id=17224[[BR]] ========================================================

comment:3 by dbn.lists@…, 19 years ago

Here's two potential sed's to accomplish the same thing:

sed -i "s/'PERLRUN'/'PERLRUNINST'/" lib/ExtUtils/MM_Unix.pm
sed -i -e "s/my \$perlrun/& = 'PERLRUN'/" \
    -e '/^\s*\$perlrun/d' lib/ExtUtils/MM_Unix.pm

comment:4 by archaic@…, 19 years ago

Hugo, the first sed mimics the bug report fix listed in your link. Could you try that and see if it works?

comment:5 by archaic@…, 19 years ago

Resolution: invalid
Status: newclosed

The patch to MM_Unix.pm will indeed allow PDL to build. However, I could not get an answer from the MakeMaker folks saying that MM_Unix.pm was actually flawed. PDL has since fixed this issue in their CVS repo so this is now a BLFS issue. Closing as invalid.

Note: See TracTickets for help on using tickets.