
Signature
___________________________________________
the embassy for talented young musicians
Podium International | Marek Stepanek | mstep@PodiumInternational.org
http://www.PodiumInternational.org
___________________________________________
___________________________________________________________
Inbox full of spam? Get leading spam protection and 1GB storage with All New Yahoo! Mail. http://uk.docs.yahoo.com/nowyoucan.html
> I am unable to help myself out of this problem. My module cpan is
> always
[quoted text clipped - 3 lines]
> gpg: WARNING: unsafe ownership on configuration file
> `/Users/mareklaptop/.gnupg/gpg.conf'
It means that the user running gpg (root) is not the same as the user
that owns the gpg.conf file (mareklaptop).
If verifying module signatures is your only use for GPG, you could
simply chown that file to make it owned by root.
A better option is to install and use the latest CPAN.pm module,
which allows you to supply an alternative to the final "make install"
command. You can configure it to use "sudo make" instead of just
"make" for that step, so that you no longer have to run the CPAN
shell itself with sudo. That, in turn, means that *only* the install
step will be run as root; the download, build, and test steps will be
run as your normal user login.
The second option is more work, but it reduces the amount of stuff
that's running as root - which is always a good idea.
sherm--
Cocoa programming in Perl: http://camelbones.sourceforge.net
Hire me! My resume: http://www.dot-app.org
Marek Stepanek - 13 Jun 2006 23:10 GMT
> It means that the user running gpg (root) is not the same as the user
> that owns the gpg.conf file (mareklaptop).
[quoted text clipped - 14 lines]
>
> sherm--
thank you Sherm,
this was it. It is late in Munich now, so I tried only the first solution:
% sudo chown root:staff .gnupg/gpg.conf
and
% sudo chown root:staff .gnupg/
cpan is working now :-) I will care tomorrow about the second solution ...
So long (until tomorrow evening) thank you again
marek
ps: but one thing is worrying me: I am unable now, to change back to the
folder .gnupg ...
[markslap:~] mareklap% sudo cd .gnupg/
sudo: cd: command not found
there is probably something fundamental, which I do not understand about
root in the shell ???
___________________________________________________________
The all-new Yahoo! Mail goes wherever you go - free your email address from your Internet provider. http://uk.docs.yahoo.com/nowyoucan.html
Sherm Pendley - 13 Jun 2006 23:10 GMT
> ps: but one thing is worrying me: I am unable now, to change back
> to the
[quoted text clipped - 6 lines]
> about
> root in the shell ???
The cd command is a built-in, so there's no external /usr/bin/cd app
for sudo to load and run as root. Hence the error "cd: command not
found".
sherm--
Cocoa programming in Perl: http://camelbones.sourceforge.net
Hire me! My resume: http://www.dot-app.org
Marek Stepanek - 14 Jun 2006 22:13 GMT
> A better option is to install and use the latest CPAN.pm module,
> which allows you to supply an alternative to the final "make install"
[quoted text clipped - 8 lines]
>
> sherm--
Which bundle exactly you suggest, that I install ? Sorry for this dump
question, but making
cpan> i /cpan/
issues 317 answers. Nothing with a pure cpan.pm ...
Probably you mean Bundle::CPAN or Bundle::CPANPLUS ? or something else ?
thank you for your patience
marek

Signature
___________________________________________
the embassy for talented young musicians
Podium International | Marek Stepanek | mstep@PodiumInternational.org
http://www.PodiumInternational.org
___________________________________________
___________________________________________________________
All New Yahoo! Mail ? Tired of Vi@gr@! come-ons? Let our SpamGuard protect you. http://uk.docs.yahoo.com/nowyoucan.html
Sherm Pendley - 14 Jun 2006 23:43 GMT
>> A better option is to install and use the latest CPAN.pm module,
>> which allows you to supply an alternative to the final "make install"
[quoted text clipped - 18 lines]
> Probably you mean Bundle::CPAN or Bundle::CPANPLUS ? or something
> else ?
When you use //s with i, CPAN uses a regex match. If you know the
exact name of the module you want, and simply want to check the
version, you can narrow the search by a *lot* with:
i CPAN
But you mentioned earlier that you're using Perl 5.8.8, right? That's
only a couple of months old, so you probably have a recent-enough
CPAN already. What do you get when you enter this:
o conf make_install_make_command
If you get "unknown configuration variable" you'll need to upgrade
CPAN. But if you get something like this:
make_install_make_command [make]
If you get something like that, then you can just assign that config
variable a new value. Start CPAN with sudo, and change the config
variable like this:
sudo perl -MCPAN -e shell
... in CPAN ...
o conf make_install_make_command "sudo make"
o conf commit
Then exit the CPAN shell. You'll need to fix up the .cpan directory
and its contents now - since you've been running the CPAN shell as
root, all of those files are owned by root. You can fix that with this:
sudo chown -R mareklaptop ~/.cpan
Now, you should be able to start CPAN without sudo:
perl -MCPAN -e shell
sherm--
Cocoa programming in Perl: http://camelbones.sourceforge.net
Hire me! My resume: http://www.dot-app.org