Hello!
I try to install postgresql and according to the gentoo howto after the emerge 
I execute the followning command and get this error:

# emerge --config =postgresql-8.0.12


Configuring pkg...

 * Creating the data directory ...
 * Initializing the database ...
QA Notice: USE Flag 'kernel_linux' not in IUSE for dev-db/postgresql-8.0.12
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 hu_HU.iso88592.
The default database encoding has accordingly been set to LATIN2.

fixing permissions on existing directory /var/lib/postgresql/data ... ok
creating directory /var/lib/postgresql/data/global ... ok
creating directory /var/lib/postgresql/data/pg_xlog ... ok
creating directory /var/lib/postgresql/data/pg_xlog/archive_status ... ok
creating directory /var/lib/postgresql/data/pg_clog ... ok
creating directory /var/lib/postgresql/data/pg_subtrans ... ok
creating directory /var/lib/postgresql/data/base ... ok
creating directory /var/lib/postgresql/data/base/1 ... ok
creating directory /var/lib/postgresql/data/pg_tblspc ... ok
selecting default max_connections ... 10
selecting default shared_buffers ... 50
creating configuration files ... ok
creating template1 database in /var/lib/postgresql/data/base/1 ... FATAL:  
XX000: failed to initialize lc_messages to ""
LOCATION:  InitializeGUCOptions, guc.c:2403
child process exited with exit code 1
initdb: removing contents of data directory "/var/lib/postgresql/data"
 * 
 * You can use the '//etc/init.d/postgresql' script to run PostgreSQL instead 
of 'pg_ctl'.
 * 

If I see what the locale setting are, I see that LC_MESSAGE is set:
# locale           
LANG=hu
LC_CTYPE="hu_HU.iso88592"
LC_NUMERIC="hu_HU.iso88592"
LC_TIME="hu_HU.iso88592"
LC_COLLATE="hu_HU.iso88592"
LC_MONETARY="hu_HU.iso88592"
LC_MESSAGES="hu_HU.iso88592"
LC_PAPER="hu_HU.iso88592"
LC_NAME="hu_HU.iso88592"
LC_ADDRESS="hu_HU.iso88592"
LC_TELEPHONE="hu_HU.iso88592"
LC_MEASUREMENT="hu_HU.iso88592"
LC_IDENTIFICATION="hu_HU.iso88592"
LC_ALL=hu_HU.iso88592

Can somebody tell me what do I wrong?

Thanks,
István
--
gentoo-user@gentoo.org mailing list

Reply via email to