X-Recipient: archive-cygwin@delorie.com
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org C1A023857012
Authentication-Results: sourceware.org;
 dmarc=none (p=none dis=none) header.from=nexgo.de
Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=nexgo.de
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nexgo.de;
 s=vfde-smtpout-mb-15sep; t=1622612872;
 bh=tLjwvXV1kCHQUBRYHqpMKunDBMTI1nyjyLFbgBzW5Qc=;
 h=From:To:Subject:References:Date:In-Reply-To;
 b=cRhkptexOtZ1588BU9JT7BBsRfeL1y5/tHZF3ryuCCQhzBcpNUHr50ODmOOuOPTOg
 28j9dZjTUnbaHHaHn1MKB70ruFztjbhytIqviPZl35HNYBZhDkvRfdVzwxshvgoySR
 1jnqZN/+yPhe4MCzByKdlyPEXA4Jh4Vu2JbNeFjc=
From: ASSI <Stromeko@nexgo.de>
To: 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>
Date: Wed, 02 Jun 2021 07:47:48 +0200
In-Reply-To: <60B6F382.1080303@tlinx.org> (L. A. Walsh's message of "Tue, 01
 Jun 2021 19:57:06 -0700")
Message-ID: <87wnrcg6m3.fsf@Otto.invalid>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
MIME-Version: 1.0
X-purgate-type: clean
X-purgate-Ad: Categorized by eleven eXpurgate (R) http://www.eleven.de
X-purgate: This mail is considered clean (visit http://www.eleven.de for
 further information)
X-purgate: clean
X-purgate-size: 3418
X-purgate-ID: 155817::1622612871-00000810-B7825E9B/0/0
X-Spam-Status: No, score=-3032.7 required=5.0 tests=BAYES_00, DKIM_SIGNED,
 DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3,
 RCVD_IN_MSPIKE_WL, 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 <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: cygwin-bounces+archive-cygwin=delorie.com@cygwin.com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie.com@cygwin.com>

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.

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

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

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

> ##### Trying perldb:
>>  perl -d pcalc
>
> Loading DB routines from perl5db.pl version 1.57
> Editor support available.
> Enter h or 'h h' for help, or 'man perldebug' for more help.
>
> 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?

>  require Term/Size.pm called at pcalc line 26
>  main::BEGIN() called at
>  /usr/local/lib/perl5/site_perl/5.32/x86_64-cygwin-threads/Term/Size.pm 
> line 0
>   eval {...} called at
>   /usr/local/lib/perl5/site_perl/5.32/x86_64-cygwin-threads/Term/Size.pm 
> line 0
>
> #### Another prog:
>>  dedup
> Can't locate Carp/Always.pm in @INC (you may need to install the
> Carp::Always module)...
>
> #### Try cpan:
>>  cpan
> Can't locate ExtUtils/MakeMaker/version/vpp.pm in @INC (you may need
> to install the ExtUtils::MakeMaker::version::vpp module) (@INC
> contains: /bin/lib
> /usr/local/lib/perl5/site_perl/5.32/x86_64-cygwin-threads
> /usr/local/share/perl5/site_perl/5.32 
> /usr/lib/perl5/vendor_perl/5.32/x86_64-cygwin-threads
> /usr/share/perl5/vendor_perl/5.32 
> /usr/lib/perl5/5.32/x86_64-cygwin-threads /usr/share/perl5/5.32) at
> (eval 11) line 1.
> BEGIN failed--compilation aborted at (eval 11) line 1.
> Compilation failed in require at
> /usr/share/perl5/5.32/ExtUtils/MakeMaker.pm line 10.
> BEGIN failed--compilation aborted at
> /usr/share/perl5/5.32/ExtUtils/MakeMaker.pm line 10.
> Compilation failed in require at /usr/share/perl5/5.32/CPAN.pm line 48.
> BEGIN failed--compilation aborted at /usr/share/perl5/5.32/CPAN.pm line 48.
> Compilation failed in require at /usr/share/perl5/5.32/App/Cpan.pm line 290.
> BEGIN failed--compilation aborted at /usr/share/perl5/5.32/App/Cpan.pm
> line 290.
> Compilation failed in require at /bin/cpan line 10.
> BEGIN failed--compilation aborted at /bin/cpan line 10.

So your ExtUtils::MakeMaker installation seems incomplete, you need to
install the perl-ExtUtils-MakeMaker package at least.


Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Wavetables for the Waldorf Blofeld:
http://Synth.Stromeko.net/Downloads.html#BlofeldUserWavetables

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