Mark Temple wrote:
> I have Multinet, and a need to communicate with other local hosts. Has
> anyone used Net::Telnet in the VMS context? Perl version 5.005_03. Does
> 'perl Makefile.PL' work on VMS for installs? I've done installs in Linux,
> but not in VMS. Thanks in advance for any help.
It works in principle, unforunately there was a bug in MakeMaker with 5.005_03
that can cause trouble with some modules (mostly xs based ones and lib list
handling). Fortunately for you JROGERS' Net-Telnet-3.01.tar.gz package is
a simple .pm based one that won't trip over the bug (if the MM_VMS bug bothers
you then check the web archives of this list for patches).
One difference on VMS is that the make utility may be differently named.
It was likely either mms or mmk that made your perl (note to list: found
another bug in subconfigure.com, make does not get set and it should)
Here is a sample build done with MMS on Alpha VMS 7.1 with
Net-Telnet-3.01.tar.gz and perl 5.005_02:
$ gunzip NET-TELNET-3_01.TGZ
$ tar -xvf NET-TELNET-3_01.Tar
[NET-TELNET-3_01]
Dec 27 20:02:00 1997 266 [NET-TELNET-3_01]MAKEFILE.PL
Dec 27 20:02:00 1997 2227 [NET-TELNET-3_01]CHANGELOG
[NET-TELNET-3_01.LIB]
[NET-TELNET-3_01.LIB.NET]
Dec 27 20:02:00 1997 109100 [NET-TELNET-3_01.LIB.NET]TELNET.PM
[NET-TELNET-3_01.T]
Mar 11 03:17:49 1997 878 [NET-TELNET-3_01.T]SELECT.T
Dec 27 20:02:00 1997 3721 [NET-TELNET-3_01]README
Dec 27 20:02:00 1997 67 [NET-TELNET-3_01]MANIFEST
$ set def [NET-TELNET-3_01]
$ perl Makefile.PL
Checking if your kit is complete...
Looks good
Warning: I could not locate your pod2man program. As a last choice,
I will look for the file to which the logical name POD2MAN
points when MMK is invoked.
Writing Descrip.MMS for Net::Telnet
$ mms
perl "-Iperl_root:[lib]" "-MExtUtils::Install" -e "pm_to_blib({split('
',<STDIN>
)},'[.blib.lib.auto]')" <.MM_tmp
cp [.lib.net]telnet.pm [.blib.lib.net]telnet.pm
$ mms test
perl "-I[.blib.arch]" "-I[.blib.lib]" "-Iperl_root:[lib]"
"-Iperl_root:[lib.VMS_
AXP.5_00502]" -e "use Test::Harness qw(&runtests $verbose); $verbose=0;
runtes
ts @ARGV;" t/*.t
t/select............
ok
All tests successful.
Files=1, Tests=1, 4 wallclock secs ( 0.00 cusr + 0.00 csys = 0.00 CPU)
$ mms install
perl "-Iperl_root:[lib]" "-MExtUtils::Install" -e "install({split('
',<STDIN>)},
1);" <.MM_tmp
Skipping perl_root:[lib.site_perl.net]telnet.pm (unchanged)
Writing perl_root:[lib.site_perl.VMS_AXP.auto.Net.Telnet].packlist
Appending installation info to perl_root:[lib.VMS_AXP.5_00502]perllocal.pod
So it does appear to work.
Peter Prymmer