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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



(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@xxxxxxxxx [mailto:mjmayfield@xxxxxxxxx] 
Sent: Monday, October 17, 2005 2:10 PM
To: Roth, Gabrielle
Cc: pgsql-admin@xxxxxxxxxxxxxx; pgsql-admin-owner@xxxxxxxxxxxxxx
Subject: Re:  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.

---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux