This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: CPAN module in Cygwin
- From: Reini Urban <rurban at x-ray dot at>
- To: Elvin Peterson <elvin_peterson at yahoo dot com>
- Cc: cygwin at cygwin dot com
- Date: Sun, 31 Oct 2004 08:50:35 +0100
- Subject: Re: CPAN module in Cygwin
- References: <20041030201408.5926.qmail@web52203.mail.yahoo.com>
Elvin Peterson schrieb:
Hello,
The CPAN command:
perl -MCPAN -e shell
fails with:
Cannot open >/usr/lib/perl5/5.8.5/CPAN/Config.pm at
/usr/lib/perl5/5.8.5/CPAN.pm line 1219
It looks like it is trying to write to a file owned by
Administrator. Is there a workaround to install
modules as a user?
root ownersip is okay. but it must be readable.
user-specific CPAN configs are stored in ~/.cpan/CPAN/MyConfig.pm
chmod +r /usr/lib/perl5/5.8.5/CPAN/Config.pm
chmod -R +rw /usr/lib/perl5/site_perl/5.8.5
chmod -R +rw ~/.cpan
--
Reini Urban
http://xarch.tu-graz.ac.at/home/rurban/
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/