Hi, just in case this should be addressed...

$uname -a
CYGWIN_NT-5.0 xxxxxx 1.5.25(0.156/4/2) 2008-06-12 19:34 i686 Cygwin

$ make check
Making check in src
make[1]: Entering directory `/home/yang/libssh2/src'
make[1]: Leaving directory `/home/yang/libssh2/src'
Making check in example
make[1]: Entering directory `/home/yang/libssh2/example'
Making check in simple
make[2]: Entering directory `/home/yang/libssh2/example/simple'
make[2]: Nothing to be done for `check'.
make[2]: Leaving directory `/home/yang/libssh2/example/simple'
make[2]: Entering directory `/home/yang/libssh2/example'
make[2]: Nothing to be done for `check-am'.
make[2]: Leaving directory `/home/yang/libssh2/example'
make[1]: Leaving directory `/home/yang/libssh2/example'
Making check in tests
make[1]: Entering directory `/home/yang/libssh2/tests'
make  simple.exe
make[2]: Entering directory `/home/yang/libssh2/tests'
gcc -DHAVE_CONFIG_H -I. -I../src  -I../src -I../include -I../src
-DLIBSSH2_WIN32 -MT simple.o -MD -MP -MF .deps/simple.Tpo -c -o
simple.o simple.c
mv -f .deps/simple.Tpo .deps/simple.Po
/bin/sh ../libtool --tag=CC   --mode=link gcc  -DLIBSSH2_WIN32   -o
simple.exe simple.o ../src/libssh2.la
gcc -DLIBSSH2_WIN32 -o .libs/simple.exe simple.o
../src/.libs/libssh2.dll.a -lssl -lcrypto -lz  -L/usr/local/lib
creating simple.exe
make[2]: Leaving directory `/home/yang/libssh2/tests'
make  check-TESTS
make[2]: Entering directory `/home/yang/libssh2/tests
PASS: simple.exe
Privilege separation user sshd does not exist
failed to connect!
FAIL: ssh2.sh
====================================================
1 of 2 tests failed
Please report to libssh2-devel@lists.sourceforge.net
====================================================
make[2]: *** [check-TESTS] Error 1
make[2]: Leaving directory `/home/yang/libssh2/tests'
make[1]: *** [check-am] Error 2
make[1]: Leaving directory `/home/yang/libssh2/tests'
make: *** [check-recursive] Error 1

If libssh2/tests/ssh2.sh is modified to add -o 'UsePrivilegeSeparation
no' linke in:

$SSHD -f /dev/null -h $srcdir/etc/host \
    -o 'Port 4711' -o 'Protocol 2' \
    -o 'UsePrivilegeSeparation no' \
    -o "AuthorizedKeysFile $srcdir/etc/user.pub" -D &
sshdpid=$!

Then the failure becomes:

$ make check
Making check in src
make[1]: Entering directory `/home/Administrador/libssh2/src'
make[1]: Leaving directory `/home/Administrador/libssh2/src'
Making check in example
make[1]: Entering directory `/home/Administrador/libssh2/example'
Making check in simple
make[2]: Entering directory `/home/Administrador/libssh2/example/simple'
make[2]: Nothing to be done for `check'.
make[2]: Leaving directory `/home/Administrador/libssh2/example/simple'
make[2]: Entering directory `/home/Administrador/libssh2/example'
make[2]: Nothing to be done for `check-am'.
make[2]: Leaving directory `/home/Administrador/libssh2/example'
make[1]: Leaving directory `/home/Administrador/libssh2/example'
Making check in tests
make[1]: Entering directory `/home/Administrador/libssh2/tests'
make  simple.exe
make[2]: Entering directory `/home/Administrador/libssh2/tests'
make[2]: `simple.exe' is up to date.
make[2]: Leaving directory `/home/Administrador/libssh2/tests'
make  check-TESTS
make[2]: Entering directory `/home/Administrador/libssh2/tests'
PASS: simple.exe
Fingerprint: A0 90 21 52 25 7A 06 7F B9 7B 52 CE FA A6 93 7F
Authentication methods: publickey,password,keyboard-interactive
        Authentication by public key failed!
FAIL: ssh2.sh
====================================================
1 of 2 tests failed
Please report to libssh2-devel@lists.sourceforge.net
====================================================
make[2]: *** [check-TESTS] Error 1
make[2]: Leaving directory `/home/Administrador/libssh2/tests'
make[1]: *** [check-am] Error 2
make[1]: Leaving directory `/home/Administrador/libssh2/tests'
make: *** [check-recursive] Error 1

-- 
-=[Yang]=-

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
libssh2-devel mailing list
libssh2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libssh2-devel

Reply via email to