in reply to SOLVED: Net::SSH::Perl compile with SunStudio 12.2 instead of SunPro

The compiler can't find ../sys/types.h in its list of known directories. I'd:
find /opt -name 'types.h'
to see where the headers actually are.
You may then have to edit the Makefile.PL for Net::SSH::Perl to add the necessary -I statements to the compiler options.
It may help to look at the ExtUtils::MakeMaker docs.

Replies are listed 'Best First'.
Re^2: Net::SSH::Perl compile with SunStudio 12.2 instead of SunPro
by srp0010 (Initiate) on Oct 26, 2011 at 22:52 UTC

    Thanks for the reply. SunStudio splits libraries from the binaries - problem solved once I found the right solaris packages.

    Link errors now :-(.