X-Recipient: archive-cygwin AT delorie DOT com X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 66404385801D Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=SystematicSw.ab.ca Authentication-Results: sourceware.org; spf=none smtp.mailfrom=brian DOT inglis AT systematicsw DOT ab DOT ca X-Authority-Analysis: v=2.4 cv=Yq/K+6UX c=1 sm=1 tr=0 ts=600a7fda a=kiZT5GMN3KAWqtYcXc+/4Q==:117 a=kiZT5GMN3KAWqtYcXc+/4Q==:17 a=IkcTkHD0fZMA:10 a=94nOnFI1EgyDtX4ev68A:9 a=QEXdDO2ut3YA:10 To: cygwin AT cygwin DOT com References: From: Brian Inglis Organization: Systematic Software Subject: Re: missing perl directories Message-ID: Date: Fri, 22 Jan 2021 00:33:45 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.6.1 MIME-Version: 1.0 In-Reply-To: Content-Language: en-CA X-CMAE-Envelope: MS4xfItyl+ZdCfmqe4BKOrC/LpRE59OGSWyFoaffBREpIjID1J4taQVGFRzryfnUP9bOBITs7AgqaJ8QGitC/Tp5iIb3+vnQ0EyamySd/slR4z046IX5Yqym XuauhOGWCPVFjatz89aXDu6SWVAnK83PmRqLTbeZYA5wJi8FpVoH6oZCbrSO/ZUIvI92z2bmEOsrB5wmlBBl7oFdjJ75wWRYuYA= X-Spam-Status: No, score=-5.7 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, NICE_REPLY_A, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: cygwin AT cygwin DOT com Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: cygwin-bounces AT cygwin DOT com Sender: "Cygwin" On 2021-01-21 09:09, Anthony Heading wrote: > 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, 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? I don't knowingly use perl packages but I have those directories: $ perl -V | tail -6 | xargs ls -d /usr/lib/perl5/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/5.30 /usr/local/lib/perl5/site_perl/5.30/x86_64-cygwin-threads /usr/share/perl5/vendor_perl/5.30 either something has not completed correctly, or something is missing in recent installations. -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada This email may be disturbing to some readers as it contains too much technical detail. Reader discretion is advised. [Data in binary units and prefixes, physical quantities in SI.] -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple