Mailing List Archive

need help compiling openssh with ldap
Hello List,

i am trying to compile openssh 5.1p1 with the openssh-lpk patch. Here
is how i patched it:

cd openssh-5.1p1
patch -Np1 -i ../openssh-lpk-read-only/patch/contrib/contrib-openssh-lpk-5.1p1-0.3.10.patch

./configure --with-pam --sysconfdir=/etc/ssh --with-ldap=/usr/local/openldap
.
.
.
checking for daemon... yes
checking for getpagesize... yes
checking whether snprintf correctly terminates long strings... no
configure: WARNING: ****** Your snprintf() function is broken,
complain to your vendor
checking whether snprintf can declare const char *fmt... yes
checking whether system supports SO_PEERCRED getsockopt... yes
checking for (overly) strict mkstemp... yes
checking if openpty correctly handles controlling tty... no
checking whether getpgrp requires zero arguments... yes
checking OpenSSL header version... not found
configure: error: OpenSSL version header not found.


The full config.log is here: http://pastebin.com/m2420c2f6

Here are my ssl packages (this is debian):
dpkg -l | grep ssl
ii libcurl3-dev 7.15.5-1etch1
Transitional package to libcurl3-openssl-dev
ii libcurl3-openssl-dev 7.15.5-1etch1
Development files and documentation for libc
ii libssl-dev 0.9.8c-4etch4
SSL development libraries, header files and
ii libssl0.9.8 0.9.8c-4etch4
SSL shared libraries
ii openssl 0.9.8c-4etch4
Secure Socket Layer (SSL) binary and related

Anyone an idea what i am doing wrong?


Thanks,
Mario
Re: need help compiling openssh with ldap [ In reply to ]
Install package "libssl-dev" and try again.

ml ml wrote:
> Hello List,
>
> i am trying to compile openssh 5.1p1 with the openssh-lpk patch. Here
> is how i patched it:
>
> cd openssh-5.1p1
> patch -Np1 -i ../openssh-lpk-read-only/patch/contrib/contrib-openssh-lpk-5.1p1-0.3.10.patch
>
> ./configure --with-pam --sysconfdir=/etc/ssh --with-ldap=/usr/local/openldap
> .
> .
> .
> checking for daemon... yes
> checking for getpagesize... yes
> checking whether snprintf correctly terminates long strings... no
> configure: WARNING: ****** Your snprintf() function is broken,
> complain to your vendor
> checking whether snprintf can declare const char *fmt... yes
> checking whether system supports SO_PEERCRED getsockopt... yes
> checking for (overly) strict mkstemp... yes
> checking if openpty correctly handles controlling tty... no
> checking whether getpgrp requires zero arguments... yes
> checking OpenSSL header version... not found
> configure: error: OpenSSL version header not found.
>
>
> The full config.log is here: http://pastebin.com/m2420c2f6
>
> Here are my ssl packages (this is debian):
> dpkg -l | grep ssl
> ii libcurl3-dev 7.15.5-1etch1
> Transitional package to libcurl3-openssl-dev
> ii libcurl3-openssl-dev 7.15.5-1etch1
> Development files and documentation for libc
> ii libssl-dev 0.9.8c-4etch4
> SSL development libraries, header files and
> ii libssl0.9.8 0.9.8c-4etch4
> SSL shared libraries
> ii openssl 0.9.8c-4etch4
> Secure Socket Layer (SSL) binary and related
>
> Anyone an idea what i am doing wrong?
>
>
> Thanks,
> Mario
>