!!!FreeBSDのPortでmod_dav_svn.soを作るには !!環境 FreeBSD5.4(多分2005/4頃のcvsup STABLE) !!目的 apache + Subversion + mod_dav_svnで差分管理のあるWebDAVをしたい でも、portsのdevel/subversionだけではmod_dav_svn.soが作れない/存在しない !!方法 2つの前提があります。 +portsのwww/apache2がWITH_BERKELEYDB=db42でinstallされていること +devel/subversionがWITH_MOD_DAV_SVNでinstallされていること '''1.www/apache2のinstall''' 以下のオプションでmake installをします。 cd /usr/ports/www/apache2 make -DWITH_BERKELEYDB=db42 \ -DWITH_DAV_MODULES=yes install '''2.devel/subversionのinstall''' 以下のオプションでmake installをします cd /usr/ports/devel/subversion make WITH_MOD_DAV_SVN=yes WITH_APACHE2_APR=yes WITH_SVNSERVE_WRAPPER=yes \ APR_CONFIG=apr-1-config APU_CONFIG=apu-1-config \ APR_APU_DIR=/usr/local/bin APXS=/usr/local/sbin/apxs install ポイントは、SubVersionのmake installの時に「APR-ナントカ」と「APX=」オプションを付ける事です。 これがないと、makeは通るのですが、make途中を見ていると、configureのあたりで、 configure: checking neon library checking neon library version... 0.24.7 checking for static Apache module support... no checking for Apache module support via DSO through APXS... no ================================================================== WARNING: skipping the build of mod_dav_svn --with-apxs or --with-apache must be used ================================================================== checking for socket in -lsocket... no checking for availability of Berkeley DB... yes と、勝手にすっ飛ばされています。 要はapr-configとapxが見つけられないみたいなんですね。 httpd.confへの設定の説明は別途。 !!履歴 2005/7/27 -- 初版 [[技術的雑談]]へ戻る !!突っ込み {{comment}} [[技術的雑談]]へ戻る {{trackback}} [[技術的雑談]]へ戻る