public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: "Anthony Heading" <ajrh@ajrh.net>
To: cygwin@cygwin.com
Subject: missing perl directories
Date: Thu, 21 Jan 2021 16:09:16 +0000	[thread overview]
Message-ID: <ce12be86-779e-41cc-af80-ba0ecb2b210a@www.fastmail.com> (raw)

Hi,

Whenever I have a new cygwin setup,  I get an error/warning when trying to install perl modules:

% cpan install Win32::Symlink
Loading internal logger. Log::Log4perl recommended for better logging
[...]
Use of uninitialized value $what in concatenation (.) or string at /usr/share/perl5/5.30/App/Cpan.pm line 679, <STDIN> line 1.
Warning: You do not have write permission for Perl library directories.

I think it is just because the site_perl directories do not exist.

% perl -V
Summary of my perl5 (revision 5 version 30 subversion 3) configuration:
[...]
  @INC:
    /usr/local/lib/perl5/site_perl/5.30/x86_64-cygwin-threads
    /usr/local/share/perl5/site_perl/5.30
    /usr/lib/perl5/vendor_perl/5.30/x86_64-cygwin-threads
    /usr/share/perl5/vendor_perl/5.30
    /usr/lib/perl5/5.30/x86_64-cygwin-threads
    /usr/share/perl5/5.30

ls: cannot access '/usr/local/lib/perl5/site_perl/5.30/x86_64-cygwin-threads': No such file or directory
ls: cannot access '/usr/local/share/perl5/site_perl/5.30': No such file or directory

If I simply create these empty directories the problem goes away.

Could the perl package just include these empty directories?



             reply	other threads:[~2021-01-21 16:09 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-21 16:09 Anthony Heading [this message]
2021-01-21 16:22 ` Marco Atzeri
2021-01-22  7:33 ` Brian Inglis
2021-01-22 16:15   ` Anthony Heading
2021-01-22 16:36     ` Marco Atzeri
2021-01-22 17:53       ` Anthony Heading
2021-01-22 19:43         ` Ken Brown
2021-01-22 20:29         ` Achim Gratz
2021-01-22 19:35 ` Achim Gratz
2021-01-22 21:05   ` Anthony Heading
2021-01-23 19:08     ` Achim Gratz
2021-01-24 16:14       ` Anthony Heading

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ce12be86-779e-41cc-af80-ba0ecb2b210a@www.fastmail.com \
    --to=ajrh@ajrh.net \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).