I add -lncurses like this in Makefile.global:
#-------------------------------------------------------------
# See the subdirectory template for default settings for these
#-------------------------------------------------------------
CC= gcc
YFLAGS= -y -d
YACC= /usr/bin/bison
LEX= flex
AROPT= crs
CFLAGS= -I$(SRCDIR)/include -I$(SRCDIR)/backend
CFLAGS_SL= -fpic
LDFLAGS= -ldl -lm -lbsd -lreadline -lhistory -lncurses
DLSUFFIX= .so ^^^^^^^^^^^^^^^^^^
include $(SRCDIR)/Makefile.port
#-----------------------------------------------------
Now make don't get me error like last time but this:
/usr/include/asm/bitops.h:32: warning: no previous prototype for `set_bit'
/usr/include/asm/bitops.h:43: warning: no previous prototype for `clear_bit'
/usr/include/asm/bitops.h:54: warning: no previous prototype for `change_bit'
/usr/include/asm/bitops.h:68: warning: no previous prototype for `test_bit'
/usr/include/asm/bitops.h:76: warning: no previous prototype for `find_first_zer
o_bit'
They are warning, so I don't know if are important, but when initb run I have:
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
So, another one: HELP