B
bbbilly
Hello. I have been trying to install some modules, but I can't because
I can't get cpanplus and Module::Build to work together.
I am using cpanplus and I do not have root on this (linux) machine.
I start the cpanplus shell (cpanp), and type 'i iCal:arser::HTML' to
install that module. cpanplus then says "This module requires
Module::Build to install itself. Install Module::Build now from CPAN?
[y]" I say yes.
cpanplus then tries to install Module-Build-0.2611 but fails, saying
"Sorry, PREFIX is not supported. See the Module::Build documentation
for 'destdir' or 'install_base' instead.".
I checked the cpan configuration by typing "s conf". It has a parameter
called buildflags set to 'install_base=/home/billy/data/perl' ; it also
has makemakerflags set so that LIB and PREFIX are set to the same
thing. but somehow, Module::Build doesn't seem to be getting this
information. I add an 'install_base' parameter pointing to the right
place within the makemakerflags, but that doesn't help.
So I exit cpanplus and install Module::Build manually. It goes into the
/home/billy/data/perl/lib/ directory.
I restart cpanplus and try again. It has the directory
/home/billy/data/perl/lib/ in its 'lib' parameter (according to s conf)
but it doesn't know that Module::Build is installed, asking me again if
I want to install it. Then it still can't install it, of course.
Can someone please help me? I need to be able to use cpanplus to
install modules because they have so many dependencies. But if it can't
use Module::Build, there are a bunch of modules that I just can never
get installed.
Please help me! Does anyone know how to do this?
I can't get cpanplus and Module::Build to work together.
I am using cpanplus and I do not have root on this (linux) machine.
I start the cpanplus shell (cpanp), and type 'i iCal:arser::HTML' to
install that module. cpanplus then says "This module requires
Module::Build to install itself. Install Module::Build now from CPAN?
[y]" I say yes.
cpanplus then tries to install Module-Build-0.2611 but fails, saying
"Sorry, PREFIX is not supported. See the Module::Build documentation
for 'destdir' or 'install_base' instead.".
I checked the cpan configuration by typing "s conf". It has a parameter
called buildflags set to 'install_base=/home/billy/data/perl' ; it also
has makemakerflags set so that LIB and PREFIX are set to the same
thing. but somehow, Module::Build doesn't seem to be getting this
information. I add an 'install_base' parameter pointing to the right
place within the makemakerflags, but that doesn't help.
So I exit cpanplus and install Module::Build manually. It goes into the
/home/billy/data/perl/lib/ directory.
I restart cpanplus and try again. It has the directory
/home/billy/data/perl/lib/ in its 'lib' parameter (according to s conf)
but it doesn't know that Module::Build is installed, asking me again if
I want to install it. Then it still can't install it, of course.
Can someone please help me? I need to be able to use cpanplus to
install modules because they have so many dependencies. But if it can't
use Module::Build, there are a bunch of modules that I just can never
get installed.
Please help me! Does anyone know how to do this?