Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: cpan install MVS::JESFTP failed

by Corion (Patriarch)
on Jul 11, 2018 at 18:39 UTC ( [id://1218341]=note: print w/replies, xml ) Need Help??


in reply to cpan install MVS::JESFTP failed

If you want to see more verbose error output, try the following:

cpan[1]> look MVS::JESFTP perl Makefile.PL make make test

Looking at the source code of the failing test, it dies because it can't connect to an (old, old) machine:

my($host, $logonid, $password, $job, $jobname) = ('nmgsdisd.state.nm.us', 'DPMIKE', 'JTREE', './TEST.SEQ', 'DPMIKE1 +'); $jes = MVS::JESFTP->open($host, $logonid, $password) or die "not ok 2\ +n";

So, maybe the module works ,but it's just the tests that are bad... If you edit that test and supply better credentials, maybe it passes its test suite.

Looking at its source, it's just a thin wrapper around Net::FTP, so if you feel uncomfortable with using a module that fails its tests, reimplementing the functionality from reading its source should get you just as far.

Replies are listed 'Best First'.
Re^2: cpan install MVS::JESFTP failed
by deanb2 (Initiate) on Jul 18, 2018 at 14:05 UTC
    Appreciate your response. I'm a novice with Linux and Perl; editing the tests is well beyond my comfort level, especially with pressure from my company and client to get something working now. I will come back to this to try editing the tests or maybe force the install.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1218341]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2024-04-23 23:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found