Re: solaris install - 8.0.3 config fails on openssl, 7.4 config works

From: "Roth, Gabrielle" <gabrielle(dot)roth(at)xo(dot)com>
To: <pgsql-admin(at)postgresql(dot)org>
Subject: Re: solaris install - 8.0.3 config fails on openssl, 7.4 config works
Date: 2005-10-17 22:31:45
Message-ID: E2383CA82A645A45B72D523F5A29311A01297BF7@UTSANDMAIL02.mail.inthosts.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)pepco(dot)com [mailto:mjmayfield(at)pepco(dot)com]
Sent: Monday, October 17, 2005 2:10 PM
To: Roth, Gabrielle
Cc: pgsql-admin(at)postgresql(dot)org; pgsql-admin-owner(at)postgresql(dot)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.

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Thomas F. O'Connell 2005-10-17 23:36:02 Re: postmaster blues after system restart
Previous Message Michael Fuhr 2005-10-17 21:39:16 Re: Solving OID wrap-around in 7.4 DB?