Subject: | Compilation error |
having some problems using CPAN to install - please help if possible.
Thanks in advance.
Writing Makefile for Net::SSH2
cp lib/Net/SSH2/File.pm blib/lib/Net/SSH2/File.pm
cp lib/Net/SSH2/Dir.pm blib/lib/Net/SSH2/Dir.pm
cp lib/Net/SSH2/SFTP.pm blib/lib/Net/SSH2/SFTP.pm
cp lib/Net/SSH2/Listener.pm blib/lib/Net/SSH2/Listener.pm
cp lib/Net/SSH2/Channel.pm blib/lib/Net/SSH2/Channel.pm
cp lib/Net/SSH2.pm blib/lib/Net/SSH2.pm
AutoSplitting blib/lib/Net/SSH2.pm (blib/lib/auto/Net/SSH2)
/autodev/Linuxi586/bin/perl-static /SonusQA/lib/5.8.7/ExtUtils/xsubpp -typemap /SonusQA/lib/5.8.7/ExtUtils/typemap -typemap typemap SSH2.xs > SSH2.xsc && mv SSH2.xsc SSH2.c
gcc -c -I/usr/local/include -I. -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DUSE_SITECUSTOMIZE -DNO_HASH_SEED -DBUILT_BY_ACTIVESTATE -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"0.04\" -DXS_VERSION=\"0.04\" -fpic "-I/SonusQA/lib/5.8.7/i686-linux-thread-multi/CORE" SSH2.c
SSH2.xs:19:31: libssh2_publickey.h: No such file or directory
SSH2.xs:172: error: syntax error before "LIBSSH2_PUBLICKEY"
SSH2.xs:172: warning: no semicolon at end of struct or union
SSH2.xs:174: warning: data definition has no type or storage class
SSH2.c: In function `XS_Net__SSH2_public_key':
SSH2.c:1740: error: `RETVAL' undeclared (first use in this function)
SSH2.c:1740: error: (Each undeclared identifier is reported only once
SSH2.c:1740: error: for each function it appears in.)
SSH2.xs:1043: error: syntax error before ')' token
SSH2.xs:1043: error: syntax error before ')' token
SSH2.c: In function `XS_Net__SSH2__PublicKey_DESTROY':
SSH2.c:3111: error: `pk' undeclared (first use in this function)
SSH2.c:3114: error: syntax error before ')' token
SSH2.xs: In function `XS_Net__SSH2__PublicKey_add':
SSH2.xs:1685: error: `libssh2_publickey_attribute' undeclared (first use in this function)
SSH2.xs:1685: error: `attrs' undeclared (first use in this function)
SSH2.c:3142: error: `pk' undeclared (first use in this function)
SSH2.c:3148: error: syntax error before ')' token
SSH2.c: In function `XS_Net__SSH2__PublicKey_remove':
SSH2.c:3208: error: `pk' undeclared (first use in this function)
SSH2.c:3213: error: syntax error before ')' token
SSH2.xs: In function `XS_Net__SSH2__PublicKey_fetch':
SSH2.xs:1744: error: `libssh2_publickey_list' undeclared (first use in this function)
SSH2.xs:1744: error: `list' undeclared (first use in this function)
SSH2.c:3239: error: `pk' undeclared (first use in this function)
SSH2.c:3242: error: syntax error before ')' token
make: *** [SSH2.o] Error 1
/usr/bin/make -- NOT OK
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible