Skip Menu |

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

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

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

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



Subject: Implement Makefile.PL PREFIX
At the OSCON 2004 auction folks ponied up a few hundred dollars for Schwern to implement PREFIX for Module::Build. He'd better do it.
I'm going to call this issue "resolved". Anything else from here on is a bug fix. -Ken
[KWILLIAMS - Fri Jun 17 00:04:40 2005]: Show quoted text
> I'm going to call this issue "resolved". Anything else from here on > is a bug fix.
Then i guess this is a bug -- the PREFIX argument is now accepted, but totally ignored: [kane@myriad ~...build/PathTools-3.09]$ perlc Build.PL PREFIX=/tmp Creating custom builder _build/lib/MyModuleBuilder.pm in _build/lib Checking whether your kit is complete... Looks good Creating new 'Build' script for 'PathTools' version '3.09' [kane@myriad ~...build/PathTools-3.09]$ ./Build install ppport.h -> lib/ppport.h Cwd.xs -> lib/Cwd.xs lib/Cwd.xs -> lib/Cwd.c cc -I/opt/lib/perl5/5.8.3/darwin-2level/CORE -c -pipe -fno-common -DPERL_DARWIN -no- cpp-precomp -fno-strict-aliasing -Os -o lib/Cwd.o lib/Cwd.c ExtUtils::Mkbootstrap::Mkbootstrap('lib/Cwd') env MACOSX_DEPLOYMENT_TARGET=10.3 cc -bundle -undefined dynamic_lookup -o blib/ arch/auto/Cwd/Cwd.bundle lib/Cwd.o Manifying blib/lib/File/Spec/VMS.pm -> blib/libdoc/File::Spec::VMS.3 Manifying blib/lib/File/Spec/Win32.pm -> blib/libdoc/File::Spec::Win32.3 Manifying blib/lib/Cwd.pm -> blib/libdoc/Cwd.3 Manifying blib/lib/File/Spec/Functions.pm -> blib/libdoc/File::Spec::Functions.3 Manifying blib/lib/File/Spec/Unix.pm -> blib/libdoc/File::Spec::Unix.3 Manifying blib/lib/File/Spec/Epoc.pm -> blib/libdoc/File::Spec::Epoc.3 Manifying blib/lib/File/Spec.pm -> blib/libdoc/File::Spec.3 Manifying blib/lib/File/Spec/Mac.pm -> blib/libdoc/File::Spec::Mac.3 Manifying blib/lib/File/Spec/Cygwin.pm -> blib/libdoc/File::Spec::Cygwin.3 Manifying blib/lib/File/Spec/OS2.pm -> blib/libdoc/File::Spec::OS2.3 Warning: You do not have permissions to install into /opt/lib/perl5/5.8.3/darwin-2level at / opt/lib/perl5/5.8.3/ExtUtils/Install.pm line 114. Skipping /opt/lib/perl5/5.8.3/darwin-2level/auto/Cwd/Cwd.bs (unchanged) Cannot forceunlink /opt/lib/perl5/5.8.3/darwin-2level/auto/Cwd/Cwd.bundle: Permission denied at /opt/lib/perl5/5.8.3/File/Find.pm line 897
[KANE - Sat Jun 18 09:49:02 2005]: Show quoted text
> [KWILLIAMS - Fri Jun 17 00:04:40 2005]: >
> > I'm going to call this issue "resolved". Anything else from here on > > is a bug fix.
> > Then i guess this is a bug -- the PREFIX argument is now accepted, but > totally ignored: > > [kane@myriad ~...build/PathTools-3.09]$ perlc Build.PL PREFIX=/tmp
a) You're calling it incorrectly, it's either "perl Makefile.PL PREFIX=..." or "perl Build.PL -- prefix ...", as documented. b) --prefix was added in the M::B CVS 0.27_xx sources, so unless you're testing that, it's not going to work. It'll be released this weekend. -Ken