Skip Menu |
 

This queue is for tickets about the HTML-TagCloud CPAN distribution.

Report information
The Basics
Id: 92736
Status: open
Priority: 0/
Queue: HTML-TagCloud

People
Owner: Nobody in particular
Requestors: kchr [...] fripost.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: [PATCH] Makefile.PL: INSTALLDIRS should be set by user/env
Date: Wed, 5 Feb 2014 01:48:10 +0100
To: bug-HTML-TagCloud [...] rt.cpan.org
From: Kim Christensen <kchr [...] fripost.org>
Download (untitled) / with headers
text/plain 1.6k
Distribution: HTML-TagCloud-0.38 Perl: 5, version 14, subversion 2 (v5.14.2) System: Linux .2.0-4-amd64 #1 SMP Debian 3.2.51-1 x86_64 GNU/Linux Debian: testing (jessie) I have CPAN configured to build and install in a local environment; $CPAN::Config = { 'makepl_arg' => q[INSTALL_BASE=~/perl] } When building HTML-TagCloud-0.38 through CPAN, it fails with the following error message: Running Build install Building HTML-TagCloud !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ERROR: Can't create '/usr/local/man/man3' mkdir /usr/local/man/man3: Permission denied at /usr/share/perl/5.14/ExtUtils/Install.pm line 494 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! at /usr/share/perl/5.14/Module/Build/Base.pm line 3569 ROBERTSD/HTML-TagCloud-0.38.tar.gz ./Build install -- NOT OK It seems that although my CPAN environment is set to install in ~/perl, it tries to install in /usr/local. Building and installing other packages using the same environment succeeds without any errors. Checking the package makefile I see that it does set INSTALLDIRS. Makefile.PL: WriteMakefile ( ... 'INSTALLDIRS' => 'site', I suggest to remove this key from the makefile, leaving the environmental decisions up to the user and system. Simple patch attached. Regards, -- kchr |_|O|_| |_|_|O| Kim Christensen |O|O|O| http://technopragmatics.org --------------------------------------------------------------------- () ascii ribbon campain - against html e-mail /\ www.asciiribbon.org - against proprietary attachments

Message body is not shown because sender requested not to inline it.

Download signature.asc
application/pgp-signature 230b

Message body not shown because it is not plain text.

Subject: Re: [rt.cpan.org #92736] [PATCH] Makefile.PL: INSTALLDIRS should be set by user/env
Date: Wed, 5 Feb 2014 12:47:30 -0700
To: bug-HTML-TagCloud [...] rt.cpan.org
From: Dennis Roberts <dennis [...] iplantcollaborative.org>
Download (untitled) / with headers
text/plain 2.4k
This sounds good. Thanks, Kim. The source repo is here: https://github.com/dennisroberts71/HTML-TagCloud. Could you send me a pull request? Thanks, Dennis On Feb 4, 2014, at 5:49 PM, Kim Christensen via RT <bug-HTML-TagCloud@rt.cpan.org> wrote: Show quoted text
> Tue Feb 04 19:49:34 2014: Request 92736 was acted upon. > Transaction: Ticket created by kchr@fripost.org > Queue: HTML-TagCloud > Subject: [PATCH] Makefile.PL: INSTALLDIRS should be set by user/env > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: kchr@fripost.org > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=92736 > > > > Distribution: HTML-TagCloud-0.38 > Perl: 5, version 14, subversion 2 (v5.14.2) > System: Linux .2.0-4-amd64 #1 SMP Debian 3.2.51-1 x86_64 GNU/Linux > Debian: testing (jessie) > > I have CPAN configured to build and install in a local environment; > > $CPAN::Config = { > 'makepl_arg' => q[INSTALL_BASE=~/perl] > } > > > When building HTML-TagCloud-0.38 through CPAN, it fails with the > following error message: > > Running Build install > Building HTML-TagCloud > !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! > ERROR: Can't create '/usr/local/man/man3' > mkdir /usr/local/man/man3: Permission denied at > /usr/share/perl/5.14/ExtUtils/Install.pm line 494 > > !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! > at /usr/share/perl/5.14/Module/Build/Base.pm line 3569 > ROBERTSD/HTML-TagCloud-0.38.tar.gz > ./Build install -- NOT OK > > It seems that although my CPAN environment is set to install in > ~/perl, it tries to install in /usr/local. > > Building and installing other packages using the same environment > succeeds without any errors. > > Checking the package makefile I see that it does set INSTALLDIRS. > > Makefile.PL: > > WriteMakefile > ( > ... > 'INSTALLDIRS' => 'site', > > > I suggest to remove this key from the makefile, leaving the > environmental decisions up to the user and system. > > Simple patch attached. > > > Regards, > -- kchr > > |_|O|_| > |_|_|O| Kim Christensen > |O|O|O| http://technopragmatics.org > --------------------------------------------------------------------- > () ascii ribbon campain - against html e-mail > /\ www.asciiribbon.org - against proprietary attachments > > <HTML-TagCloud-0.38+no_installdirs.diff><signature.asc>
Subject: Re: [rt.cpan.org #92736] [PATCH] Makefile.PL: INSTALLDIRS should be set by user/env
Date: Wed, 12 Feb 2014 15:39:30 +0100
To: Dennis Roberts via RT <bug-HTML-TagCloud [...] rt.cpan.org>
From: Kim Christensen <kchr [...] fripost.org>
Download (untitled) / with headers
text/plain 633b
On Wed, Feb 05, 2014 at 02:47:43PM -0500, Dennis Roberts via RT wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=92736 > > > This sounds good. Thanks, Kim. The source repo is here: > https://github.com/dennisroberts71/HTML-TagCloud. Could you send me > a pull request?
Will do! First thing monday. Just went on vacation after sending you that patch :-) Take care, -- kchr |_|O|_| |_|_|O| Kim Christensen |O|O|O| http://technopragmatics.org --------------------------------------------------------------------- () ascii ribbon campain - against html e-mail /\ www.asciiribbon.org - against proprietary attachments
Download signature.asc
application/pgp-signature 230b

Message body not shown because it is not plain text.

Subject: Re: [rt.cpan.org #92736] [PATCH] Makefile.PL: INSTALLDIRS should be set by user/env
Date: Wed, 12 Feb 2014 09:46:42 -0700
To: bug-HTML-TagCloud [...] rt.cpan.org
From: Dennis Roberts <dennis [...] iplantcollaborative.org>
Download (untitled) / with headers
text/plain 913b
Excellent! Thanks, Kim. Dennis On Feb 12, 2014, at 7:40 AM, Kim Christensen via RT <bug-HTML-TagCloud@rt.cpan.org> wrote: Show quoted text
> Queue: HTML-TagCloud > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=92736 > > > On Wed, Feb 05, 2014 at 02:47:43PM -0500, Dennis Roberts via RT wrote:
>> <URL: https://rt.cpan.org/Ticket/Display.html?id=92736 > >> >> This sounds good. Thanks, Kim. The source repo is here: >> https://github.com/dennisroberts71/HTML-TagCloud. Could you send me >> a pull request?
> > Will do! First thing monday. Just went on vacation after sending you > that patch :-) > > Take care, > > -- kchr > > |_|O|_| > |_|_|O| Kim Christensen > |O|O|O| http://technopragmatics.org > --------------------------------------------------------------------- > () ascii ribbon campain - against html e-mail > /\ www.asciiribbon.org - against proprietary attachments > > <signature.asc>


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.