Gentoo Archives: gentoo-perl

From: Michele Beltrame <admin@×××××××××.info>
To: gentoo-perl@l.g.o
Subject: [gentoo-perl] Problem with g-cpan and Task::Catalyst
Date: Fri, 30 Dec 2005 12:12:46
Message-Id: 43B52434.60409@talkblade.info
1 Hello!
2
3 I'm trying to install the module Task::Catalyst (which is a bundle)
4 using g-cpan. It seems this module wants to use CPANPLUS. I get the
5 following error with g-cpan:
6
7 ACCESS DENIED mkdir: /root/.cpanplus
8 *** You are not allowed to write to the directory '/root/.cpanplus';
9 the installation may fail due to insufficient permissions.
10
11 The complete report of the error is at the bottom of this message.
12 I am root, so I should have the correct permissions. Morevoer, if I
13 install this way:
14
15 cpan -i Task::Catalyst
16
17 that is, directly with CPAN, everything works correctly and the
18 .cpanplus directory gets created with no problem.
19
20 Any idea?
21
22 Thanks, Michele.
23
24 FULL REPORT:
25 ============
26 kub3 /u/lavori # g-cpan -i Task::Catalyst
27 CPAN: Storable loaded ok
28 Going to read /root/.cpan/Metadata
29 Database was generated on Thu, 29 Dec 2005 21:12:25 GMT
30 * g-cpan: Existing ebuild found for perl-gcpan/Task-Catalyst
31
32 Calculating dependencies ...done!
33 >>> Generating digest file...
34 <<< Task-Catalyst-1.30.tar.gz
35 >>> Generating manifest file...
36 <<< Task-Catalyst-1.30.ebuild
37 <<< files/digest-Task-Catalyst-1.30
38 >>> Computed message digests.
39
40 >>> emerge (1 of 1) perl-gcpan/Task-Catalyst-1.30 to /
41 >>> md5 files ;-) Task-Catalyst-1.30.ebuild
42 >>> md5 files ;-) files/digest-Task-Catalyst-1.30
43 >>> md5 src_uri ;-) Task-Catalyst-1.30.tar.gz
44 >>> Unpacking source...
45 >>> Unpacking Task-Catalyst-1.30.tar.gz to
46 /var/tmp/portage/Task-Catalyst-1.30/work
47 >>> Source unpacked.
48 * Using ExtUtils::MakeMaker
49 *** ExtUtils::AutoInstall version 0.63
50 *** Checking for dependencies...
51 [Core Features]
52 - Catalyst ...loaded. (5.61 >= 5.58)
53 [FormValidator Support]
54 - Catalyst::Plugin::FormValidator ...loaded. (0.02)
55 [FormValidator::Simple Support]
56 - Catalyst::Plugin::FormValidator::Simple ...loaded. (0.07)
57 [FillInForm Support]
58 - Catalyst::Plugin::FillInForm ...loaded. (0.06)
59 [Prototype Support]
60 - Catalyst::Plugin::Prototype ...loaded. (1.32)
61 [Singleton Support]
62 - Catalyst::Plugin::Singleton ...loaded. (0.02)
63 [DefaultEnd Support]
64 - Catalyst::Plugin::DefaultEnd ...loaded. (0.03)
65 [SubRequest Support]
66 - Catalyst::Plugin::SubRequest ...loaded. (0.10)
67 [Session Support]
68 - Catalyst::Plugin::Session ...loaded. (0.02)
69 - Catalyst::Plugin::Session::Store::File ...loaded. (0.05)
70 - Catalyst::Plugin::Session::State::Cookie ...loaded. (0.01)
71 - Catalyst::Plugin::Session::State::URI ...loaded. (0.01)
72 [I18N Support]
73 - Catalyst::Plugin::I18N ...loaded. (0.04)
74 [XMLRPC Support]
75 - Catalyst::Plugin::XMLRPC ...missing.
76 ==> Auto-install the 1 optional module(s) from CPAN? [y] y
77 [Pluggable Application Support]
78 - Catalyst::Plugin::Pluggable ...loaded. (0.04)
79 [DBIx::Class Support]
80 - Catalyst::Model::DBIC ...missing.
81 - Catalyst::Model::DBIC::Plain ...missing.
82 ==> Auto-install the 2 optional module(s) from CPAN? [y] y
83 [Template::Toolkit Support]
84 - Catalyst::View::TT ...loaded. (0.12)
85 [Test::WWW::Mechanize Support]
86 - Test::WWW::Mechanize::Catalyst ...missing.
87 ==> Auto-install the 1 optional module(s) from CPAN? [y] y
88 [SQLite Support]
89 - DBD::SQLite ...loaded. (1.11)
90 [YAML Support]
91 - YAML ...loaded. (0.39)
92 *** Dependencies will be installed the next time you type 'make'.
93 *** ExtUtils::AutoInstall configuration finished.
94 Checking if your kit is complete...
95 Looks good
96 Writing Makefile for Task::Catalyst
97 /usr/bin/perl5.8.6 -Iinc Makefile.PL --config=
98 --installdeps=Catalyst::Plugin::XMLRPC,0,Catalyst::Model::DBIC,0,Catalyst::Model::DBIC::Plain,0,Test::WWW::Mechanize::Catalyst,0
99 *** Installing dependencies...
100 ACCESS DENIED mkdir: /root/.cpanplus
101 *** You are not allowed to write to the directory '/root/.cpanplus';
102 the installation may fail due to insufficient permissions.
103
104 ==> Should we try to install the required module(s) anyway? [n] n
105 *** ExtUtils::AutoInstall installation finished.
106 cp Catalyst.pm blib/lib/Task/Catalyst.pm
107 --------------------------- ACCESS VIOLATION SUMMARY
108 ---------------------------
109 LOG FILE =
110 "/var/log/sandbox/sandbox-perl-gcpan_-_Task-Catalyst-1.30-27528.log"
111
112 mkdir: /root/.cpanplus
113 --------------------------------------------------------------------------------
114 --
115 gentoo-perl@g.o mailing list

Replies

Subject Author
Re: [gentoo-perl] Problem with g-cpan and Task::Catalyst Michael Cummings <mcummings@g.o>
Re: [gentoo-perl] Problem with g-cpan and Task::Catalyst Michael Cummings <mcummings@g.o>