Re: solaris install - 8.0.3 config fails on openssl, 7.4 config works - Mailing list pgsql-admin

From Roth, Gabrielle
Subject Re: solaris install - 8.0.3 config fails on openssl, 7.4 config works
Date
Msg-id E2383CA82A645A45B72D523F5A29311A01297BF7@UTSANDMAIL02.mail.inthosts.net
Whole thread Raw
In response to solaris install - 8.0.3 config fails on openssl, 7.4 config works  ("Roth, Gabrielle" <gabrielle.roth@xo.com>)
Responses Re: solaris install - 8.0.3 config fails on openssl, 7.4 config works
Re: solaris install - 8.0.3 config fails on openssl, 7.4 config works
List pgsql-admin
(Is keeping the traffic on the list the accepted protocol here? Or do we
cc an ever-increasing # of respondents?)

This solution worked (setting the CPPFLAGS).

The strange thing to me is that I didn't have to do anything extra for
the 7.4 install, it "just worked."  Is that something I should be
concerned about or no?

Thanks!  Upgrading this was so quick once I got this worked out.  I love
it.

gabrielle

-----Original Message-----
From: mjmayfield@pepco.com [mailto:mjmayfield@pepco.com]
Sent: Monday, October 17, 2005 2:10 PM
To: Roth, Gabrielle
Cc: pgsql-admin@postgresql.org; pgsql-admin-owner@postgresql.org
Subject: Re: [ADMIN] solaris install - 8.0.3 config fails on openssl,
7.4 config works



CPPFLAGS="-I/usr/local/ssl/include" export CPPFLAGS

You have to set the CPPFLAGS to whatever your ssl/include path is.

MM


I wrote:
Building a new server here (solaris 9), was going to put 8.0.3 on it.

./configure --with-openssl --enable-syslog

fails with this error message:
configure: error: header file <openssl/ssl.h> is required for OpenSSL

config.log has this:
configure:9227: checking openssl/ssl.h usability
configure:9236: gcc -c -O2 -Wall -Wmissing-prototypes -Wpointer-arith
-Wendif-labels -fno-strict-aliasing   conftest.c >&5
configure:9264:25: openssl/ssl.h: No such file or directory
.....
configure:9254: result: no
configure:9258: checking openssl/ssl.h presence
configure:9265: gcc -E   conftest.c
configure:9261:25: openssl/ssl.h: No such file or directory
configure:9271: $? = 1
configure: failed program was:
#line 9260 "configure"
#include "confdefs.h"
#include <openssl/ssl.h>
configure:9289: result: no
configure:9307: checking for openssl/ssl.h
configure:9314: result: no
configure:9321: error: header file <openssl/ssl.h> is required for
OpenSSL

- I've verified that the path to ssl.h is in my LD_LIBRARY_PATH.
- I have openssl-0.97f, which is a later version than the 0.96 specified
in the FAQ (http://www.postgresql.org/docs/faqs.FAQ_Solaris.html)
- I get the same error with 8.0.4
- I got fed up with troubleshooting it (it was a long day...) & tried
7.4 - configured with the same command and installed without a hitch.

pgsql-admin by date:

Previous
From: Michael Fuhr
Date:
Subject: Re: Solving OID wrap-around in 7.4 DB?
Next
From: "Thomas F. O'Connell"
Date:
Subject: Re: postmaster blues after system restart