in reply to Re: IO::Pty wont install, so I cant use Net::OpenSSH
in thread IO::Pty wont install, so I cant use Net::OpenSSH

My perl does seem to be in the csw directory, but since I am the only person using this server for anything it doesnt hurt to mod it however I need I think. Right now the only perl even in use on it is the one I'm trying to get to work with OpenSSH but having a heck of a time getting things installed.
  • Comment on Re^2: IO::Pty wont install, so I cant use Net::OpenSSH

Replies are listed 'Best First'.
Re^3: IO::Pty wont install, so I cant use Net::OpenSSH
by syphilis (Archbishop) on Mar 18, 2016 at 22:34 UTC
    Do you actually have a functioning C compiler installed on that machine - one that you have verified as being capable of compiling C programs ?

    I gather that perl -V reports '/opt/SUNWspro/bin/cc' (or, at least, would have reported that before you amended Config.pm).
    It's best to use the compiler that built perl (and 'perl -V' identifies that compiler), but if you have another functioning C compiler you could give it a try.
    Just cd to any IO-Pty build directory you find in /usr/local/home/myuser/.cpan/build and run:
    make realclean perl Makefile.PL CC=/usr/bin/cc (or wherever) make test make install
    A better solution would be to follow salva's advice if possible.

    Cheere,
    Rob