Anyone using Net::SSH2 on AS3 U4?

Rhugga Harper rhugga at gmail.com
Mon Nov 7 17:26:40 UTC 2005


I'm trying to build the Net::SSH2 perl module on a RH 3 U4 system. Just
curious if anyone has this working before I dig into the nitty gritty...

The only thing I have tried so far is adding "-L /lib -L/usr/lib
-L/usr/local/lib" and "-I/usr/include/openssl -I/usr/include
-I/usr/local/include" to the Makefiles. All ssl/ssh related headers and
libraries are found in these directories.

Here is snippet of the error I get:
adcinfops02:/var/spool/cpan/build/Net-SSH2-0.03 #perl Makefile.PL
Net::SSH2: using library -L/usr/local/lib -lssh2 and include path
-I/usr/local/include.
Writing Makefile for Net::SSH2
adcinfops02:/var/spool/cpan/build/Net-SSH2-0.03 #make
gcc -c -I/usr/local/include -I. -D_REENTRANT -D_GNU_SOURCE
-DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe
-march=i386 -mcpu=i686 -DVERSION=\"0.03\" -DXS_VERSION=\"0.03\" -fPIC
"-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE" SSH2.c
SSH2.xs: In function `XS_Net__SSH2__startup':
SSH2.xs:670: parse error before `int'
SSH2.xs:671: `success' undeclared (first use in this function)
SSH2.xs:671: (Each undeclared identifier is reported only once
SSH2.xs:671: for each function it appears in.)
SSH2.c: In function `XS_Net__SSH2_channel':
SSH2.c:1342: parse error before `*'
SSH2.c:1342: `nsv' undeclared (first use in this function)
SSH2.c:1342: parse error before `)'
SSH2.c:1345: `gv' undeclared (first use in this function)
SSH2.c:1346: `io' undeclared (first use in this function)
SSH2.c:1347: `RETVAL' undeclared (first use in this function)
SSH2.c:1348: `name' undeclared (first use in this function)
SSH2.c: At top level:

Thanks for any help
-rhugga



More information about the redhat-list mailing list