Re: [Ssh-sftp-perl-users] Having problems with compiling Net::SSH2
Brought to you by:
dbrobins
|
From: Heiko J. <ja...@hb...> - 2009-01-19 20:39:23
|
Am Freitag, den 16.01.2009, 19:56 -0500 schrieb Ken Bassford: > I’m trying to get Net::SSH2 to run on a base load, RHEL3.1 system. I > tried doing the following steps in order, all without the slightest > hint of an error until the final step. > > 1. “make” && “make test” && “make install” on zlib 1.2.3 source > 2. “make” && “make test” && “make install” on OpenSSL 0.9.8j > source > 3. “./configure –with-zlib –with OpenSSL “ &&, “make” && “make > test” (or possibly check, whatever the instructions said to > do) && “make install” on libssh2-1.0 source > 4. ran “perl Makefile.PL” && “make” without error on > Net-SSH2-0.18 source > 5. ran “make test” and got two compile errors that it could not > find two OpenSSL .h files (sorry, the system I did this on is > at work, so I’m relaying this from memeory). > > > > My question is, “Do I have to revert to the libssh2-0.12 source for > Net-SSH2-0.18 to work, or has anyone gotten it to work with more > recent builds of libssh2?” It works for me with libssh2-0.18 (as far as I remember Net-SSH2-0.18 was released to address changes therein) and libssh2-1.0, both on Solaris 10 (64Bit) and Linux (32 and 64Bit). I have not tested with OpenSSL 0.9.8j (0.9.8h was the latest I used, I think, on one of the installations). If you use Perl 5.10 you need to patch Net::SSH2 (cf. http://rt.cpan.org/Ticket/Display.html?id=37045) but it does not sound as if you were running into that problem. Never saw anything like what you describe ("could not find two OpenSSL .h files during 'make test'"). Heiko Besuchen Sie das hbz auf der Bielefeld Conference vom 3. bis 5. Februar an Stand 7 ! |