Re: Configure with Openssl fails

From: Joe Conway <mail(at)joeconway(dot)com>
To: postgres(at)infinite-drive(dot)com, pgsql-general(at)postgresql(dot)org
Subject: Re: Configure with Openssl fails
Date: 2015-10-21 18:00:02
Message-ID: 5627D2A2.1020904@joeconway.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 10/21/2015 07:31 AM, Michael Hartung wrote:
> being on OS X 10.11 (El Capitain) and trying a VPATH build with plain
> "configure" and "make" works fine.
>
> /Users/me/Documents/workspace/postgres/configure --with-openssl
> --with-includes=/usr/local/ssl/include/openssl
> --with-libraries=/usr/local/ssl/lib
>
> fails and leads to:
>
> ...
> 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
>
> Any ideas...?

Just a guess, but if indeed ssl.h is located in
/usr/local/ssl/include/openssl
based on the error message I would try:
--with-includes=/usr/local/ssl/include

HTH,

Joe

--
Crunchy Data - http://crunchydata.com
PostgreSQL Support for Secure Enterprises
Consulting, Training, & Open Source Development

In response to

Browse pgsql-general by date

  From Date Subject
Next Message bricklen 2015-10-21 18:16:41 ERROR: invalid page in block 1226710 of relation base/16750/27244
Previous Message Scott Mead 2015-10-21 17:43:06 Re: trouble downloading postgres 9.4 for RHEL 6.x