Skip site navigation (1) Skip section navigation (2)

Failure compiling PostgreSQL 6.5.3 on Caldera Linux 2.2

From: gordt(at)actionsoftware(dot)com (Gord Tomlin)
To: <pgsql-ports(at)postgresql(dot)org>
Subject: Failure compiling PostgreSQL 6.5.3 on Caldera Linux 2.2
Date: 2000-01-17 17:20:05
Message-ID: 009a01bf610f$187b4a00$041964c6@MZ04 (view raw or flat)
Thread:
Lists: pgsql-ports
I have been attempting to compile PostgreSQL 6.5.3 on Caldera Linux 2.2,
so far without success.

Problem 1 (resolved): Caldera Linux 2.2 does not come with yacc or bison.
Fixed the problem by installing bison 1.28. Perhaps the installation
instructions should mention the requirement for yacc or bison the same way
as is done for flex.

Problem 2 (not resolved): undefined reference to 'crypt'. The following
excerpt
from make.log shows where this occurred:

gcc -o postgres access/SUBSYS.o bootstrap/SUBSYS.o catalog/SUBSYS.o
commands/SUBSYS.o executor/SUBSYS.o lib/SUBSYS.o libpq/SUBSYS.o
main/SUBSYS.o parser/SUBSYS.o nodes/SUBSYS.o optimizer/SUBSYS.o
port/SUBSYS.o postmaster/SUBSYS.o regex/SUBSYS.o rewrite/SUBSYS.o
storage/SUBSYS.o tcop/SUBSYS.o utils/SUBSYS.o
../utils/version.o -lnsl -ldl -lm  -export-dynamic
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[1]: *** [postgres] Error 1
make[1]: Leaving directory `/usr/src/pgsql/postgresql-6.5.3/src/backend'
make: *** [all] Error 2

I have attached config.log and make.log in case they contain any clues as to
the cause of the problem. Please let me know if you need any further
information.

Regards, Gord Tomlin
Action Software International
(a division of Mazda Computer Corporation)
Tel: (905) 470-7113, Fax: (905) 470-6507, gordt(at)actionsoftware(dot)com

Attachment: config.log
Description: application/octet-stream (8.0 KB)
Attachment: make.log
Description: application/octet-stream (50.9 KB)

pgsql-ports by date

Next:From: Gord TomlinDate: 2000-01-17 20:04:00
Subject: Unable to make PostgreSQL 6.5.3 on Caldera Linux 2.2: undefined reference to 'crypt'
Previous:From: Francis K ShimDate: 2000-01-15 17:23:45
Subject: (Caldera) OpenLinux 2.2 and PostgreSQL

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group