postgresql/doc/FAQ_Solaris

51 lines
1.5 KiB
Plaintext
Raw Normal View History

2001-03-14 04:42:11 +08:00
============================================================
Frequently Asked Questions (FAQ) for PostgreSQL V7.1
Sun Solaris specific
to be read in conjunction with the installation instructions
============================================================
last updated: $Date: 2001/03/13 20:42:11 $
1999-09-27 11:34:54 +08:00
current maintainer: Marc Liyanage (liyanage@access.ch)
original author: Marc Liyanage (liyanage@access.ch)
Contents:
2001-03-14 04:42:11 +08:00
1) What tools do I need to build and install PostgreSQL on Solaris?
2) Why do I get problems when building with OpenSSL support?
2001-03-14 04:42:11 +08:00
1) What tools do I need to build and install PostgreSQL on Solaris?
1999-09-27 11:34:54 +08:00
You will need
2001-03-14 04:42:11 +08:00
- GNU zip (for installing the documentation)
1999-09-27 11:34:54 +08:00
- GNU make
2001-03-14 04:42:11 +08:00
- GNU readline library (optional)
1999-09-27 11:34:54 +08:00
2001-03-14 04:42:11 +08:00
Both GCC and the Sun compiler suite work.
1999-09-27 11:34:54 +08:00
If you like Solaris packages, you can find these tools here:
http://www.sunfreeware.com
If you prefer sources, look here:
http://www.gnu.org/order/ftp.html
2001-03-14 04:42:11 +08:00
2) Why do I get problems when building with OpenSSL support?
1999-09-27 11:34:54 +08:00
2001-03-14 04:42:11 +08:00
When you build PostgreSQL with OpenSSL support you will probably get
compilation errors in the following files:
1999-09-27 11:34:54 +08:00
2001-03-14 04:42:11 +08:00
src/backend/libpq/crypt.c
src/backend/libpq/password.c
src/interfaces/libpq/fe-auth.c
src/interfaces/libpq/fe-connect.c
1999-09-27 11:34:54 +08:00
2001-03-14 04:42:11 +08:00
This is because of a namespace conflict between the standard
/usr/include/crypt.h header and the header files provided by OpenSSL.
We believe that this should be fixed by OpenSSL.
1999-09-27 11:34:54 +08:00
2001-03-14 04:42:11 +08:00
The problem can be worked around by removing the inclusion of
<crypt.h> in these four files.