If the script is only searching ssl.h, With don't you do a symbolic link ?
ln -s /usr/include/openssl/ssl.h /usr/local/openssl/ssl.h
Bruno
Tony Reina wrote:
>I'm trying to build 7.4-beta2 on RedHat Linux 9. I have OpenSSL
>installed, but the Postgres configure script seems to be looking in
>the wrong place for it (or RedHat has moved it to an atypical
>directory). I've tried specifying the directory in
>--with-openssl=/usr/include/openssl and
>--includedir=/usr/include/openssl, but the configure script still
>balks at not being able to find ssl.h. That header file is definitely
>in /usr/include/openssl, but for some reason the script trips up on
>it.
>
>Anybody have a suggestion for what I'm doing wrong? I guess I can
>always try manually correcting the configure script to look in the
>/usr/local/openssl directory, but wanted to see where I was erroring.
>
>configure --prefix=/database/local/pgsql --with-openssl=/usr/include
>--with-odbc --with-cassert --includedir=/usr/include/
>
>or
>
>configure --prefix=/database/local/pgsql
>--with-openssl=/usr/include/openssl --with-odbc --with-cassert
>--includedir=/usr/include/openssl
>
>...
>
>building with OpenSSL support
>...
>checking for SSL_library_init in -lssl... yes
>...
>checking openssl/ssl.h usability... no
>checking openssl/ssl.h presence... no
>checking for openssl/ssl.h... no
>configure: error: header file <openssl/ssl.h> is required for OpenSSL
>
>
>Thanks.
>-Tony
>
>
--
Bruno LEVEQUE
System Engineer
SARL NET6D
bruno.leveque@net6d.com
http://www.net6d.com