installation of perl module Net::SFTP

From: Ashoo Sharda (ashooj_at_hotmail.com)
Date: 04/26/04


Date: 26 Apr 2004 06:35:46 -0700

Hi,

I am trying to install Net::SFTP from the CPAN mirror site by using
the command perl -MCPAN -e 'install Net::SFTP' but it is giving me the
following error
        perl perl5/5.8.3/ExtUtils/xsubpp -typemap /usr/
perl5/5.8.3/ExtUtils/typemap -typemap typemap Pari.xs > Pari.xsc && m
v Pari.xsc Pari.c
        gcc -c -Ipari-2.1.5/src/headers -Ipari-2.1.5/src -I./libPARI
-U M_XENI
X -D PERL_SCO -D HAS_FPSETMASK -melf -fno-strict-aliasing -I/include -
O2 -DVERSION=\"2.010501\" -DXS_VERSION=\"2.010501\" -fPIC
"-I/perl5/5.8.3/i386-sco/CORE" -DPARI_VERSION_EXP=2001005
-DDEBUG_PARI -DLSB_in_U32
=0 -Derr=pari_err -DGCC_INLINE Pari.c
In file included from /perl5/5.8.3/i386-sco/CORE/perl.h:838,
                 from Pari.xs:19:
/include/sys/ioctl.h:66: parse error before `long'
/include/sys/ioctl.h:66: warning: no semicolon at end of struct or
union
*** Error code 1 (bu21)
  /bin/make -- NOT OK
Running make test
  Can't test without successful make
Running make install
  make had returned bad status, install seems impossible

I am using SCO Open server 5.

Please help.

Thanx in advance for your time,
Ashoo Sharda