make[2]: *** [psql] Error 1

From: Andrea Antibo <antibo(at)mclink(dot)it>
To: pgsql-general(at)postgresql(dot)org, pgsql-novice(at)postgresql(dot)org
Subject: make[2]: *** [psql] Error 1
Date: 1998-10-05 18:16:33
Message-ID: XFMail.981005201633.antibo@mclink.it
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

when I compile postgres 6.3.2 under linux I have this error with "make all" and
"make install":

from make install:

/usr/lib/libreadline.a(terminal.o): In function `_rl_enable_meta_key':
terminal.o(.text+0x7ce): undefined reference to `tputs'
/usr/lib/libreadline.a(terminal.o): In function `_rl_control_keypad':
terminal.o(.text+0x7fb): undefined reference to `tputs'
terminal.o(.text+0x822): undefined reference to `tputs'
make[2]: *** [psql] Error 1

from make all:

>.
>.
>.
terminal.o(.text+0x26b): undefined reference to `tgetent'
terminal.o(.text+0x35c): undefined reference to `PC'
terminal.o(.text+0x366): undefined reference to `BC'
terminal.o(.text+0x370): undefined reference to `UP'
terminal.o(.text+0x3be): undefined reference to `tgetflag'
terminal.o(.text+0x3cf): undefined reference to `tgetflag'
terminal.o(.text+0x41f): undefined reference to `tgetflag'
terminal.o(.text+0x430): undefined reference to `tgetflag'
/usr/lib/libreadline.a(terminal.o): In function `_rl_backspace':
terminal.o(.text+0x666): undefined reference to `tputs'
/usr/lib/libreadline.a(terminal.o): In function `ding':
terminal.o(.text+0x72f): undefined reference to `tputs'
/usr/lib/libreadline.a(terminal.o): In function `_rl_enable_meta_key':
terminal.o(.text+0x7ce): undefined reference to `tputs'
/usr/lib/libreadline.a(terminal.o): In function `_rl_control_keypad':
terminal.o(.text+0x7fb): undefined reference to `tputs'
terminal.o(.text+0x822): undefined reference to `tputs'
make[2]: *** [psql] Error 1
make[2]: Leaving directory `/usr/src/pgsql/src/bin/psql'

so, when initdb run there is:

initdb: using /usr/local/pgsql/lib/local1_template1.bki.source as input to
create the template database.
initdb: using /usr/local/pgsql/lib/global1.bki.source as input to create the
global classes.
initdb: using /usr/local/pgsql/lib/pg_hba.conf.sample as the host-based
authentication control file.

We are initializing the database system with username postgres (uid=26).
This user will own all the files and must also own the server process.

initdb: creating template database in /usr/local/pgsql/data/base/template1
Running: postgres -boot -C -F -D/usr/local/pgsql/data -Q template1
WARN:heap_modifytuple: repl is \ 0
initdb: could not create template database
initdb: cleaning up by wiping out /usr/local/pgsql/data/base/template1

HELP!!!!!

Browse pgsql-general by date

  From Date Subject
Next Message David Welton 1998-10-05 18:29:28 Corrupt database?
Previous Message Antonio Garcia Mari 1998-10-05 18:10:22 Bug? Inserting with not null