public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* missing perl directories
@ 2021-01-21 16:09 Anthony Heading
  2021-01-21 16:22 ` Marco Atzeri
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Anthony Heading @ 2021-01-21 16:09 UTC (permalink / raw)
  To: cygwin

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?



^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2021-01-24 16:15 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-21 16:09 missing perl directories Anthony Heading
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

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).