2003年11月15日(土)

fink/xemacs

挙動不審が続くオイラの fink 環境。今日は xemacs で問題発生。

なんと Xaw3d ありで configure すると何故か Xm.h を探しに行って 見つからないと死ぬというもの。なんで Motif が関係あるんだ?

checking for the Athena widgets
checking for threeDClassRec in -lXaw3d... no
checking for threeDClassRec in -lXaw... no
configure: warning: Could not find a 3d Athena widget library that looked like Xaw3d.
checking for X11/Xaw3d/XawInit.h... yes
checking for X11/Xaw3d/ThreeD.h... yes
checking for Xm/Xm.h... no
Error: Could not find a suitable Athena library to build with.
### execution of ./configure failed, exit code 1
Failed: compiling xemacs-21.5.9-4 failed

ちなみに tar 玉ほどいて自分で configure しても同じ結果。どうも fink 以外にも環境がおかしくなってる気もするがこの configure の挙動はどうよ。

めんどくさくなって lesstif 突っ込んでやったら、こんどは

checking for X11/Xaw3d/XawInit.h... yes
checking for X11/Xaw3d/ThreeD.h... yes
checking for Xm/Xm.h... yes
checking for XmStringFree in -lXm... yes
checking for Lesstif... yes
Error: Could not find a suitable Athena library to build with.
### execution of ./configure failed, exit code 1
Failed: compiling xemacs-21.5.9-4 failed

で、やっぱり死ぬ。面倒なので --with-athena=3d を外して、かわりに --error-checking=none --with-mule --with-xfs --cflags=-DX_LOCALE をつけて build して終わり。

[referer:

Script Error

The script did not produce proper HTTP headers. Please see the error log to see the detail of the errors. Depending on the server configuration, you can also run thisscript under CGIWrap debugging. Usually, either rename or linkthe script temporarily to a file which ends with .cgidextension, or add a AddHandler cgi-script-debug .cgiline to your .htaccess file.

]

あわせて読みたい