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.
Some missing mods I think it was, but cannot ascertain now. No work
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
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
$ 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
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.
`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?
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.
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:
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
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?
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
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 498 |
Nodes: | 16 (2 / 14) |
Uptime: | 46:12:27 |
Calls: | 9,800 |
Calls today: | 2 |
Files: | 13,754 |
Messages: | 6,189,901 |