delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/06/02/15:07:16

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.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
Message-ID: <60B7D65E.6040206@tlinx.org>
Date: Wed, 02 Jun 2021 12:05:02 -0700
From: L A Walsh <cygwin AT tlinx DOT org>
User-Agent: Thunderbird 2.0.0.24 (Windows/20100228)
MIME-Version: 1.0
To: ASSI <Stromeko AT nexgo DOT de>
Subject: Re: how to "re-enable" perl after 5.32 install; how to reinstall
all perl-mods?
References: <60B6F382 DOT 1080303 AT tlinx DOT org> <87wnrcg6m3 DOT fsf AT Otto DOT invalid>
In-Reply-To: <87wnrcg6m3.fsf@Otto.invalid>
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 AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Cc: cygwin AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

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




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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019