"Gavan Schneider" <gavan-pg-list@pendari.net> writes:
> -bash-3.2$ ./configure --with-openssl \
> > --with-includes=/usr/local/opt/openssl/include/openssl \
> > --with-libraries=/usr/local/opt/openssl/lib
> ...
> 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
Offhand, I'll guess that you need to shorten the --with-includes
path to
--with-includes=/usr/local/opt/openssl/include
What you are showing here would only work if the header file's full path
is
/usr/local/opt/openssl/include/openssl/openssl/ssl.h
which doesn't seem likely.
regards, tom lane