bash-3.00#
bash-3.00# env
HZ=
TERM=xterm
SHELL=/sbin/sh
NLS_LANG=AMERICAN_AMERICA.WE8ISO8859P1
OLDPWD=/export/perl
LD_LIBRARY_PATH=/opt/oracle/product/9.2.0/lib
ORACLE_SID=PV
ORACLE_BASE=/opt/oracle
TNS_ADMIN=/opt/oracle/product/9.2.0/network/admin
PATH=/usr/sbin:/usr/bin:/usr/ccs/bin:/usr/sfw/bin:/usr/sfw/bin:/bin:/usr/ccs/bin:/usr/sfw/bin
MAIL=/var/mail/root
PWD=/export/perl/Net-SSH2-0.40
LANG=C
TZ=Asia/Calcutta
SHLVL=1
HOME=/
LOGNAME=root
EXTPROC_DLLS=ONLY:/opt/oracle/product/9.2.0/lib/libpvmextc.so
CC=gcc
ORA_NLS33=/opt/oracle/product/9.2.0/ocommon/nls/admin/data
ORACLE_HOME=/opt/oracle/product/9.2.0
_=/usr/bin/env
####
bash-3.00# gcc -v
Reading specs from /usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/specs
Configured with: /sfw10/builds/build/sfw10-patch/usr/src/cmd/gcc/gcc-3.4.3/configure --prefix=/usr/sfw --with-as=/usr/ccs/bin/as --without-gnu-as --with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable-languages=c,c++ --enable-shared
Thread model: posix
gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath)
####
bash-3.00# perl Makefile.PL
Subroutine checklibs redefined at inc/Module/Install/CheckLib.pm line 11.
Subroutine assertlibs redefined at inc/Module/Install/CheckLib.pm line 25.
Subroutine _author_side redefined at inc/Module/Install/CheckLib.pm line 39.
The libssh2 library is required by this module. If you don't have it, you can
download it from http://www.libssh2.org; you may also need OpenSSL, which can be
obtained from http://www.openssl.org.
Debian: sudo aptitude install libssh2-1-dev
OpenSUSE: sudo zypper in libssh2-1 libssh2-devel
You can pass your libssh2 lib and include dirs on the command line. E.g.:
perl Makefile.PL lib=$HOME/libssh2/lib inc=$HOME/libssh2/include
Couldn't find your C compiler
Compilation failed in require at inc/Module/Install/CheckLib.pm line 17.