Re: cpan::reporter
[email protected] (Andy Armstrong) Sun, 17 Jun 2007 11:37:19 +0100
| Newsgroups | perl.cpan.discuss |
|---|---|
| Message-ID | <[email protected]> |
On 17 Jun 2007, at 10:20, kurtz le pirate wrote:
> a small problem : i have just installed cpan:reporter and running this
> command : 'force test CPAN:Reporter'
>
> at the end of execution i get this error :
>
> ...
> ...
> Files=21, Tests=777, 101 wallclock secs (63.77 cusr + 25.67 csys =
> 89.44
> CPU)
> cpan> force test CPAN:ReporterTest result is 'pass': All tests
> successful.
> Preparing a test report for CPAN-Reporter-0.43
> Couldn't read CPAN::Reporter configuration file
> '/private/var/root/.cpanreporter/config.ini': File
> '/private/var/root/.cpanreporter/config.ini' does not exist
>
> CPAN::Reporter requires an email-address in the config file.
> Test report will not be sent. See documentation for configuration
> details.
>
>
> config.ini is not in "/private/var/root/.cpanreporter/config.ini"
> but in
> my home directory. how to correct this ?
This is on a Mac right? Were you logged in as root when you installed
it? /private/var/root is root's home directory.
Ideally you should run CPAN as you rather than as root. Configure
cpan to use sudo to gain adequate privileges for make install or ./
Build install:
make_install_make_command [sudo make]
mbuild_install_build_command [sudo ./Build]
If you do that and reinstall CPAN::Reporter you should find that it
looks for its ini file in your home dir.
--
Andy Armstrong, hexten.net