pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Compiling --with-openssl on Red Hat 9
6+ messages / 4 participants
[nested] [flat]

* Compiling --with-openssl on Red Hat 9
@ 2003-11-25 16:54  Jonathan Gardner <jgardner@jonathangardner.net>
  0 siblings, 2 replies; 6+ messages in thread

From: Jonathan Gardner @ 2003-11-25 16:54 UTC (permalink / raw)
  To: 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@jonathangardner.net
Live Free, Use Linux!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE/w4lOWgwF3QvpWNwRAmMCAKC+e17ogRA/uNHdMT3FbMOq3fivawCgx5pS
/obFSTML08z1EcLTkyZh6eE=
=5aZt
-----END PGP SIGNATURE-----




^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: Compiling --with-openssl on Red Hat 9
@ 2003-11-25 17:13  Joe Conway <mail@joeconway.com>
  parent: Jonathan Gardner <jgardner@jonathangardner.net>
  1 sibling, 2 replies; 6+ messages in thread

From: Joe Conway @ 2003-11-25 17:13 UTC (permalink / raw)
  To: Jonathan Gardner <jgardner@jonathangardner.net>; +Cc: 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




^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: Compiling --with-openssl on Red Hat 9
@ 2003-11-25 17:15  Tom Lane <tgl@sss.pgh.pa.us>
  parent: Jonathan Gardner <jgardner@jonathangardner.net>
  1 sibling, 1 reply; 6+ messages in thread

From: Tom Lane @ 2003-11-25 17:15 UTC (permalink / raw)
  To: Jonathan Gardner <jgardner@jonathangardner.net>; +Cc: pgsql-admin

Jonathan Gardner <jgardner@jonathangardner.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



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: Compiling --with-openssl on Red Hat 9
@ 2003-11-25 17:40  William Yu <wyu@talisys.com>
  parent: Joe Conway <mail@joeconway.com>
  1 sibling, 0 replies; 6+ messages in thread

From: William Yu @ 2003-11-25 17:40 UTC (permalink / raw)
  To: 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.





^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: Compiling --with-openssl on Red Hat 9
@ 2003-11-26 16:52  Jonathan Gardner <jgardner@jonathangardner.net>
  parent: Joe Conway <mail@joeconway.com>
  1 sibling, 0 replies; 6+ messages in thread

From: Jonathan Gardner @ 2003-11-26 16:52 UTC (permalink / raw)
  To: Joe Conway <mail@joeconway.com>; +Cc: 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@jonathangardner.net
Live Free, Use Linux!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE/xNpHWgwF3QvpWNwRAqVNAKDYvMUFvPF5ue33RaRfcUlEWCU5LACg14nv
WpFchmvdEhkHsxhba8NHsBU=
=gz/L
-----END PGP SIGNATURE-----




^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: Compiling --with-openssl on Red Hat 9
@ 2003-11-26 16:53  Jonathan Gardner <jgardner@jonathangardner.net>
  parent: Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 6+ messages in thread

From: Jonathan Gardner @ 2003-11-26 16:53 UTC (permalink / raw)
  To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: pgsql-admin

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tuesday 25 November 2003 9:15 am, Tom Lane wrote:
> Jonathan Gardner <jgardner@jonathangardner.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@jonathangardner.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-----




^ permalink  raw  reply  [nested|flat] 6+ messages in thread


end of thread, other threads:[~2003-11-26 16:53 UTC | newest]

Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-11-25 16:54 Compiling --with-openssl on Red Hat 9 Jonathan Gardner <jgardner@jonathangardner.net>
2003-11-25 17:13 ` Joe Conway <mail@joeconway.com>
2003-11-25 17:40   ` William Yu <wyu@talisys.com>
2003-11-26 16:52   ` Jonathan Gardner <jgardner@jonathangardner.net>
2003-11-25 17:15 ` Tom Lane <tgl@sss.pgh.pa.us>
2003-11-26 16:53   ` Jonathan Gardner <jgardner@jonathangardner.net>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox