Thread: initdb strange error

initdb strange error

From
XuYifeng
Date:
Hi,

I just downloaded postgresql 6.3.2, I have never installed postgresql on
my machine,
I built it successfully on Slackware linux 3.5,
But when running initdb, it output following strange error message, can
anyone
tell me what it 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.

/usr/local/pgsql/bin/initdb: [: =: unary operator expected
/usr/local/pgsql/bin/initdb: [: too many arguments
We are initializing the database system with username postgres (uid=).
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
initdb: could not create template database
initdb: cleaning up by wiping out /usr/local/pgsql/data/base/template1

Xu Yifeng