monkfan has asked for the wisdom of the Perl Monks concerning the following question:

Hi,
I am having an installation problem with Module::Build. I tried to install it in my home directory with CPAN shell. The message I got is this:
CPAN.pm: Going to build K/KW/KWILLIAMS/Module-Build-0.2611.tar.gz Sorry, PREFIX is not supported. See the Module::Build documentation for 'destdir' or 'install_base' instead. Running make test Make had some problems, maybe interrupted? Won't test Running make install Make had some problems, maybe interrupted? Won't install
I never have this kind of problem before when installing modules with CPAN shell in my home dir.
Is there a way I can install it successfuly?

Regards,
Edward

Replies are listed 'Best First'.
Re: Problem Installing Module::Build with CPAN shell
by PodMaster (Abbot) on Dec 23, 2005 at 07:15 UTC
      MB 0.27_02 and higher now support PREFIX - I wrote the initial patch (that Ken, Randy, and Schwern took and made correct). You still get 0.2610 from CPAN's "install Module::Build" because 0.27_02 and 0.27_03 are considered "developer releases" and won't be installed by CPAN unless you specifically ask for it.

      My criteria for good software:
      1. Does it work?
      2. Can someone else come in, make a change, and be reasonably certain no bugs were introduced?
Re: Problem Installing Module::Build with CPAN shell
by cosmicperl (Chaplain) on Dec 23, 2005 at 02:01 UTC
    Do you have the latest version of the CPAN module?