FreeBSD の ports でのお話。
subversion を WITH_APACHE2_APR で make すると /usr/local/lib/apache2/ の libapr を使おうとするのだが、 make install の最中 svnversion が libaprutil-0 を見つけられなくてコケて、半端にファイルはコピーされる、 +CONTENTS の類いはないので消すべきものが判らなくなると言う罠。
ldconfig(8) で手動でパスを追加して、/etc/rc.conf で ldconfig_paths に /usr/local/lib/apache2 を追加。
発端はと言えば viewcvs から svn のリポジトリが見えなくなっていて、 python binding 付きで svn を作り直したりしてたんだが、なんとかリポジトリが見れるところまで復旧。
[referer:
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.
]