public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
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?
Date: Wed, 02 Jun 2021 07:47:48 +0200	[thread overview]
Message-ID: <87wnrcg6m3.fsf@Otto.invalid> (raw)
In-Reply-To: <60B6F382.1080303@tlinx.org> (L. A. Walsh's message of "Tue, 01 Jun 2021 19:57:06 -0700")

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

  parent reply	other threads:[~2021-06-02  5:47 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-02  2:57 L A Walsh
2021-06-02  4:32 ` Brian Inglis
2021-06-02 19:04   ` L A Walsh
2021-06-02  5:47 ` ASSI [this message]
2021-06-02 19:05   ` L A Walsh

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87wnrcg6m3.fsf@Otto.invalid \
    --to=stromeko@nexgo.de \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).