hpux 11.11 initdb error

Lists: pgsql-bugs
From: "Ed Stouder" <ed(at)beechglen(dot)com>
To: <pgsql-bugs(at)postgresql(dot)org>
Subject: hpux 11.11 initdb error
Date: 2003-12-17 22:32:51
Message-ID: 00fd01c3c4ed$b6ddfa80$3258a8c0@beechglen.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-bugs

HP-UX 11.11

PostgreSQL Version 7.4

installation to non default location

./configure --prefix=/usr/local/pgsql74

After make and instalation which appears to have worked, the initdb process
fails with the following.

creating conversions... ERROR: could not access file
"$libdir/ascii_and_mic": N
o such file or directory

Example:

$ /usr/local/pgsql74/bin/initdb -D /pgsql
The files belonging to this database system will be owned by user
"postgres".
This user must also own the server process.

The database cluster will be initialized with locale C.

fixing permissions on existing directory /pgsql... ok
creating directory /pgsql/base... ok
creating directory /pgsql/global... ok
creating directory /pgsql/pg_xlog... ok
creating directory /pgsql/pg_clog... ok
selecting default max_connections... 50
selecting default shared_buffers... 1000
creating configuration files... ok
creating template1 database in /pgsql/base/1... ok
initializing pg_shadow... ok
enabling unlimited row size for system tables... ok
initializing pg_depend... ok
creating system views... ok
loading pg_description... ok
creating conversions... ERROR: could not access file
"$libdir/ascii_and_mic": N
o such file or directory

Based on some simple testing it appears initdb is looking for the files in
the default location not the prefix location.

On a test system copied directory /usr/local/pgsql74 to /usr/local/pgsql and
did"/usr/local/pgsql74/bin/initdb -D /pgsql". This worked.

Ed Stouder


From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Ed Stouder" <ed(at)beechglen(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: hpux 11.11 initdb error
Date: 2003-12-19 18:16:57
Message-ID: 10726.1071857817@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-bugs

"Ed Stouder" <ed(at)beechglen(dot)com> writes:
> Based on some simple testing it appears initdb is looking for the files in
> the default location not the prefix location.

I don't think so. Nondefault --prefix is actually the standard
configuration for me and most of the other developers; I can assure you
we'd notice if it didn't work. This may be an HPUX 11-specific issue
(I do development on HPUX 10.20, so I know that works, but don't have
access to an HPUX 11 installation).

regards, tom lane