Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

Power is danger. -- The Centurion, "Balance of Terror", stardate 1709.2


devel / comp.lang.perl.misc / Re: very unusual problem with cpan shell

SubjectAuthor
* Re: very unusual problem with cpan shellJohn D Groenveld
+* Re: very unusual problem with cpan shellJohn D Groenveld
|`* Re: very unusual problem with cpan shellhput
| `* Re: very unusual problem with cpan shellJohn D Groenveld
|  `* Re: very unusual problem with cpan shellhput
|   +- Re: very unusual problem with cpan shellJohn D Groenveld
|   `* Re: very unusual problem with cpan shellJohn D Groenveld
|    `* Re: very unusual problem with cpan shellhput
|     `* Re: very unusual problem with cpan shellJohn D Groenveld
|      `* Re: very unusual problem with cpan shellhput
|       `* Re: very unusual problem with cpan shellJohn D Groenveld
|        `- Re: very unusual problem with cpan shellhput
`* Re: very unusual problem with cpan shellgamo
 `- Re: very unusual problem with cpan shellJohn D Groenveld

1
Re: very unusual problem with cpan shell

<ls5TJ.27751$7F2.16283@fx12.iad>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=265&group=comp.lang.perl.misc#265

  copy link   Newsgroups: comp.lang.perl.misc
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!news.freedyn.de!newsreader4.netcologne.de!news.netcologne.de!peer01.ams1!peer.ams1.xlned.com!news.xlned.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx12.iad.POSTED!not-for-mail
From: groenveld@acm.org (John D Groenveld)
Newsgroups: comp.lang.perl.misc
Subject: Re: very unusual problem with cpan shell
References: <87tucjg3fe.fsf@local.lan>
Organization: Groenveld.US
Lines: 16
Message-ID: <ls5TJ.27751$7F2.16283@fx12.iad>
X-Complaints-To: abuse@frugalusenet.com
NNTP-Posting-Date: Mon, 28 Feb 2022 15:00:33 UTC
Date: Mon, 28 Feb 2022 15:00:33 GMT
X-Received-Bytes: 1003
 by: John D Groenveld - Mon, 28 Feb 2022 15:00 UTC

In article <87tucjg3fe.fsf@local.lan>, hput <hputn3@zohomail.com> wrote:
>I used the cpan shell to install a few modules and now I really cannot
>remember what all I might have done. The last thing was to try and
>install. Term::ReadLine::Perl
>
>Install failed.

In what way?

$ gzip -dc .cpan/sources/authors/id/I/IL/ILYAZ/modules/Term-ReadLine-Perl-1.0303.tar.gz |tar xf -
$ cd Term-ReadLine-Perl-1.0303
$ perl Makefile.PL
$ make test

John
groenveld@acm.org

Re: very unusual problem with cpan shell

<7CdTJ.35388$U_B9.2699@fx20.iad>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=266&group=comp.lang.perl.misc#266

  copy link   Newsgroups: comp.lang.perl.misc
Path: i2pn2.org!i2pn.org!aioe.org!news.uzoreto.com!news-out.netnews.com!news.alt.net!fdc2.netnews.com!peer01.ams1!peer.ams1.xlned.com!news.xlned.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx20.iad.POSTED!not-for-mail
From: groenveld@acm.org (John D Groenveld)
Newsgroups: comp.lang.perl.misc
Subject: Re: very unusual problem with cpan shell
References: <87tucjg3fe.fsf@local.lan> <ls5TJ.27751$7F2.16283@fx12.iad> <87mtiafxp9.fsf@local.lan>
Organization: Groenveld.US
Lines: 8
Message-ID: <7CdTJ.35388$U_B9.2699@fx20.iad>
X-Complaints-To: abuse@frugalusenet.com
NNTP-Posting-Date: Tue, 01 Mar 2022 00:17:07 UTC
Date: Tue, 01 Mar 2022 00:17:07 GMT
X-Received-Bytes: 830
 by: John D Groenveld - Tue, 1 Mar 2022 00:17 UTC

In article <87mtiafxp9.fsf@local.lan>, hput <hputn3@zohomail.com> wrote:
>Some missing mods I think it was, but cannot ascertain now. No work

To ascertain which modules you installed previously:
$ perldoc perllocal

John
groenveld@acm.org

Re: very unusual problem with cpan shell

<87h78hfupq.fsf@local.lan>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=267&group=comp.lang.perl.misc#267

  copy link   Newsgroups: comp.lang.perl.misc
Path: i2pn2.org!i2pn.org!aioe.org!news.uzoreto.com!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!news-out.netnews.com!news.alt.net!fdc2.netnews.com!peer03.ams1!peer.ams1.xlned.com!news.xlned.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx12.iad.POSTED!not-for-mail
From: hputn3@zohomail.com (hput)
Newsgroups: comp.lang.perl.misc
Subject: Re: very unusual problem with cpan shell
References: <87tucjg3fe.fsf@local.lan> <ls5TJ.27751$7F2.16283@fx12.iad>
<87mtiafxp9.fsf@local.lan> <7CdTJ.35388$U_B9.2699@fx20.iad>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
Message-ID: <87h78hfupq.fsf@local.lan>
Cancel-Lock: sha1:YcN4IjxYPLSCz1DsBzm0yEWlMuQ=
MIME-Version: 1.0
Content-Type: text/plain
Lines: 29
X-Complaints-To: abuse@easynews.com
Organization: Forte - www.forteinc.com
X-Complaints-Info: Please be sure to forward a copy of ALL headers otherwise we will be unable to process your complaint properly.
Date: Tue, 01 Mar 2022 12:28:33 -0500
X-Received-Bytes: 1908
 by: hput - Tue, 1 Mar 2022 17:28 UTC

groenveld@acm.org (John D Groenveld) writes:

> In article <87mtiafxp9.fsf@local.lan>, hput <hputn3@zohomail.com> wrote:
>>Some missing mods I think it was, but cannot ascertain now. No work
>
> To ascertain which modules you installed previously:
> $ perldoc perllocal

Thanks, that's a handy thing to know about.

Do you think any of this has some baring on what ever program takes
over my cpan shell? As well as any attempt to manually install a perl
module where it take over my xterm shell?

Thu Feb 3 18:07:46 2022: "Module" CPAN
Mon Feb 21 01:49:55 2022: "Module" Net::SSLeay
Mon Feb 21 01:55:22 2022: "Module" IO::Socket::SSL
Mon Feb 21 01:57:16 2022: "Module" Term::ReadLine

Apparently Term::ReadLine did get installed

So, what could it be that takes over my cpan shell, rendering
it unusable; or xterm shell rendering it unusable?

I guess it is a perl program running but in my limited experiences I
do not recognize it as perl

Can you tell from the snippets I've posted what language that program
is in?

Re: very unusual problem with cpan shell

<3lvTJ.30756$7F2.22823@fx12.iad>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=268&group=comp.lang.perl.misc#268

  copy link   Newsgroups: comp.lang.perl.misc
Path: i2pn2.org!i2pn.org!aioe.org!news.uzoreto.com!tr1.eu1.usenetexpress.com!feeder.usenetexpress.com!tr2.iad1.usenetexpress.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx12.iad.POSTED!not-for-mail
From: groenveld@acm.org (John D Groenveld)
Newsgroups: comp.lang.perl.misc
Subject: Re: very unusual problem with cpan shell
References: <87tucjg3fe.fsf@local.lan> <87mtiafxp9.fsf@local.lan> <7CdTJ.35388$U_B9.2699@fx20.iad> <87h78hfupq.fsf@local.lan>
Organization: Groenveld.US
Lines: 29
Message-ID: <3lvTJ.30756$7F2.22823@fx12.iad>
X-Complaints-To: abuse@frugalusenet.com
NNTP-Posting-Date: Tue, 01 Mar 2022 20:27:43 UTC
Date: Tue, 01 Mar 2022 20:27:43 GMT
X-Received-Bytes: 1469
 by: John D Groenveld - Tue, 1 Mar 2022 20:27 UTC

In article <87h78hfupq.fsf@local.lan>, hput <hputn3@zohomail.com> wrote:
> Thu Feb 3 18:07:46 2022: "Module" CPAN
> Mon Feb 21 01:49:55 2022: "Module" Net::SSLeay
> Mon Feb 21 01:55:22 2022: "Module" IO::Socket::SSL
> Mon Feb 21 01:57:16 2022: "Module" Term::ReadLine

As per the README, Term::ReadLine::Perl requires Term::ReadKey on the
Omnios and OpenIndiana installations I have at my finger tips.
<URL:https://metacpan.org/release/ILYAZ/Term-ReadLine-Perl-1.0303/source/README>

$ wget https://cpan.metacpan.org/authors/id/J/JS/JSTOWE/TermReadKey-2.38.tar.gz
$ gzip -dc TermReadKey-2.38.tar.gz| tar xf -
$ cd TermReadKey-2.38
$ perl Makefile.PL
$ make test
$ make install

$ cd ../Term-ReadLine-Perl-1.0303
$ perl Makefile.PL
$ make test
$ make install

$ cpan

My WAG is cpan without a functioning ReadKey and ReadLine is doing
something awful with stdin including the memory bomb.

John
groenveld@acm.org

Re: very unusual problem with cpan shell

<svob5e$o1v$1@gioia.aioe.org>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=269&group=comp.lang.perl.misc#269

  copy link   Newsgroups: comp.lang.perl.misc
Path: i2pn2.org!i2pn.org!aioe.org!g1PR4UfzgAeV2R8L+vSO+g.user.46.165.242.91.POSTED!not-for-mail
From: gamo@telecable.es (gamo)
Newsgroups: comp.lang.perl.misc
Subject: Re: very unusual problem with cpan shell
Date: Wed, 2 Mar 2022 18:57:02 +0100
Organization: Aioe.org NNTP Server
Message-ID: <svob5e$o1v$1@gioia.aioe.org>
References: <87tucjg3fe.fsf@local.lan> <ls5TJ.27751$7F2.16283@fx12.iad>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: gioia.aioe.org; logging-data="24639"; posting-host="g1PR4UfzgAeV2R8L+vSO+g.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.5.0
Content-Language: es-ES
X-Notice: Filtered by postfilter v. 0.9.2
 by: gamo - Wed, 2 Mar 2022 17:57 UTC

El 28/2/22 a las 16:00, John D Groenveld escribió:
> $ gzip -dc .cpan/sources/authors/id/I/IL/ILYAZ/modules/Term-ReadLine-Perl-1.0303.tar.gz |tar xf -

A very complex way to say

tar zxvf arch.tar.gz

--
http://gamo.sdf-eu.org/
perl -E 'say "Error: done!"'

Re: very unusual problem with cpan shell

<Vm6UJ.32419$dln7.23104@fx03.iad>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=270&group=comp.lang.perl.misc#270

  copy link   Newsgroups: comp.lang.perl.misc
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!newsreader4.netcologne.de!news.netcologne.de!peer03.ams1!peer.ams1.xlned.com!news.xlned.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx03.iad.POSTED!not-for-mail
From: groenveld@acm.org (John D Groenveld)
Newsgroups: comp.lang.perl.misc
Subject: Re: very unusual problem with cpan shell
References: <87tucjg3fe.fsf@local.lan> <ls5TJ.27751$7F2.16283@fx12.iad> <svob5e$o1v$1@gioia.aioe.org>
Organization: Groenveld.US
Lines: 11
Message-ID: <Vm6UJ.32419$dln7.23104@fx03.iad>
X-Complaints-To: abuse@frugalusenet.com
NNTP-Posting-Date: Thu, 03 Mar 2022 16:52:05 UTC
Date: Thu, 03 Mar 2022 16:52:05 GMT
X-Received-Bytes: 899
 by: John D Groenveld - Thu, 3 Mar 2022 16:52 UTC

In article <svob5e$o1v$1@gioia.aioe.org>, gamo <gamo@telecable.es> wrote:
>A very complex way to say
>
>tar zxvf arch.tar.gz

Though not documented, the z modifier is not required to tar(1) x
function, as tar will autodetect the compression.
<URL:https://illumos.org/man/1/tar>

John
groenveld@acm.org

Re: very unusual problem with cpan shell

<87sfrpit3t.fsf@local.lan>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=271&group=comp.lang.perl.misc#271

  copy link   Newsgroups: comp.lang.perl.misc
Path: i2pn2.org!i2pn.org!aioe.org!feeder1.feed.usenet.farm!feed.usenet.farm!news-out.netnews.com!news.alt.net!fdc2.netnews.com!peer01.ams1!peer.ams1.xlned.com!news.xlned.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx10.iad.POSTED!not-for-mail
From: hputn3@zohomail.com (hput)
Newsgroups: comp.lang.perl.misc
Subject: Re: very unusual problem with cpan shell
References: <87tucjg3fe.fsf@local.lan> <87mtiafxp9.fsf@local.lan>
<7CdTJ.35388$U_B9.2699@fx20.iad> <87h78hfupq.fsf@local.lan>
<3lvTJ.30756$7F2.22823@fx12.iad>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
Message-ID: <87sfrpit3t.fsf@local.lan>
Cancel-Lock: sha1:m6L1DiPvJpx6YdwqaF//C1dF1yA=
MIME-Version: 1.0
Content-Type: text/plain
Lines: 60
X-Complaints-To: abuse@easynews.com
Organization: Forte - www.forteinc.com
X-Complaints-Info: Please be sure to forward a copy of ALL headers otherwise we will be unable to process your complaint properly.
Date: Thu, 10 Mar 2022 13:02:14 -0500
X-Received-Bytes: 2855
 by: hput - Thu, 10 Mar 2022 18:02 UTC

groenveld@acm.org (John D Groenveld) writes:

> In article <87h78hfupq.fsf@local.lan>, hput <hputn3@zohomail.com> wrote:
>> Thu Feb 3 18:07:46 2022: "Module" CPAN
>> Mon Feb 21 01:49:55 2022: "Module" Net::SSLeay
>> Mon Feb 21 01:55:22 2022: "Module" IO::Socket::SSL
>> Mon Feb 21 01:57:16 2022: "Module" Term::ReadLine
>
> As per the README, Term::ReadLine::Perl requires Term::ReadKey on the
> Omnios and OpenIndiana installations I have at my finger tips.
> <URL:https://metacpan.org/release/ILYAZ/Term-ReadLine-Perl-1.0303/source/README>

[...]

> $ cd ../Term-ReadLine-Perl-1.0303
> $ perl Makefile.PL
> $ make test
> $ make install
>
> $ cpan
>
> My WAG is cpan without a functioning ReadKey and ReadLine is doing
> something awful with stdin including the memory bomb.

First an apology for the long delay. A nasty plumbing problem broke
out on the home front. Ended up solding several copper joints in
difficult locations.

------- ------- ---=--- ------- -------

I see now that things were spelled out quite clearly in that README

Sorry that I skipped something I should have known to do.

However, having followed the directions you supplied; Read-key
tested and installed correctly.

Reinstall of ReadLine-Perl also tested and installed correctly.

Entering cpan seemed to be ok at first:

typed `h' ... left that help output

Started to type: o con

I didn't get to `f' when the darned ghost program started and stopped
all other cpan activity.. and in fact froze the VM for any use at all.

After restarting the VM I noticed this running.

`root 1452 0.0 0.1 7408 5888 ? S 17:43:16 0:00 /usr/perl5/bin/perl/usr/lib/intrd'

It may always be running... I never checked before. I do not see it
on the vm host but that is a different OS: vm=openindiana, host=ubuntu

It will take a while to create another openindiana vm to chk. Perhaps
someone here knows offhand?

Re: very unusual problem with cpan shell

<ubKWJ.120927$H_t7.83640@fx40.iad>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=272&group=comp.lang.perl.misc#272

  copy link   Newsgroups: comp.lang.perl.misc
Path: i2pn2.org!i2pn.org!aioe.org!news.uzoreto.com!newsreader4.netcologne.de!news.netcologne.de!peer01.ams1!peer.ams1.xlned.com!news.xlned.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx40.iad.POSTED!not-for-mail
From: groenveld@acm.org (John D Groenveld)
Newsgroups: comp.lang.perl.misc
Subject: Re: very unusual problem with cpan shell
References: <87tucjg3fe.fsf@local.lan> <87h78hfupq.fsf@local.lan> <3lvTJ.30756$7F2.22823@fx12.iad> <87sfrpit3t.fsf@local.lan>
Organization: Groenveld.US
Lines: 24
Message-ID: <ubKWJ.120927$H_t7.83640@fx40.iad>
X-Complaints-To: abuse@frugalusenet.com
NNTP-Posting-Date: Fri, 11 Mar 2022 15:48:42 UTC
Date: Fri, 11 Mar 2022 15:48:42 GMT
X-Received-Bytes: 1334
 by: John D Groenveld - Fri, 11 Mar 2022 15:48 UTC

In article <87sfrpit3t.fsf@local.lan>, hput <hputn3@zohomail.com> wrote:
>After restarting the VM I noticed this running.
>
>`root 1452 0.0 0.1 7408 5888 ? S 17:43:16 0:00
>/usr/perl5/bin/perl/usr/lib/intrd'
>
>It may always be running... I never checked before. I do not see it
>on the vm host but that is a different OS: vm=openindiana, host=ubuntu
>
>It will take a while to create another openindiana vm to chk. Perhaps
>someone here knows offhand?

$ file /usr/lib/intrd
/usr/lib/intrd: executable /usr/perl5/bin/perl script

$ pkg search -o path,pkg.name -l /usr/lib/intrd
PATH PKG.NAME
usr/lib/intrd SUNWcs

RTFM:
<URL:https://illumos.org/man/1m/intrd>

John
groenveld@acm.org

Re: very unusual problem with cpan shell

<FQ1XJ.34797$uW1.12726@fx27.iad>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=273&group=comp.lang.perl.misc#273

  copy link   Newsgroups: comp.lang.perl.misc
Path: i2pn2.org!i2pn.org!aioe.org!news.uzoreto.com!newsreader4.netcologne.de!news.netcologne.de!peer02.ams1!peer.ams1.xlned.com!news.xlned.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx27.iad.POSTED!not-for-mail
From: groenveld@acm.org (John D Groenveld)
Newsgroups: comp.lang.perl.misc
Subject: Re: very unusual problem with cpan shell
References: <87tucjg3fe.fsf@local.lan> <87h78hfupq.fsf@local.lan> <3lvTJ.30756$7F2.22823@fx12.iad> <87sfrpit3t.fsf@local.lan>
Organization: Groenveld.US
Lines: 23
Message-ID: <FQ1XJ.34797$uW1.12726@fx27.iad>
X-Complaints-To: abuse@frugalusenet.com
NNTP-Posting-Date: Sat, 12 Mar 2022 14:09:41 UTC
Date: Sat, 12 Mar 2022 14:09:41 GMT
X-Received-Bytes: 1255
 by: John D Groenveld - Sat, 12 Mar 2022 14:09 UTC

In article <87sfrpit3t.fsf@local.lan>, hput <hputn3@zohomail.com> wrote:
>However, having followed the directions you supplied; Read-key
>tested and installed correctly.
>
>Reinstall of ReadLine-Perl also tested and installed correctly.
>
>Entering cpan seemed to be ok at first:
>
> typed `h' ... left that help output
>
>Started to type: o con
>
>I didn't get to `f' when the darned ghost program started and stopped
>all other cpan activity.. and in fact froze the VM for any use at all.

I'm not able to reproduce this behavior with an up-to-date OI.

Lets see:
$ perl -V
$ perldoc perllocal

John
groenveld@acm.org

Re: very unusual problem with cpan shell

<8735jikkug.fsf@local.lan>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=274&group=comp.lang.perl.misc#274

  copy link   Newsgroups: comp.lang.perl.misc
Path: i2pn2.org!i2pn.org!aioe.org!feeder1.feed.usenet.farm!feed.usenet.farm!news-out.netnews.com!news.alt.net!fdc2.netnews.com!peer02.ams1!peer.ams1.xlned.com!news.xlned.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx47.iad.POSTED!not-for-mail
From: hputn3@zohomail.com (hput)
Newsgroups: comp.lang.perl.misc
Subject: Re: very unusual problem with cpan shell
References: <87tucjg3fe.fsf@local.lan> <87h78hfupq.fsf@local.lan>
<3lvTJ.30756$7F2.22823@fx12.iad> <87sfrpit3t.fsf@local.lan>
<FQ1XJ.34797$uW1.12726@fx27.iad>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
Message-ID: <8735jikkug.fsf@local.lan>
Cancel-Lock: sha1:7cA0jdgZFk7M6qVy3+gDxCiN72U=
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
Lines: 160
X-Complaints-To: abuse@easynews.com
Organization: Forte - www.forteinc.com
X-Complaints-Info: Please be sure to forward a copy of ALL headers otherwise we will be unable to process your complaint properly.
Date: Wed, 16 Mar 2022 10:55:51 -0400
X-Received-Bytes: 6259
 by: hput - Wed, 16 Mar 2022 14:55 UTC
Attachments: perlV-OI-220316-144702.txt (text/plain), unnamed (text/plain), perldoc_perllocal-OI-220316-144702.txt (text/plain)

groenveld@acm.org (John D Groenveld) writes:

[...]

>>Started to type: o con
>>
>>I didn't get to `f' when the darned ghost program started and stopped
>>all other cpan activity.. and in fact froze the VM for any use at all.
>
> I'm not able to reproduce this behavior with an up-to-date OI.
>
> Lets see:
> $ perl -V
> $ perldoc perllocal
>

I wasn't sure if you expected full content of perl -V so included all
of it.

perl -V content:

Attachments: perlV-OI-220316-144702.txt (text/plain), unnamed (text/plain), perldoc_perllocal-OI-220316-144702.txt (text/plain)
Re: very unusual problem with cpan shell

<GNMYJ.59953$WZCa.14481@fx08.iad>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=275&group=comp.lang.perl.misc#275

  copy link   Newsgroups: comp.lang.perl.misc
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!newsreader4.netcologne.de!news.netcologne.de!peer03.ams1!peer.ams1.xlned.com!news.xlned.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx08.iad.POSTED!not-for-mail
From: groenveld@acm.org (John D Groenveld)
Newsgroups: comp.lang.perl.misc
Subject: Re: very unusual problem with cpan shell
References: <87tucjg3fe.fsf@local.lan> <87sfrpit3t.fsf@local.lan> <FQ1XJ.34797$uW1.12726@fx27.iad> <8735jikkug.fsf@local.lan>
Organization: Groenveld.US
Lines: 26
Message-ID: <GNMYJ.59953$WZCa.14481@fx08.iad>
X-Complaints-To: abuse@frugalusenet.com
NNTP-Posting-Date: Thu, 17 Mar 2022 20:24:06 UTC
Date: Thu, 17 Mar 2022 20:24:06 GMT
X-Received-Bytes: 1547
 by: John D Groenveld - Thu, 17 Mar 2022 20:24 UTC

In article <8735jikkug.fsf@local.lan>, hput <hputn3@zohomail.com> wrote:
>I wasn't sure if you expected full content of perl -V so included all
>of it.
>
>perl -V content:
>Summary of my perl5 (revision 5 version 22 subversion 4) configuration:
[snipped]
>perldoc perllocal content:
> Thu Feb 3 18:07:46 2022: "Module" CPAN
> * "installed into: /usr/perl5/5.24/lib"

Did you set a mediator to adjust OI's perl?
# pkg mediator

My WAG is you set perl -V 5.24 but left system-perl -V 5.22.
/usr/perl5/bin/cpan likely invokes /usr/perl5/5.22/bin/perl, assuming
you have PATH=/usr/sbin:/usr/bin:/usr/perl5/bin, which has a broken or
non-existent Term::ReadKey and Term::ReadLine::Perl

pkg.openindiana.org has runtime/perl-534, I have tested using it in
a non-global zone and cannot reproduce your memory bomb.
# pkg set-mediator -V 5.34 perl
# pkg set-mediator -V 5.34 system-perl

John
groenveld@acm.org

Re: very unusual problem with cpan shell

<87ee2xsp4d.fsf@local.lan>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=276&group=comp.lang.perl.misc#276

  copy link   Newsgroups: comp.lang.perl.misc
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!news.freedyn.de!newsreader4.netcologne.de!news.netcologne.de!peer01.ams1!peer.ams1.xlned.com!news.xlned.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx09.iad.POSTED!not-for-mail
From: hputn3@zohomail.com (hput)
Newsgroups: comp.lang.perl.misc
Subject: Re: very unusual problem with cpan shell
References: <87tucjg3fe.fsf@local.lan> <87sfrpit3t.fsf@local.lan>
<FQ1XJ.34797$uW1.12726@fx27.iad> <8735jikkug.fsf@local.lan>
<GNMYJ.59953$WZCa.14481@fx08.iad>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
Message-ID: <87ee2xsp4d.fsf@local.lan>
Cancel-Lock: sha1:7aKD3YHjRhUzRpiicCIkt7CQ01Y=
MIME-Version: 1.0
Content-Type: text/plain
Lines: 50
X-Complaints-To: abuse@easynews.com
Organization: Forte - www.forteinc.com
X-Complaints-Info: Please be sure to forward a copy of ALL headers otherwise we will be unable to process your complaint properly.
Date: Sat, 19 Mar 2022 15:45:22 -0400
X-Received-Bytes: 2896
 by: hput - Sat, 19 Mar 2022 19:45 UTC

groenveld@acm.org (John D Groenveld) writes:

[...]

> Did you set a mediator to adjust OI's perl?
> # pkg mediator

This is the first time I've heard mention of a mediator. I did notice
the several versions of perl on my system but did not realize I needed
a mediator to make one decisive.

> My WAG is you set perl -V 5.24 but left system-perl -V 5.22.
> /usr/perl5/bin/cpan likely invokes /usr/perl5/5.22/bin/perl, assuming
> you have PATH=/usr/sbin:/usr/bin:/usr/perl5/bin, which has a broken or
> non-existent Term::ReadKey and Term::ReadLine::Perl

I followed your direction below

> pkg.openindiana.org has runtime/perl-534, I have tested using it in
> a non-global zone and cannot reproduce your memory bomb.
> # pkg set-mediator -V 5.34 perl
> # pkg set-mediator -V 5.34 system-perl
>

I set the mediator as advised. I then checked with both perl -V and
perl -version to see what was displayed. Still 5.24 ... I thought
perhaps a reboot was necessary and did a reboot.

Once the os was up I went to /usr/perl5/5.34/bin to make sure I was
calling the right cpan I typed cpan and entered the shell. I then
started to search for a module `m /lchown/' soon as I hit enter the
dreaded ghost program took over the cpan shell and has rendered the
entire OS unusable.

A day or two ago I created another OI host (vbox vm as the original)
I have been getting it up to date and so forth. Cpan on it has none
of this problem.

After calling pkg set-mediator -V 5.34 perl and ditto system-perl. Is
it correct that perl -V and perl -version should still point to 5.24?

I note too that `which perl' shows /usr/perl5/5.24/bin/perl

On the new OI OS I mentioned, I also followed your suggestion for
setting mediator... Also rebooted it. That OS also shows the same
things as reported above for the problem OS. (But without the ghost
program).

Admittedly I have no idea what setting a mediator really does. But
curious to know if the reported outputs is expected?

Re: very unusual problem with cpan shell

<futZJ.152553$m1S7.75656@fx36.iad>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=277&group=comp.lang.perl.misc#277

  copy link   Newsgroups: comp.lang.perl.misc
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!news.freedyn.de!newsreader4.netcologne.de!news.netcologne.de!peer03.ams1!peer.ams1.xlned.com!news.xlned.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx36.iad.POSTED!not-for-mail
From: groenveld@acm.org (John D Groenveld)
Newsgroups: comp.lang.perl.misc
Subject: Re: very unusual problem with cpan shell
References: <87tucjg3fe.fsf@local.lan> <8735jikkug.fsf@local.lan> <GNMYJ.59953$WZCa.14481@fx08.iad> <87ee2xsp4d.fsf@local.lan>
Organization: Groenveld.US
Lines: 11
Message-ID: <futZJ.152553$m1S7.75656@fx36.iad>
X-Complaints-To: abuse@frugalusenet.com
NNTP-Posting-Date: Sat, 19 Mar 2022 23:15:23 UTC
Date: Sat, 19 Mar 2022 23:15:23 GMT
X-Received-Bytes: 927
 by: John D Groenveld - Sat, 19 Mar 2022 23:15 UTC

In article <87ee2xsp4d.fsf@local.lan>, hput <hputn3@zohomail.com> wrote:
>groenveld@acm.org (John D Groenveld) writes:
>After calling pkg set-mediator -V 5.34 perl and ditto system-perl. Is
>it correct that perl -V and perl -version should still point to 5.24?

No.

$ echo $PATH

John
groenveld@acm.org

Re: very unusual problem with cpan shell

<87k0cn7015.fsf@local.lan>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=278&group=comp.lang.perl.misc#278

  copy link   Newsgroups: comp.lang.perl.misc
Path: i2pn2.org!i2pn.org!aioe.org!news.freedyn.de!newsreader4.netcologne.de!news.netcologne.de!peer02.ams1!peer.ams1.xlned.com!news.xlned.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx37.iad.POSTED!not-for-mail
From: hputn3@zohomail.com (hput)
Newsgroups: comp.lang.perl.misc
Subject: Re: very unusual problem with cpan shell
References: <87tucjg3fe.fsf@local.lan> <8735jikkug.fsf@local.lan>
<GNMYJ.59953$WZCa.14481@fx08.iad> <87ee2xsp4d.fsf@local.lan>
<futZJ.152553$m1S7.75656@fx36.iad>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
Message-ID: <87k0cn7015.fsf@local.lan>
Cancel-Lock: sha1:PaLyWRC22Qx+fzIQAyrnqDneRCg=
MIME-Version: 1.0
Content-Type: text/plain
Lines: 42
X-Complaints-To: abuse@easynews.com
Organization: Forte - www.forteinc.com
X-Complaints-Info: Please be sure to forward a copy of ALL headers otherwise we will be unable to process your complaint properly.
Date: Mon, 21 Mar 2022 12:17:26 -0400
X-Received-Bytes: 2297
 by: hput - Mon, 21 Mar 2022 16:17 UTC

groenveld@acm.org (John D Groenveld) writes:

> In article <87ee2xsp4d.fsf@local.lan>, hput <hputn3@zohomail.com> wrote:
>>groenveld@acm.org (John D Groenveld) writes:
>>After calling pkg set-mediator -V 5.34 perl and ditto system-perl. Is
>>it correct that perl -V and perl -version should still point to 5.24?
>
> No.
>
> $ echo $PATH
>

You hit it on the head; my path was a mess from carrying over certain
dot files for yrs.

Now hopefully corrected at so:

/usr/gnu/bin:/usr/local/src/git/test/bin:/usr/local/src/test/bin:\
/usr/local/bin:/usr/local/scripts:/usr/local/scripts/perl:\
/usr/local/scripts/awk:/bk/bin:/usr/bin:/usr/perl5/bin:/usr/local/sbin:\
/usr/sbin:/sbin

The extra elements point to certain tools built from scratch and to
the onboard gnu tools.

The last portion is the default path:
/usr/bin:/usr/perl5/bin:/usr/local/sbin:/usr/sbin:/sbin
and now point so the mediator choice at

/usr/perl5/bin -> /usr/perl5/5.34/bin

`which perl' now shows /usr/perl5/bin/perl
perl -V and perl -version also point to the mediators choice now.

Thanks again for the solid advice and perceptive way of revealing the
problems.

The cpan problem on original oi vm host is still there but I'm about
done setting up a second oi host. So I can just delete the problem
host. I need to get on with my purposes for having the oi vm.

Thanks for patience and help.


devel / comp.lang.perl.misc / Re: very unusual problem with cpan shell

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor