Postgres install problem
От | Peter Ai |
---|---|
Тема | Postgres install problem |
Дата | |
Msg-id | 001001bf48ef$bfb30f70$fc3561cb@grace обсуждение исходный текст |
Ответы |
Re: [GENERAL] Postgres install problem
Re: [GENERAL] Postgres install problem |
Список | pgsql-general |
Hi, Postgres guru, I am new to Postgres and just downloaded the source to compile on my Caldera 2.2.5. I got a trouble and here is what i did (follwoing the INTALL file): Hardware : Pentium 200 with 32M ram, 2.1G HD(Linux partition) 1)Add a new account postgres 2)make dir /usr/scr/pgsql ; /usr/local/pgsql and changed ownership/group to postgres through root 3) cd /usr/src/pgsql and unzipped the source achive 4)cd /usr/src/pgsql/postgres-6.5.3/src and run ./configure --with-template=linux_i386 --without-CXX make all >make.log 2>&1 & the make failed (see make.log) !! make[3]: Leaving directory `/usr/src/pgsql/postgresql-6.5.3/src/backend/utils/time' gcc -I../../include -I../../backend -O2 -mpentium -Wall -Wmissing-prototyp es -I.. -c fmgrtab.c -o fmgrtab.o ld -r -o SUBSYS.o fmgrtab.o adt/SUBSYS.o cache/SUBSYS.o error/SUBSYS.o fmgr/SUBSYS.o hash/SUBSYS.o init/SUBSYS.o misc/SUBSYS.o mmgr/SUBSYS.o sort/SUBSYS.o time/SUBSYS.o make[2]: Leaving directory `/usr/src/pgsql/postgresql-6.5.3/src/backend/utils' 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+0x3ca2): undefined reference to `crypt' libpq/SUBSYS.o: In function `verify_password': libpq/SUBSYS.o(.text+0x3fba): 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 How can i solve this ? NB: I downloaded bison-1.28 and compiled /installed successfully. I changed Makefile.global to have: YFLAGS= -y -d YACC= /usr/local/bin/bison I also changed Makefile.custom to have CFLAGS = -mpentium Any help is much appreciatted . Peter
В списке pgsql-general по дате отправления: