Skip Menu |

This queue is for tickets about the Module-Build CPAN distribution.

Report information
The Basics
Id: 13145
Status: resolved
Priority: 0/
Queue: Module-Build

People
Owner: Nobody in particular
Requestors:
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in:
  • 0.01
  • 0.02
  • 0.03
  • 0.03_1
  • 0.04
  • 0.04_01
  • 0.05
  • 0.05_01
  • 0.06
  • 0.07
  • 0.08
  • 0.09
  • 0.10
  • 0.11
  • 0.12
  • 0.13
  • 0.14
  • 0.15
  • 0.16
  • 0.17
  • 0.18
  • 0.18_01
  • 0.18_02
  • 0.18_03
  • 0.18_04
  • 0.19
  • 0.19_02
  • 0.19_03
  • 0.19_04
  • 0.19_05
  • 0.20
  • 0.20_01
  • 0.20_02
  • 0.21
  • 0.21_01
  • 0.21_02
  • 0.22
  • 0.23
  • 0.24
  • 0.24_01
  • 0.25
  • 0.25_01
  • 0.25_02
  • 0.25_03
  • 0.26
  • 0.2601
  • 0.2602
  • 0.2603
  • 0.2604
  • 0.2605
  • 0.2606
  • 0.2607
  • 0.2608
  • 0.2609
  • 0.2610
  • 0.27_01
Fixed in: (no value)



Subject: M::B masquerades as a Makefile.PL, but dies on unsupported options
Take M::B's own makefile.pl (which secretly under the hood calls M::B instead of EU::MM): hash:/home/ebroes/.cpanplus/5.8.4/build/Module-Build-0.27_01# perl Makefile.PL PREFIX=/tmp/foo Sorry, PREFIX is not supported. See the Module::Build documentation for 'destdir' or 'install_base' instead. I didn't ask to use M::B, i asked for EU::MM. What's worse, a lot of conventional installers (including CPANPLUS) will now break because they expect a Makefile.PL to actually be able to accept commands that Makefile.PLs accept.
[KANE - Wed Jun 8 05:16:31 2005]: Show quoted text
> Take M::B's own makefile.pl (which secretly under the hood calls M::B > instead of EU::MM):
More breakage occurs: hash:/home/ebroes/.cpanplus/5.8.4/build/Module-Build-0.27_01# perl Makefile.PL destdir=/tmp # running Build.PL --destdir /tmp /usr/bin/perl Build.PL --destdir /tmp Checking whether your kit is complete... Looks good Feature 'manpage_support' enabled. Feature 'YAML_support' enabled. Feature 'C_support' enabled. Feature 'HTML_support' enabled. Deleting Build Removed previous script 'Build' Creating new 'Build' script for 'Module-Build' version '0.27_01' hash:/home/ebroes/.cpanplus/5.8.4/build/Module-Build-0.27_01# make pure_install make: *** No rule to make target `pure_install'. Stop. which means start packaging tools which dont want a perllocal.pod updated/installed (like dpkg) now also break. Either dont masquerade yourself as a Makefile.PL (since you can not actually 100% emulate it), or make sure the emulation works, or just actually use EU::MM, as it *is* a core module.
Both PREFIX and the pure_install target are now supported as of 0.27_02, both under the Makefile.PL emulation and natively under M::B. As for whether we emulate the Makefile.PL or not, that ship sailed a long long time ago. -Ken