* [gentoo-perl] Problem with g-cpan and Task::Catalyst
@ 2005-12-30 12:12 Michele Beltrame
2005-12-30 12:43 ` Michael Cummings
0 siblings, 1 reply; 7+ messages in thread
From: Michele Beltrame @ 2005-12-30 12:12 UTC (permalink / raw
To: gentoo-perl
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@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-perl] Problem with g-cpan and Task::Catalyst
2005-12-30 12:12 [gentoo-perl] Problem with g-cpan and Task::Catalyst Michele Beltrame
@ 2005-12-30 12:43 ` Michael Cummings
2005-12-30 12:43 ` Michael Cummings
` (3 more replies)
0 siblings, 4 replies; 7+ messages in thread
From: Michael Cummings @ 2005-12-30 12:43 UTC (permalink / raw
To: gentoo-perl; +Cc: gentoo-perl
[-- Attachment #1: Type: text/plain, Size: 1590 bytes --]
On Fri, 2005-12-30 at 13:12 +0100, Michele Beltrame wrote:
> 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.
ideas: plenty; solutions: none atm. We get into a hairy area where
cpanplus is getting pulled in by one of the deps, probably via an
autopackage, and it has generated a bad config file for you (since it
wasn't installed interactively) which among other problems, points to
portage_tmp and /root/ for certain things. the quickest solution would
be to fire up cpanplus and reconfigure it (should have similar options
to cpan interactive in this regard) so that everything is pointing right
again, worst case hand munging the config file that got plopped into
vendor. I had thought about generating a good (patched) ebuild for
cpanplus, but time has been a bit short of late. i'm curious whether you
tried the bundle for catalyst or not - my last attempt at the everything
bundle was bullox since the bundle was missing a bundle file (silly
catalyst devs). I realize this isn't a clean solution, but it would at
least get you over the hump (hopefully).
~mcummings
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-perl] Problem with g-cpan and Task::Catalyst
2005-12-30 12:43 ` Michael Cummings
@ 2005-12-30 12:43 ` Michael Cummings
2005-12-30 13:31 ` Michele Beltrame
` (2 subsequent siblings)
3 siblings, 0 replies; 7+ messages in thread
From: Michael Cummings @ 2005-12-30 12:43 UTC (permalink / raw
To: gentoo-perl; +Cc: gentoo-perl
[-- Attachment #1: Type: text/plain, Size: 1590 bytes --]
On Fri, 2005-12-30 at 13:12 +0100, Michele Beltrame wrote:
> 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.
ideas: plenty; solutions: none atm. We get into a hairy area where
cpanplus is getting pulled in by one of the deps, probably via an
autopackage, and it has generated a bad config file for you (since it
wasn't installed interactively) which among other problems, points to
portage_tmp and /root/ for certain things. the quickest solution would
be to fire up cpanplus and reconfigure it (should have similar options
to cpan interactive in this regard) so that everything is pointing right
again, worst case hand munging the config file that got plopped into
vendor. I had thought about generating a good (patched) ebuild for
cpanplus, but time has been a bit short of late. i'm curious whether you
tried the bundle for catalyst or not - my last attempt at the everything
bundle was bullox since the bundle was missing a bundle file (silly
catalyst devs). I realize this isn't a clean solution, but it would at
least get you over the hump (hopefully).
~mcummings
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-perl] Problem with g-cpan and Task::Catalyst
2005-12-30 12:43 ` Michael Cummings
2005-12-30 12:43 ` Michael Cummings
@ 2005-12-30 13:31 ` Michele Beltrame
2005-12-30 18:25 ` Daniel Westermann-Clark
2005-12-31 17:03 ` Michele Beltrame
3 siblings, 0 replies; 7+ messages in thread
From: Michele Beltrame @ 2005-12-30 13:31 UTC (permalink / raw
To: gentoo-perl
Hello!
I'll try to reconfigure CPANPLUS this afternoon and see how it goes.
As far as the Bundle::Catalyst package, I'm not using it anymore as it
seems to have been sort of deprecated in favour of Task::Catalyst, which
install many more modules and avoids some of the ones - such as
Catalyst::Session::Fastmmap - which are now less used into Catalyst
applications.
Michele.
--
Michele Beltrame
http://www.massainforme.it/mb/
ICQ# 76660101
--
gentoo-perl@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-perl] Problem with g-cpan and Task::Catalyst
2005-12-30 12:43 ` Michael Cummings
2005-12-30 12:43 ` Michael Cummings
2005-12-30 13:31 ` Michele Beltrame
@ 2005-12-30 18:25 ` Daniel Westermann-Clark
2006-01-01 13:33 ` Michele Beltrame
2005-12-31 17:03 ` Michele Beltrame
3 siblings, 1 reply; 7+ messages in thread
From: Daniel Westermann-Clark @ 2005-12-30 18:25 UTC (permalink / raw
To: gentoo-perl
On 2005-12-30 07:43:41 -0500, Michael Cummings wrote:
> ideas: plenty; solutions: none atm. We get into a hairy area where
> cpanplus is getting pulled in by one of the deps, probably via an
> autopackage
As suggested by audreyt on the Catalyst mailing list [1], you can set
the PERL_EXTUTILS_AUTOINSTALL environment variable to "--skipdeps" to
avoid the automatic "y" answers.
On a related note, I have many Catalyst-related ebuilds available in
my overlay [2] via anonymous SVN. One major area I'm missing is the
authentication and authorization plugins.
[1] http://lists.rawmode.org/pipermail/catalyst/2005-December/003879.html
[2] http://svn.westermann-clark.com/overlay/
--
Daniel Westermann-Clark
--
gentoo-perl@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-perl] Problem with g-cpan and Task::Catalyst
2005-12-30 18:25 ` Daniel Westermann-Clark
@ 2006-01-01 13:33 ` Michele Beltrame
0 siblings, 0 replies; 7+ messages in thread
From: Michele Beltrame @ 2006-01-01 13:33 UTC (permalink / raw
To: gentoo-perl
Hello Daniel!
Thank you for posting the link to your very comprehensive list of
Catalyst-related ebuils. Besides having all this in portage, I think it
would be quite interesting (and may help the success of catalyst) to
have a "catalystframework" (or other name) ebuild - in portage - which
automatically pulls in everything that Task::Catalyst does. This would
probably make quite easy to "install&go" under Gentoo.
On a non-related note, happy New Year!
Michele.
--
Michele Beltrame
http://www.massainforme.it/mb/
ICQ# 76660101
--
gentoo-perl@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-perl] Problem with g-cpan and Task::Catalyst
2005-12-30 12:43 ` Michael Cummings
` (2 preceding siblings ...)
2005-12-30 18:25 ` Daniel Westermann-Clark
@ 2005-12-31 17:03 ` Michele Beltrame
3 siblings, 0 replies; 7+ messages in thread
From: Michele Beltrame @ 2005-12-31 17:03 UTC (permalink / raw
To: gentoo-perl
Hello!
> portage_tmp and /root/ for certain things. the quickest solution would
> be to fire up cpanplus and reconfigure it (should have similar options
> to cpan interactive in this regard) so that everything is pointing right
> again, worst case hand munging the config file that got plopped into
> vendor.
I reconfigured CPANPLUS by hand, but the situation seems not to improve.
Well actually CPANPLUS works very well if used stand-alone, i.e.:
cpanp -i Task::Catalyst
but I get the usual permission denied messages when using g-cpan.
What I did (for now) was to install the separate modules which
Task::Catalyst depends on using g-cpan. Everything worked, even though
it was a bit more work.
Michele.
--
Michele Beltrame
http://www.massainforme.it/mb/
ICQ# 76660101
--
gentoo-perl@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2006-01-01 13:33 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-30 12:12 [gentoo-perl] Problem with g-cpan and Task::Catalyst Michele Beltrame
2005-12-30 12:43 ` Michael Cummings
2005-12-30 12:43 ` Michael Cummings
2005-12-30 13:31 ` Michele Beltrame
2005-12-30 18:25 ` Daniel Westermann-Clark
2006-01-01 13:33 ` Michele Beltrame
2005-12-31 17:03 ` Michele Beltrame
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox