Compiling --with-openssl on Red Hat 9
Compiling --with-openssl on Red Hat 9
От:
Jonathan Gardner <jgardner@jonathangardner.net>
Дата:
-----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 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 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 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-----
Re: Compiling --with-openssl on Red Hat 9
От:
Joe Conway <mail@joeconway.com>
Дата:
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
Re: Compiling --with-openssl on Red Hat 9
От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Jonathan Gardner 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
Re: Compiling --with-openssl on Red Hat 9
От:
William Yu <wyu@talisys.com>
Дата:
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.
Re: Compiling --with-openssl on Red Hat 9
От:
Jonathan Gardner <jgardner@jonathangardner.net>
Дата:
-----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-----
Re: Compiling --with-openssl on Red Hat 9
От:
Jonathan Gardner <jgardner@jonathangardner.net>
Дата:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tuesday 25 November 2003 9:15 am, Tom Lane wrote: > Jonathan Gardner 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-----