Re: Broken-ness configuring with openssl-0.9.7b and openssh-3.6.1p1

From: Sebastian Hans (hanss_at_in.tum.de)
Date: 04/29/03


Date: Tue, 29 Apr 2003 08:43:11 +0000 (UTC)

David Favor <david@davidfavor.com> wrote:
> Sebastian Hans <hanss@in.tum.de> wrote in message news:<b8bhvj$54rc3$1@sunsystem5.informatik.tu-muenchen.de>...
>> David Favor <david@davidfavor.com> wrote:
>> >
>> > Note the include files [of openssl] are put in:
>> >
>> > /usr/local/openssl/include/openssl not /usr/local/openssl/include
>> >
>> > as I'd expect... And also as openssh-3.6.1p1 expects as its configure
>> > script builds up a gcc line:
>> >
>> > gcc -o conftest -g -O2 -pipe -Wall -Wpointer-arith -Wno-uninitialized \
>> > -I/usr/local/openssl/include -I/usr/src/active/zlib \
>> > -L/usr/local/openssl/lib -L/usr/src/active/zlib \
>> > conftest.c -lutil -lz -lnsl -lcrypto
>> >
>> > Again notice /usr/local/openssl/include in the gcc line, however the
>> > files are of course in /usr/local/openssl/include/openssl.
>
> Configure bombs out with the message:
>
> checking OpenSSL header version... not found
> configure: error: OpenSSL version header not found
>
> because the include directive passed is -I/usr/local/include

Is this /usr/local/include or /usr/local/openssl/include, as you wrote
above?

> instead of -I/usr/local/include/openssl.

Are you sure? Because the include directory (assuming it *is*
/usr/local/openssl/include is perfectly correct for this setup.
The file included in conftest.c is openssl/opensslv.h - not opensslv.h.
What's the exact error message in config.log?

Seb.