I finally got Net::OpenSSH to install but now there seems to be a missing dependency when I try to use it.
unable to load Perl module IO::Pty: Can't locate IO/Pty.pm in @INC (@I +NC contains: /opt/csw/lib/perl/site_perl /opt/csw/share/perl/site_per +l /opt/csw/share/perl/site_perl /opt/csw/lib/perl/csw /opt/csw/share/ +perl/csw /opt/csw/share/perl/csw /opt/csw/lib/perl/5.10.1 /opt/csw/sh +are/perl/5.10.1 .) at (eval 14) line 1. at /opt/csw/share/perl/site_perl/Net/OpenSSH.pm line 917.
If I try to install IO:Pty I get another error complaining about my 'cc' installation.
cpan[1]> install IO::Pty Reading '/usr/local/home/myuser/.cpan/Metadata' Database was generated on Tue, 15 Mar 2016 18:17:02 GMT Running install for module 'IO::Pty' Checksum for /usr/local/home/myuser/.cpan/sources/authors/id/T/TO/TODD +R/IO-Tty-1.12.tar.gz ok Scanning cache /usr/local/home/myuser/.cpan/build for sizes ...................................................................... +......DONE DEL(1/3): /usr/local/home/myuser/.cpan/build/Net-OpenSSH-0.70-4mwi2l DEL(2/3): /usr/local/home/myuser/.cpan/build/Net-OpenSSH-0.70-ARY6NC DEL(3/3): /usr/local/home/myuser/.cpan/build/Bundle-CPAN-1.862-7FqW4K Configuring T/TO/TODDR/IO-Tty-1.12.tar.gz with Makefile.PL Now let's see what we can find out about your system (logfiles of failing tests are available in the conf/ dir)... ERROR: cannot run the configured compiler '/opt/SUNWspro/bin/cc' (see conf/compilerok.log). Suggestions: 1) The compiler '/opt/SUNWspro/bin/cc' is not in your PATH. Add it to the PATH and try again. OR 2) The compiler isn't installed on your system. Install it. OR 3) You only have a different compiler installed (e.g. 'gcc'). Either fix the compiler config in the perl Config.pm or install a perl that was built with the right compiler (you could build perl yourself with the available compiler). Note: this is a system-administration issue, please ask your local admin for help. Thank you. Warning: No success on command[/opt/csw/bin/perl Makefile.PL] TODDR/IO-Tty-1.12.tar.gz /opt/csw/bin/perl Makefile.PL -- NOT OK Failed during this command: TODDR/IO-Tty-1.12.tar.gz : writemakefile NO '/opt +/csw/bin/perl Makefile.PL' returned status 512
I do have 'cc' installed but it is in /usr/ucb/cc'. However, when I tried changing the Config.pm file to the correct path, it gave me the exact same error, just with the new path listed.
Any idea how to resolve this?
In reply to IO::Pty wont install, so I cant use Net::OpenSSH by jtzako
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |