Thread per SSH zwei Kommandos ausführen (22 answers)
Opened by bianca at 2020-08-02 13:30

bianca
 2020-08-03 14:16
#192453 #192453
User since
2009-09-13
7010 articles
BenutzerIn

user image
Ich habe jetzt hier doch gerade noch ein anderes Problem. Und zwar lässt sich das Modul auf einem Windows 10 mit Strawberry 5.18.4 nicht installieren.
Meldung:
Code: (dl )
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
Configuring R/RK/RKITOVER/Net-SSH2-0.71.tar.gz with Makefile.PL

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 , or libgcrypt, which can be obtained
from http://www.gnupg.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 (and extra link args) on the
command line. E.g.:

perl Makefile.PL lib=$HOME/libssh2/lib inc=$HOME/libssh2/include \
ldargs="-lz"

These can also be set through the LIBSSH2_LIB/LIBSSH2_INCLUDE/LIBSSH2_LDARGS
environment variables.

To build with libgcrypt instead of OpenSSL, pass 'gcrypt' as a parameter to
Makefile.PL, e.g.:

perl Makefile.PL gcrypt

Looking for libraries...
Analyzing file assertlibMf9bpvzG.exe
Unable to find a working version of library z in the following directories:
C:\strawberry\perl\site
C:\strawberry\perl
/usr
/usr/local
/opt
/opt/local
/usr/local/libssh2
/opt/libssh2
/usr/local/ssl
Warning: No success on command[C:\strawberry\perl\bin\perl.exe Makefile.PL]
RKITOVER/Net-SSH2-0.71.tar.gz
C:\strawberry\perl\bin\perl.exe Makefile.PL -- NOT OK
Stopping: 'install' failed for 'Net::SSH2'.
Failed during this command:
RKITOVER/Net-SSH2-0.71.tar.gz : writemakefile NO 'C:\strawberry\perl\bin\perl.exe Makefile.PL' returned status 512

Auf einem anderen Windows 10 mit neuerem Perl kam die Meldung nicht aber ich kann hier nicht so ohne weiteres ein Update machen.
Jemand eine Idee, wie/wo ich die libssh2 für Windows her kriege?
Danke
10 print "Hallo"
20 goto 10

View full thread per SSH zwei Kommandos ausführen