Re: [Module::Build] Data::FormValidator + Module::Build : local prefix install fails under linux
Status: Beta
Brought to you by:
kwilliams
|
From: Terrence B. <met...@ur...> - 2003-11-20 16:17:47
|
Randy W. Sims wrote: > On 11/17/2003 8:12 PM, Terrence Brannon wrote: > >> princepawn@perlmonk ~/.cpan/build/Data-FormValidator-3.14 : perl >> Makefile.PL PR\ >> EFIX=$PREFIX >> /usr/bin/perl Build.PL config=prefix=/home/princepawn/install >> Deleting _build >> Creating custom builder _build/lib/Data/FormValidator/Builder.pm in >> _build/lib/\ >> Data/FormValidator >> Checking whether your kit is complete... >> Looks good >> Deleting Build >> Removed previous script 'Build' >> Creating new 'Build' script for 'Data-FormValidator' version '3.14' >> princepawn@perlmonk ~/.cpan/build/Data-FormValidator-3.14 : echo $PREFIX >> /home/princepawn/install >> princepawn@perlmonk ~/.cpan/build/Data-FormValidator-3.14 : make install >> /usr/bin/perl Build install >> Warning: You do not have permissions to install into >> /usr/local/share/perl/5.8.\ >> 0 at /usr/share/perl/5.8.0/ExtUtils/Install.pm line 114. >> mkdir /usr/local/share/perl/5.8.0/Data: Permission denied at >> /usr/share/perl/5.\ >> 8.0/ExtUtils/Install.pm line 176 >> make: *** [install] Error 255 >> princepawn@perlmonk ~/.cpan/build/Data-FormValidator-3.14 : uname -a >> Linux perlmonk.org 2.4.18 #12 Fri Sep 13 17:49:41 EDT 2002 i686 >> GNU/Linux >> princepawn@perlmonk ~/.cpan/build/Data-FormValidator-3.14 : >> > > Is this a M::B issue or a security issue? M::B issue --- > I'm not that familiar with M::B's install code, so I honestly don't > know what should happen here. I install software as root when on *nix > so there is no problem. What does MakeMaker do? when you type perl Makefile.PL PREFIX=$PREFIX, you can install wherever $PREFIX is set to, as long as you have write permissions. I have done so with MakeMaker-style makefiles plenty of times on this Linux machine. But no dice with M::B. > Can you install as root? no, this is at www.perlmonk.org --- the perlmonks user site. > Hopefully Ken will be back soon... ;) > > Randy. > |