[pgsql-jp: 39372] 8.3.1でmake checkに1件エラーがおこってしまいます。
樋口佳之
VYX02237 @ nifty.com
2008年 4月 25日 (金) 12:07:39 JST
8.3.1のインストールを試みているのですが、
--with-libxmlでうまくいっていません。
$ ./configure --with-openssl --with-pam --with-libxml XML2_CONFIG=/usr/local/bin/xml2-config
(最後の XML2_CONFIG=/usr/local/bin/xml2-config は、OSのlibxm2が古すぎ
るので、別途インストールしました。インストール前は、configure 自体が失敗
していました。)
make checkで xmlのテストがエラーとなり、下記の状況です。
! DETAIL: Entity: line 1: parser error : switching encoding : no input
この問題が起きているからエラーとなっているみたいですが、
switching encoding の意味がよくわかりません。
encodingの問題みたいなので、環境変数 LANGを変えたりして見たのですが、
結果は変わりませんでした。
*** ./expected/xml.out Sat Nov 10 00:52:51 2007
--- ./results/xml.out Fri Apr 25 12:23:39 2008
***************
*** 165,179 ****
SELECT xmlparse(document 'abc');
ERROR: invalid XML document
! DETAIL: Entity: line 1: parser error : Start tag expected, '<' not found
abc
^
SELECT xmlparse(document '<abc>x</abc>');
! xmlparse
! --------------
<abc>x</abc>
! (1 row)
!
SELECT xmlpi(name foo);
xmlpi
---------
--- 165,181 ----
SELECT xmlparse(document 'abc');
ERROR: invalid XML document
! DETAIL: Entity: line 1: parser error : switching encoding : no input
! abc
! ^
! Entity: line 1: parser error : Start tag expected, '<' not found
abc
^
SELECT xmlparse(document '<abc>x</abc>');
! ERROR: invalid XML document
! DETAIL: Entity: line 1: parser error : switching encoding : no input
樋口佳
之<boolean @ nifty.com>
pgsql-jp メーリングリストの案内