Re: configure: error: header file is - Mailing list pgsql-general

From Peter Peltonen
Subject Re: configure: error: header file is
Date
Msg-id 1019489065.20903.108.camel@aruba
Whole thread Raw
In response to Re: configure: error: header file is required for OpenSSL  (Jean-Michel POURE <jmpoure@translationforge.com>)
Responses Re: configure: error: header file is
List pgsql-general
On Mon, 2002-04-22 at 10:54, Jean-Michel POURE wrote:

> c) Package customization
> The advantage of RPMs is that you can easily create you own packages with
> custom compilation options. To do so:
> - install PostgreSQL source RPM : rpm -Uvh postgresql.src.rpm
> - modify compilation options in /usr/src/RPM/SPECS/postgresql.spec
> - enter rpm -ba /usr/src/RPM/SPECS/postgresql.spec
>   This will recreate both source package (*.src.rpm) and binary packages
> (*.i586.rpm). therefore you will be able to do several installations without
> bothering.

I tried this. It produces the same error as compiling from the real
source:

--<snip>--
checking for openssl/ssl.h... yes
checking for openssl/err.h... no
configure: error: header file <openssl/err.h> is required for OpenSSL
error: Bad exit status from /var/tmp/rpm-tmp.29209 (%build)
--</snip>--

I really don't understand this:

[root@cayman SPECS]# ls /usr/include/openssl/ssl.h
/usr/include/openssl/ssl.h
[root@cayman SPECS]# ls /usr/include/openssl/err.h
/usr/include/openssl/err.h

Regards,
Peter




pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Locale settings
Next
From: Tom Lane
Date:
Subject: Re: configure: error: header file is