Skip Menu |

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

Report information
The Basics
Id: 4682
Status: resolved
Priority: 0/
Queue: Module-Install

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

Bug Information
Severity: Normal
Broken in:
  • 0.28
  • 0.29
Fixed in: (no value)



Subject: inc/Module/Install.pm gets installed
when installing Module::Install via Makefile.PL, on standard Win32 ActivePerl 5.6.1, with ExtUtils::MakeMaker 6.21 (latest), inc/Module/Install.pm gets installed, which looks like a bug to me
Subject: Re: [cpan #4682] inc/Module/Install.pm gets installed
From: Autrijus Tang <autrijus [...] autrijus.org>
To: bug-Module-Install [...] rt.cpan.org
Date: Wed, 17 Dec 2003 03:47:00 +0800
RT-Send-Cc:
?b 二, 2003-12-16 04:28, Guest via RT ?g?D?G Show quoted text
> inc/Module/Install.pm gets installed, which looks like a bug to me
It's not a bug it's a feature. How else can your Makefile.PL say use inc::Module::Install when there is no inc/ populated yet? Thanks, /Autrijus/
Download signature.asc
application/pgp-signature 187b

Message body not shown because it is not plain text.

[autrijus@autrijus.org - Tue Dec 16 14:47:20 2003]: Show quoted text
> ?b 二, 2003-12-16 04:28, Guest via RT ?g?D?G
> > inc/Module/Install.pm gets installed, which looks like a bug to me
> > It's not a bug it's a feature. How else can your Makefile.PL say > > use inc::Module::Install > > when there is no inc/ populated yet?
<me shocked=1 jaw="dropped"> What the huuh? Simple, have module authors distribute a inc/Module/Install.pm file orrr don't introduce a new namespace. BTW, why did you introduce a new namespace? </me>
[guest - Thu Dec 18 06:25:50 2003]: Show quoted text
> [autrijus@autrijus.org - Tue Dec 16 14:47:20 2003]:
> > It's not a bug it's a feature. How else can your Makefile.PL say > > use inc::Module::Install > > when there is no inc/ populated yet?
> > <me shocked=1 jaw="dropped"> > What the huuh? > > Simple, have module authors > distribute a inc/Module/Install.pm file
You mean, forcing the author into manually doing this: mkdir inc/ mkdir inc/Module/ cp `perldoc -l Module::Install` inc/Module/ No, this is not going to fly. The author must be able to just say: use inc::Module::Install; and have the inc::Module::Install in site_lib to populate everything inside ./inc/. Show quoted text
> orrr > don't introduce a new namespace. > BTW, why did you introduce a new namespace?
Before inc::Module::Install is invented, its predecessor is called CPAN::MakeMaker. It copies part of itself into ./CPAN/MakeMaker.pm and bootstrap in similar ways. The problem is, thanks to how ExtUtils::MakeMaker works, every distribution name that ends with "::CPAN", like those: Bundle::CPAN CPAN Bot::CPAN WAIT::Format::CPAN will inadvertantly also install ./CPAN/MakeMaker.pm as part of their "make install". That is clearly bad since it corrupts the copy of CPAN::MakeMaker the user does have. So, if I simply copy things into ./Module/Install.pm instead of ./inc/Module/Install.pm, then those modules will also run into the same trouble, if they decide to make use of Module::Install: Apache::Module Lib::Module Test::Without::Module Tools::Module So, my assumption is that nobody will upload a module that ends with "::inc", hence the name "inc" is chosen". Does this answer your questions? Thanks, /Autrijus/
Show quoted text
> > Does this answer your questions?
Yes, even though I still don't really understand philosophy behind it (bizzare), but that's ok, all that means is i'll never use this module (and i'll reccomend against it). oh well :(
Date: Fri, 19 Dec 2003 13:41:38 +0800
From: Autrijus Tang <autrijus [...] autrijus.org>
To: Guest via RT <bug-Module-Install [...] rt.cpan.org>
CC: "AdminCc of cpan Ticket #4682": ;
Subject: Re: [cpan #4682] inc/Module/Install.pm gets installed
RT-Send-Cc:
On Fri, Dec 19, 2003 at 12:33:36AM -0500, Guest via RT wrote: Show quoted text
> > Does this answer your questions?
> Yes, even though I still don't really understand > philosophy behind it (bizzare)
There is no real philosophy, except that we wish to tack on some code to be run with Makefile.PL, and we do not wish to force the user into installing those code beforehand (like Module::Build does). The inc/ namespace is chosen after much debate and discussion -- but I still welcome better suggestions. Show quoted text
> all that means is i'll never use this module > (and i'll reccomend against it). > oh well :(
Well, that's too bad. :-/ If you have an, uhm, more concrete suggestion as to how can I address your concerns, feel free to drop me a line. Thanks, /Autrijus/