missing perl directories
Anthony Heading
ajrh@ajrh.net
Thu Jan 21 16:09:16 GMT 2021
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?
More information about the Cygwin
mailing list