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

From: Andrea Antibo <antibo(at)mclink(dot)it>
To: James Oden <joden(at)lee(dot)k12(dot)nc(dot)us>
Cc: pgsql-novice(at)postgreSQL(dot)org, pgsql-general(at)postgreSQL(dot)org
Subject: Re: [GENERAL] make[2]: *** [psql] Error 1
Date: 1998-10-07 09:04:58
Message-ID: XFMail.981007110458.antibo@mclink.it
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Aharon Al Schkolnik 1998-10-07 11:03:53 Up-to-date PostgreSQL User's Guide - Postscipt ?
Previous Message Tom Ivar Helbekkmo 1998-10-07 06:48:24 Re: [GENERAL] status on IPv6 implementation...