[PHP-doc 269]cygwin上でのphpdoc-jaのconfigureとmakeについて

Y.Watanabe yuw @ msj.biglobe.ne.jp
2003年 10月 3日 (金) 21:22:42 JST


渡辺です。

ふと思い出して、
Windowsマシン上でcygwinを使って
phpdoc-jaをconfigure & make (or make test) するというのに
再挑戦してますが、やっぱだめです。^^;)

ただ、configure 時に、--with-lang=ja をつけない、
つまりen(英語)のマニュアルをconfigureする場合には、
問題なくconfigureとmake testが走ることがわかりました。

ということは、
  cygwinがバグってるか、
  cygwin付属の /bin/sh がバグってるのか、
  それとも configure(configure.in) のどこかの書き方が悪いだけなのか?
というあたりを疑っています。

自分はshellプログラミングってそれほどやらないので^^;)
configureの内容がよくわかりません。

何か手がかりないでしょうか・・・?

# Windows環境あきらめてLINUXでやりゃいいじゃんって?^^;)
# そりゃまそうですが、PHPでの開発をWindows上でやるひとも
# 最近はめずらしくないし・・・^^;)


<やったこと>
   (0) cygwinインストール(ver1.5.5-1) 
       ※インストール時にlibxml2などの必要そうなライブラリも選択する

   (1) cvs.php.net からphpdoc-jaをチェックアウト

   (2) phpのWindowsバイナリをインストール

   (3) openjadeをインストール
     (http://sourceforge.net/project/showfiles.php?group_id=2115
       にあるopenjade-1_3_1-2-bin.zipを使用)

   (4) cygwin窓でautoconf

   (5) cygwin窓でconfigure (オプションは以下のとおり)

$ ./configure \
--with-lang=ja \
--with-php=c:/php/php.exe \
--with-jade=c:/openjade/openjade-1.3.1/bin/openjade.exe \
--with-nsgmls=c:/openjade/openjade-1.3.1/bin/onsgmls.exe

<出たエラー>
上のconfigureで以下のようなエラーが出る

----(途中省略)---
config.status: creating ./xsl/htmlhelp.xsl
config.status: creating ./xsl/param_html.xsl

creating entities/file-entities.ent...
 Zend part not found
 Using the install part from installpart.xml

testing the manual for missing elements...
'SP_ENCODING' は、内部コマンドまたは外部コマンド、
操作可能なプログラムまたはバッチ ファイルとして認識されていません。
 entities/missing-entities.ent created
 entities/missing-ids.xml created

(このあと make test してもErrorになる)


<うまくいく場合>
上のconfigureで、 --with-lang=ja のオプションをはずすと
configureも、その後 make test してもうまく走る。





PHP-doc メーリングリストの案内