We were able to get the SSH and SFTP modules installed. However, we are now receiving an error regarding the MATH::PARI.PM module. So, we attempted to install it and are now getting errors when installing this module. (Please see the screen shot I’ve attached.)
Please help if you have encountered a similar issue installing modules to the Cloverleaf perl location.
We are trying to SFTP files to the State of Indiana for MU Stage 2 Attestation would like to use Perl to do it.
It’s not finding your C compiler. Do you have one installed?
Most modules require that you type “perl Makefile.PL” before typing “make”. Did you do this?
It’s usually easier to use CPAN to install modules than to build them with the make command. This helps you by automatically resolving dependencies.
I usually install a copy of Perl outside of the Cloverleaf distribution so that any changes that get made to the Perl environment don’t affect Cloverleaf.
I don’t know if we have a C compiler installed. (I don’t know as much at the server level as I would like.) I’ve queried my server administrator to find out.
My co-worker, Matt, did the perl Makefile.PL. He also used CPAN.
Matt is not here today and is most familiar with what he had to do to get SSH and SFTP installed.
Does installing a C compiler and a copy of Perl outside of the Cloverleaf install require engine or server downtime?
In the screenshot CPAN is not being used. I see “make” being run from the command prompt. CPAN does that part for you. It also does the “perl Makefile.PL”.
Normally it doesn’t require downtime to install a C compiler and Perl.
If you’re using Net::SFTP, then I don’t think you need SSH and SFTP installed. The module works without relying on external programs.
When first attempting to run my perl script and use the Net::SFTP command, it reported back that it needs the Net::SSH module. Hence our load of both modules into the Cloverleaf imbedded perl version. It was also listed as a dependency on searh.cpan.org
The screen shot I provided may have been Matt’s attempt to manually resolve earlier errors in the install of the Math module.
In order to get the SFTP and SSH modules loaded he had to change some file paths. I suppose I should let him post his questions/steps instead of acting as middle-man to get resolution for our issues.
We do NOT have a C Compiler loaded. Working on resolving that issue. We DO have a copy of Perl loaded outside of the Cloverleaf imbedded version. And, Matt was using the CPAN module. Hopefully, with the C Compiler installation we can resolve the Math module issue and get things going!
Thanks for your help!
Author
Replies
Viewing 6 reply threads
The forum ‘Cloverleaf’ is closed to new topics and replies.