Need help with installing perl modules!

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Need help with installing perl modules!

  • Creator
    Topic
  • #54107
    Jennifer Higbie
    Participant

      I am new to perl and need to install the SFTP and SSH modules to Cloverleaf v5.8.5.

      We are on AIX 6.1

      Does anyone have instructions on how to do this?

      Thanks in advance!

    Viewing 6 reply threads
    • Author
      Replies
      • #80177
        Jennifer Higbie
        Participant

          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.

          Thanks for any help!

        • #80178
          David Barr
          Participant

            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.

          • #80179
            Jennifer Higbie
            Participant

              David,

              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?

              Thanks for your reply!

            • #80180
              David Barr
              Participant

                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.

              • #80181
                Jennifer Higbie
                Participant

                  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.

                  Thanks for your reply!

                • #80182
                  David Barr
                  Participant

                    Just in case there is any confusion about my advice, I’m recommending the CPAN module, not the CPAN site.

                    http://search.cpan.org/~andk/CPAN-2.00/lib/CPAN.pm

                    You run it like this:

                    perl -MCPAN -e shell

                  • #80183
                    Jennifer Higbie
                    Participant

                      Thanks David.

                      Regarding your questions/commments last week…

                      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!

                  Viewing 6 reply threads
                  • The forum ‘Cloverleaf’ is closed to new topics and replies.