Hello!
I'm trying to install the module Task::Catalyst (which is a bundle)
using g-cpan. It seems this module wants to use CPANPLUS. I get the
following error with g-cpan:
ACCESS DENIED mkdir: /root/.cpanplus
*** You are not allowed to write to the directory '/root/.cpanplus';
the installation may fail due to insufficient permissions.
The complete report of the error is at the bottom of this message.
I am root, so I should have the correct permissions. Morevoer, if I
install this way:
cpan -i Task::Catalyst
that is, directly with CPAN, everything works correctly and the
.cpanplus directory gets created with no problem.
Any idea?
Thanks, Michele.
FULL REPORT:
============
kub3 /u/lavori # g-cpan -i Task::Catalyst
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
Database was generated on Thu, 29 Dec 2005 21:12:25 GMT
* g-cpan: Existing ebuild found for perl-gcpan/Task-Catalyst
Calculating dependencies ...done!
Generating digest file...
<<< Task-Catalyst-1.30.tar.gz
Generating manifest file...
<<< Task-Catalyst-1.30.ebuild
<<< files/digest-Task-Catalyst-1.30
Computed message digests.
emerge (1 of 1) perl-gcpan/Task-Catalyst-1.30 to /
md5 files ;-) Task-Catalyst-1.30.ebuild
md5 files ;-) files/digest-Task-Catalyst-1.30
md5 src_uri ;-) Task-Catalyst-1.30.tar.gz
Unpacking source...
Unpacking Task-Catalyst-1.30.tar.gz to
/var/tmp/portage/Task-Catalyst-1.30/work
Source unpacked.
* Using ExtUtils::MakeMaker
*** ExtUtils::AutoInstall version 0.63
*** Checking for dependencies...
[Core Features]
- Catalyst ...loaded. (5.61 >= 5.58)
[FormValidator Support]
- Catalyst::Plugin::FormValidator ...loaded. (0.02)
[FormValidator::Simple Support]
- Catalyst::Plugin::FormValidator::Simple ...loaded. (0.07)
[FillInForm Support]
- Catalyst::Plugin::FillInForm ...loaded. (0.06)
[Prototype Support]
- Catalyst::Plugin::Prototype ...loaded. (1.32)
[Singleton Support]
- Catalyst::Plugin::Singleton ...loaded. (0.02)
[DefaultEnd Support]
- Catalyst::Plugin::DefaultEnd ...loaded. (0.03)
[SubRequest Support]
- Catalyst::Plugin::SubRequest ...loaded. (0.10)
[Session Support]
- Catalyst::Plugin::Session ...loaded. (0.02)
- Catalyst::Plugin::Session::Store::File ...loaded. (0.05)
- Catalyst::Plugin::Session::State::Cookie ...loaded. (0.01)
- Catalyst::Plugin::Session::State::URI ...loaded. (0.01)
[I18N Support]
- Catalyst::Plugin::I18N ...loaded. (0.04)
[XMLRPC Support]
- Catalyst::Plugin::XMLRPC ...missing.
==> Auto-install the 1 optional module(s) from CPAN? [y] y
[Pluggable Application Support]
- Catalyst::Plugin::Pluggable ...loaded. (0.04)
[DBIx::Class Support]
- Catalyst::Model::DBIC ...missing.
- Catalyst::Model::DBIC::Plain ...missing.
==> Auto-install the 2 optional module(s) from CPAN? [y] y
[Template::Toolkit Support]
- Catalyst::View::TT ...loaded. (0.12)
[Test::WWW::Mechanize Support]
- Test::WWW::Mechanize::Catalyst ...missing.
==> Auto-install the 1 optional module(s) from CPAN? [y] y
[SQLite Support]
- DBD::SQLite ...loaded. (1.11)
[YAML Support]
- YAML ...loaded. (0.39)
*** Dependencies will be installed the next time you type 'make'.
*** ExtUtils::AutoInstall configuration finished.
Checking if your kit is complete...
Looks good
Writing Makefile for Task::Catalyst
/usr/bin/perl5.8.6 -Iinc Makefile.PL --config=
--installdeps=Catalyst::Plugin::XMLRPC,0,Catalyst::Model::DBIC,0,Catalyst::Model::DBIC::Plain,0,Test::WWW::Mechanize::Catalyst,0
*** Installing dependencies...
ACCESS DENIED mkdir: /root/.cpanplus
*** You are not allowed to write to the directory '/root/.cpanplus';
the installation may fail due to insufficient permissions.
==> Should we try to install the required module(s) anyway? [n] n
*** ExtUtils::AutoInstall installation finished.
cp Catalyst.pm blib/lib/Task/Catalyst.pm
--------------------------- ACCESS VIOLATION SUMMARY
---------------------------
LOG FILE =
"/var/log/sandbox/sandbox-perl-gcpan_-_Task-Catalyst-1.30-27528.log"
mkdir: /root/.cpanplus
--------------------------------------------------------------------------------
--
gentoo-perl@xxxxxxxxxx mailing list
|