Bug 121054 - [PATCH] MakeMaker Version unusable for building RPMs from CPAN Modules
Summary: [PATCH] MakeMaker Version unusable for building RPMs from CPAN Modules
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: perl
Version: 3.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Robin Norwood
QA Contact: David Lawrence
URL: http://www.internetteam.de/benning/re...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-04-16 14:41 UTC by Markus Benning
Modified: 2007-11-30 22:07 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-08-15 16:22:56 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.