Lists: | pgsql-admin |
---|
From: | Jonathan Gardner <jgardner(at)jonathangardner(dot)net> |
---|---|
To: | pgsql-admin(at)postgresql(dot)org |
Subject: | Compiling --with-openssl on Red Hat 9 |
Date: | 2003-11-25 16:54:38 |
Message-ID: | 200311250854.39534.jgardner@jonathangardner.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-admin |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I have a bit of a problem getting PostgreSQL 7.4's configure script to
recognize openSSL.
$ ./configure --with-openssl
...
checking for SSL_library_init in -lssl... yes
...
checking openssl/ssl.h usability... no
checking openssl/ssl.h presence... no
checking for openssl/ssl.h... no
configure: error: header file <openssl/ssl.h> is required for OpenSSL
$ locate openssl/ssl.h
/usr/include/openssl/ssl.h
$ ./configure --with-openssl=/usr/include
...
checking for SSL_library_init in -lssl... yes
...
checking openssl/ssl.h usability... no
checking openssl/ssl.h presence... no
checking for openssl/ssl.h... no
configure: error: header file <openssl/ssl.h> is required for OpenSSL
$ ./configure --with-openssl=/usr/include/openssl
...
checking for SSL_library_init in -lssl... yes
...
checking openssl/ssl.h usability... no
checking openssl/ssl.h presence... no
checking for openssl/ssl.h... no
configure: error: header file <openssl/ssl.h> is required for OpenSSL
Any ideas?
- --
Jonathan Gardner
jgardner(at)jonathangardner(dot)net
Live Free, Use Linux!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE/w4lOWgwF3QvpWNwRAmMCAKC+e17ogRA/uNHdMT3FbMOq3fivawCgx5pS
/obFSTML08z1EcLTkyZh6eE=
=5aZt
-----END PGP SIGNATURE-----
From: | Joe Conway <mail(at)joeconway(dot)com> |
---|---|
To: | Jonathan Gardner <jgardner(at)jonathangardner(dot)net> |
Cc: | pgsql-admin(at)postgresql(dot)org |
Subject: | Re: Compiling --with-openssl on Red Hat 9 |
Date: | 2003-11-25 17:13:11 |
Message-ID: | 3FC38DA7.2050707@joeconway.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-admin |
Jonathan Gardner wrote:
> $ ./configure --with-openssl
I forget the exact reason, but I ran into this before. There is some
kind of dependency between openssl and kerberos 5. Try:
./configure --with-openssl --with-krb5=/usr/kerberos
Joe
From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Jonathan Gardner <jgardner(at)jonathangardner(dot)net> |
Cc: | pgsql-admin(at)postgresql(dot)org |
Subject: | Re: Compiling --with-openssl on Red Hat 9 |
Date: | 2003-11-25 17:15:56 |
Message-ID: | 28561.1069780556@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-admin |
Jonathan Gardner <jgardner(at)jonathangardner(dot)net> writes:
> I have a bit of a problem getting PostgreSQL 7.4's configure script to
> recognize openSSL.
Weird. Maybe some header that ssl.h depends on is missing? Look in
config.log to see exactly what error occurs when configure tries to
probe for ssl.h.
regards, tom lane
From: | William Yu <wyu(at)talisys(dot)com> |
---|---|
To: | pgsql-admin(at)postgresql(dot)org |
Subject: | Re: Compiling --with-openssl on Red Hat 9 |
Date: | 2003-11-25 17:40:23 |
Message-ID: | bq0466$2ojg$1@news.hub.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-admin |
Joe Conway wrote:
> Jonathan Gardner wrote:
>
>> $ ./configure --with-openssl
>
>
> I forget the exact reason, but I ran into this before. There is some
> kind of dependency between openssl and kerberos 5. Try:
>
> ./configure --with-openssl --with-krb5=/usr/kerberos
I have to do this with Apache also on Redhat 9. However, this step is
not needed for Redhat 8. Looks like Redhat just goofed and forgot to put
/usr/kerberos in the default include path for RH9.
From: | Jonathan Gardner <jgardner(at)jonathangardner(dot)net> |
---|---|
To: | Joe Conway <mail(at)joeconway(dot)com> |
Cc: | pgsql-admin(at)postgresql(dot)org |
Subject: | Re: Compiling --with-openssl on Red Hat 9 |
Date: | 2003-11-26 16:52:23 |
Message-ID: | 200311260852.25259.jgardner@jonathangardner.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-admin |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Tuesday 25 November 2003 9:13 am, Joe Conway wrote:
> ./configure --with-openssl --with-krb5=/usr/kerberos
That seems to do the trick. Thanks for the help!
- --
Jonathan Gardner
jgardner(at)jonathangardner(dot)net
Live Free, Use Linux!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE/xNpHWgwF3QvpWNwRAqVNAKDYvMUFvPF5ue33RaRfcUlEWCU5LACg14nv
WpFchmvdEhkHsxhba8NHsBU=
=gz/L
-----END PGP SIGNATURE-----
From: | Jonathan Gardner <jgardner(at)jonathangardner(dot)net> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | pgsql-admin(at)postgresql(dot)org |
Subject: | Re: Compiling --with-openssl on Red Hat 9 |
Date: | 2003-11-26 16:53:19 |
Message-ID: | 200311260853.22407.jgardner@jonathangardner.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-admin |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Tuesday 25 November 2003 9:15 am, Tom Lane wrote:
> Jonathan Gardner <jgardner(at)jonathangardner(dot)net> writes:
> > I have a bit of a problem getting PostgreSQL 7.4's configure script to
> > recognize openSSL.
>
> Weird. Maybe some header that ssl.h depends on is missing? Look in
> config.log to see exactly what error occurs when configure tries to
> probe for ssl.h.
>
It does indeed complain about not being able to find the kerberos headers.
Using the suggestion of a previous poster -- specifying the kerberos
headers as in /usr/kerberos -- solved the problem.
- --
Jonathan Gardner
jgardner(at)jonathangardner(dot)net
Live Free, Use Linux!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE/xNp/WgwF3QvpWNwRAjIbAKCl2v9CVQF+bSPkMl3wdA42gGQy/ACfWTlr
PXrrkR3zlyPebB5RfpmqGrE=
=ZjK1
-----END PGP SIGNATURE-----