From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from Ishtar.sc.tlinx.org (ishtar.tlinx.org [173.164.175.65]) by sourceware.org (Postfix) with ESMTPS id 7EB023982C0C for ; Wed, 2 Jun 2021 19:06:17 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 7EB023982C0C Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=tlinx.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=tlinx.org Received: from [192.168.3.12] (Athenae [192.168.3.12]) by Ishtar.sc.tlinx.org (8.14.7/8.14.4/SuSE Linux 0.8) with ESMTP id 152J5pc4081496; Wed, 2 Jun 2021 12:05:54 -0700 Message-ID: <60B7D65E.6040206@tlinx.org> Date: Wed, 02 Jun 2021 12:05:02 -0700 From: L A Walsh User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: ASSI CC: cygwin@cygwin.com Subject: Re: how to "re-enable" perl after 5.32 install; how to reinstall all perl-mods? References: <60B6F382.1080303@tlinx.org> <87wnrcg6m3.fsf@Otto.invalid> In-Reply-To: <87wnrcg6m3.fsf@Otto.invalid> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, SPF_HELO_NONE, SPF_PASS, 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@cygwin.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: , X-List-Received-Date: Wed, 02 Jun 2021 19:06:19 -0000 On 2021/06/01 22:47, ASSI wrote: > L A Walsh writes: > >> updated cygwin and it reinstalled a new version of perl, >> but when I try to run any perl progs nothing runs (see below). >> >> So I'd like to try to reinstall all the cygwin >> perl-mods that I have installed. >> > > You didn't say how you updated Cygwin, but if you used setup then it > already did exactly that. > ---- Why would it have reinstalled all of the modules it just installed? I need to _RE_-install (to make sure all of the existing modules correspond to what was downloaded by the 5.32 update. I have possible doubts as to their integrity. > >> How can I select "all" among the perl mods? and install? >> >> I can select for only the "installed" perl mods, but how can >> I tell it to reinstall all of them? >> > > I'm not sure I understand your question, but how would you re-install a > not installed module? > ---- I wanted to re-install all of the **installed** modules to verify integrity. > >> According to /etc/setup, there are about 202 modules that need >> to be reinstalled, but I don't see howto tell setup to re-install >> all the "installed" modules (so I can be sure they are all "refreshed". >> > > Again, they already should be. > --- Not necessarily iff I'm getting coredumps/missing modules from my existing perl programs. > >> Thanks >> >> (errors from 2 of my local perl progs, "pcalc" and "dedup") >> and trying cpan....which also doesn't work. :-( >> >> >> >> >>> pcalc >>> >> Segmentation fault (core dumped) >> > > Well, I'm afraid I can't help you with an error so non-specific. > --- Yeah... >> Signal SEGV at >> /usr/local/lib/perl5/site_perl/5.32/x86_64-cygwin-threads/Term/Size.pm >> line 14. >> > None of the stuff in /usr/local/ comes from Cygwin, that was all put > there by yourself. How about you move that away first? > > So your ExtUtils::MakeMaker installation seems incomplete, you need to > install the perl-ExtUtils-MakeMaker package at least. > > Yeah... > Yeah, I had a bunch of modules in the previous 5.30 tree from 'site' that didn't get remade and I didn't know perl 5.32 was going to cause so many problems that I couldn't run most of the stuff I had. On linux I had backups in the worst case and could restore a perl dir to capture all the modules I would need to recompile from cpan, but on windows, don't have a good backup program since MS removed MSbackup in Win7, so people couldn't backup binary programs (except via image restores). Grr. I think that the problem I have in Cygwin-setup is it is difficult to 'keep' an older binary install from something like perl as one has to go through and 'keep' every compat module that is installed for perl along the way every time you run setup. Cygwin really needs to use something like rpm for POSIX-compatible package management and only use setup for the cygwin-binaries that need to be installed outside of setup. Then cygwin could use all the package management utils from linux (RH, Suse, et al.) that would allow more flexible local package management. Rt. now have to figure out how to make POSIX::RT::Semaphore work in new perl...only emphasizing why perl is falling out of favor as a devel. env. *sigh*...