Like many other people, I was unable to install PostgreSQL 6.5.3 on
Caldera OpenLinux 2.2. Here are the things I had to do to make it work,
and some suggested changes for the documentation that might have helped
make the install easier.
1. Caldera OpenLinux 2.2 (or at least mine) does not have either yacc or
bison. This results in a terminating error in make. I fixed this by
downloading and installing bison 1.28 and doing
2. Caldera OpenLinux 2.2 does not ship crypt with glibc, due to
cryptography export restrictions which I believe are no longer in
effect. This is documented in their knowledge base at:
Without crypt installed on the system, make all fails with the following
error messages (snipped):
libpq/SUBSYS.o: In function `crypt_verify':
libpq/SUBSYS.o(.text+0x3a64): undefined reference to `crypt'
libpq/SUBSYS.o: In function `verify_password':
libpq/SUBSYS.o(.text+0x3ca7): undefined reference to `crypt'
make: *** [postgres] Error 1
make: Leaving directory `/usr/src/pgsql/postgresql-6.5.3/src/backend'
make: *** [all] Error 2
crypt and crypt-static can be downloaded from:
The files are:
After these packages are installed, running make clean, ./configure, and
make all does *NOT* result in success. The same error messages result.
It is necessary to wipe out the PostgreSQL directory structure and start
again from gunzip. I assume (without researching to prove it) that
configure saves the results of checking the presence/absence/location of
crypt, and only rechecks this if it does not find the result of a prior
3. All the regression tests worked except float8, geometry, and abstime.
All of the errors in these three tests appeared to be trivial.
1. The "Requirements to run Postgres" section should be updated to list
ALL prerequisites for PostgreSQL. In addition to GNU make, I have had
the good fortune to discover that crypt and either yacc or bison are
required. I don't know what other packages were prerequisites that just
happened to already be on my system.
2. configure should be updated to perform the check for crypt every time
it is run. From what I have seen on the mailing lists, many people have
wasted a lot of time trying to fix the problem by editing makefiles,
3. The installation instructions should refer to the actual file
locations that result when the instructions are followed. Once the
distribution is unzipped, most of the work is done in
/usr/src/pgsql/postgresql-6.5.3/src, not in /usr/src/pgsql/src.
If anyone needs any more information, please let me know.
pgsql-ports by date
|Next:||From: Erol Oz||Date: 2000-02-09 16:22:42|
|Subject: Corel Linux 1.0|
|Previous:||From: Horák Daniel||Date: 2000-02-09 11:24:54|
|Subject: RE: [PORTS] windows port|