FreeBSD Port: libssh2-0.11

Zerta Sven sven.zerta at eurowings.com
Tue Oct 25 02:26:22 PDT 2005


Hi,
 
i have troubles making port /usr/ports/security/libssh2 with FreeBSD
4.11 on i386
 
uname is 
 
FreeBSD 4.11-STABLE #5: Mon Oct 24 13:12:41 CEST 2005
 
I receive the following error:
 
cd /usr/ports/security/libssh2
make

===>  Building for libssh2-0.11
cc -o channel.o channel.c -c -O -pipe  -I/usr/local/include
-I/usr/include -Wall -g -I../include/ -fPIC
In file included from channel.c:38:
../include/libssh2_priv.h:206: `MD5_DIGEST_LENGTH' undeclared here (not
in a function)
../include/libssh2_priv.h:209: `SHA_DIGEST_LENGTH' undeclared here (not
in a function)
*** Error code 1
 
Stop in /usr/ports/security/libssh2/work/libssh2-0.11/src.
*** Error code 1
 
Stop in /usr/ports/security/libssh2/work/libssh2-0.11.
*** Error code 1
 
Stop in /usr/ports/security/libssh2.
 
After changing the line
    CFLAGS = -c -O -pipe  -I/usr/local/include -I/usr/include -Iinclude/
-Wall -g
to
    CFLAGS = -c -O -pipe  -I/usr/local/include/openssl -I/usr/include
-Iinclude/ -Wall -g
in files
    /usr/ports/security/libssh2/work/libssh2-0.11/Makefile and
/usr/ports/security/libssh2/work/libssh2-0.11/src/Makefile
 
it works fine.
 
Is that a known problem with that port or am i the only one having
trouble?
 
kind regards
Sven Zerta


More information about the freebsd-ports mailing list