Bug 121054

Summary: [PATCH] MakeMaker Version unusable for building RPMs from CPAN Modules
Product: Red Hat Enterprise Linux 3 Reporter: Markus Benning <markus.benning>
Component: perlAssignee: Robin Norwood <robin.norwood>
Status: CLOSED WONTFIX QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.0   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
URL: http://www.internetteam.de/benning/redhat/perl/
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-08-15 16:22:56 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Markus Benning 2004-04-16 14:41:29 UTC
Description of problem:
The Version of the MakeMaker shiped with the perl Package generates
Makefile
which are unusaable for packagers.
The Makefiles generated with Version 6.03 of MakeMaker contain the
allready
full epanded path, so the install Directories cannot be overwritten
eg. with PREFIX=$RPM_BUILD_ROOT/%{_prefix}

Version-Release number of selected component (if applicable):
5.8.0-88.4

How reproducible:
h2xs -X -n Test
cd Test
perl Makefile.PL

(see the generated Makefile)

This will install the Module not in /usr/lib/perl5 and not in
the specified PREFIX:

make && make PREFIX="/tmp/test" install

Resolution:

Please see:
http://www.internetteam.de/benning/redhat/perl/

There i put up a patch(perl-5.8.0-makemaker-update-6.21.patch) which
updates the
MakeMaker tree within the perl distribtion to the current version 6.21.
There's also a diff of my SPEC file agains the 88.4 spec(perl.spec.diff).

I also uploaded the following two Makefile which show the problem:
Makefile.MakeMaker-6.03 (bad)
Makefile.MakeMaker-6.21 (good)

The Authors of the MakeMaker Module fixed this problem around
Version 6.06.
This also applies to the perl Package which is shipped with RH9.

Comment 1 Robin Norwood 2006-10-01 23:31:18 UTC
assigning to rnorwood

Comment 2 Robin Norwood 2007-08-15 16:22:56 UTC
This bug is old and no longer applies.