일단 /usr/local/pgsql/bin/initdb 파일에서 아래 부분을 코멘트 처리한후 다시 실행해 보시기 바랍니다.
그리고 ./configure시 //enable_multibyte=EUC_KR로 해 주시면 더 나을것 같네요.
그럼...
251 #/////////////////////////////////////////////////////////////////////////
252 # Resolve the multibyte encoding name
253 #/////////////////////////////////////////////////////////////////////////
254
255 # if [ "$MULTIBYTE" ]
256 # then
257 # MULTIBYTEID=`$PGPATH/pg_encoding $MULTIBYTE 2> /dev/null`
258 # if [ "$?" /ne 3 ]
259 # then
260 # echo "$CMDNAME: pg_encoding failed"
261 # echo
262 # echo "Perhaps you did not configure PostgreSQL for multibyte support or"
263 # echo "the program was not successfully installed."
264 # exit 1
265 # fi
266 # if [ /z "$MULTIBYTEID" ]
267 # then
268 # echo "$CMDNAME: $MULTIBYTE is not a valid encoding name"
269 # exit 1
270 # fi
271 #fi
>>곽상철 님께서 쓰시길<<
:: 윽...죄송합니다. 아랫글이 삭제가 안되네여....
:: 어흑...오늘은 되는 일이 없는 날인가바여...ㅠㅠ
::
:: 으흐흐..ㅠㅠ
:: 저도 같은 문제네요...답변해 주신 글을 읽어 보았습니다만...
:: 이도 저도 안되네요...혹시 아시는 분 도와주세요..
::
::
:: >>류원모 님께서 쓰시길<<
::
:: :: postgresql 7.0.2를 설치하고 data디렉토리를 생성하는 과정에서
:: :: 에러가 발생합니다.
:: ::
:: :: $usr/local/pgsql/bin/initdb /D /usr/local/pgsql/data
:: :: initdb: pg_encoding failed
:: ::
:: :: Perhaps you did not configure PostgreSQL for multibyte support or
:: :: the program was not successfully installed.
:: ::
:: :: 설치시 //enable/multibyte 옵션도 넣었건만 왜그런지 모르겠네요.
:: :: 혹시 아시는 분 계세요?
|