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