[pgsql-jp: 31473] Re: 7.4RC2 Mac OS X Panther上で initdb エラー

sugita @ sra.co.jp sugita @ sra.co.jp
2003年 11月 14日 (金) 18:16:03 JST


  根岸さん、

From: 根岸 智幸 <tomoyu-n @ tokyo-cafe.com>
Subject: [pgsql-jp: 31451] 7.4RC2 Mac OS X Panther上で initdb エラー
Date: Thu, 13 Nov 2003 17:40:16 +0900

;;; Mac OS X 10.3 Panther上で、7.4RC1および7.4RC2をmakeしてみましたが、
;;; initdbでエラーになります。
;;; 
;;; ・Mac OS X 10.3は新規インストール
;;; 
;;; $ ./configure --without-readline
;;; $ make all
;;; $ make check
;;; ここで
;;; test geometry             ... FAILED
;;; となって、
;;; make[2]: *** [check] Error 1
;;; rm regress.o
;;; make[1]: *** [check] Error 2
;;; make: *** [check] Error 2
;;; 
;;; となりますが、とりあえず

  同様です。本家 ML に報告されてはいかがでしょう?

;;; $ make install
;;; 
;;; インストールできたかと思って
;;; 
;;; $ initdb
;;; とすると、
;;; 
;;; 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 ja_JP.EUC-JP.
;;; 
;;; creating directory /usr/local/pgsql/data... ok
;;; creating directory /usr/local/pgsql/data/base... ok
;;; creating directory /usr/local/pgsql/data/global... ok
;;; creating directory /usr/local/pgsql/data/pg_xlog... ok
;;; creating directory /usr/local/pgsql/data/pg_clog... ok
;;; selecting default max_connections... 10
;;; selecting default shared_buffers... 50
;;; creating configuration files... ok
;;; creating template1 database in /usr/local/pgsql/data/base/1... FATAL:  
;;; XX000: failed to initialize lc_messages to ""
;;; LOCATION:  InitializeGUCOptions, guc.c:1866
;;; 
;;; initdb: failed
;;; initdb: removing data directory "/usr/local/pgsql/data"
;;; 
;;; となってしまいます。

    $ LANG=C initdb --encoding=EUC_JP --no-locale
    $ LANG=C pg_ctl start

とするとうまく行きませんか?


Kenji Sugita                                      
Senior Manager                     Tel: +81-45-948-1615
Open Source Solution Division      Fax: +81-45-948-1617
Software Research Associates, Inc. 



pgsql-jp メーリングリストの案内