Re: [GENERAL] make[2]: *** [psql] Error 1 - Mailing list pgsql-general

From Andrea Antibo
Subject Re: [GENERAL] make[2]: *** [psql] Error 1
Date
Msg-id XFMail.981007110458.antibo@mclink.it
Whole thread Raw
In response to Re: [GENERAL] make[2]: *** [psql] Error 1  ("James Oden" <joden@lee.k12.nc.us>)
List pgsql-general
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



pgsql-general by date:

Previous
From: Tom Ivar Helbekkmo
Date:
Subject: Re: [GENERAL] status on IPv6 implementation...
Next
From: aharon@deltathree.com (Aharon (Al) Schkolnik)
Date:
Subject: Up-to-date PostgreSQL User's Guide - Postscipt ?