SSブログ

Subversion1.7.5@Vine Linux 3.1 [Linux]

Vine Linux3.1の環境にSubversion1.7.5をソースからインストール。
(いまさらVine3.1なのはおいといて、詰まったところをメモとして。)

環境としては、Apache2.2.22をソースコードからインストールした状態で、WebDAV経由で使うことを前提、リポジトリはFSFSを使うので、Berkeley DBはいらない。
Apacheはとりあえず、こんなオプションでインストール。
# ./configure --enable-ssl --enable-rewrite --enable-so --enable-shared --enable-dav

Suvbersion1.7.5を普通にconfigureすると、
configure: checking neon library
checking for neon-config... no

An appropriate version of neon could not be found, so libsvn_ra_neon
will not be built. If you want to build libsvn_ra_neon, please
install neon 0.29.6 on this system.

no suitable neon found

というように、neonは0.29.6以上を使えと怒られるのでここからソースコードを取ってきて、インストールする。
configure 、make、make installでおけ。

neonをインストールしたら、configureのオプションに--with-neon=/usr/localをつける。

で、続いてconfigureを試みるも、sqliteがどうのこうの怒られる。
configure: checking sqlite library
checking sqlite amalgamation... no
checking sqlite3.h usability... no
checking sqlite3.h presence... no
checking for sqlite3.h... no
no

An appropriate version of sqlite could not be found. We recommmend
3.7.6.3, but require at least 3.6.18.
Please either install a newer sqlite on this system

or

get the sqlite 3.7.6.3 amalgamation from:
http://www.sqlite.org/sqlite-amalgamation-3.7.6.3.tar.gz
unpack the archive using tar/gunzip and copy sqlite3.c from the
resulting directory to:
/usr/local/src/subversion-1.7.5/sqlite-amalgamation/sqlite3.c

configure: error: Subversion requires SQLite

ようは、sqlite3.7.6.3をインストールするか、SVNのソースコードに、sqlite3.7.6.3のsqlite3.cをコピーしろということらしいので、ここからソースコードを取ってきて、subversion-1.7.5/sqlite-amalgamation/sqlite3.cにコピーする。

最終的にSubversionのconfigureのオプションは以下のとおり。
$ ./configure --with-apr=/usr/local/apache2 --with-apr-util=/usr/local/apache2 --with-apxs=/usr/local/apache2/bin/apxs --with-neon=/usr/local


makeするとBerkeley DBがないと怒られるが、リポジトリはFSFSを使うので、気にしない。
タグ:Subversion
nice!(0)  コメント(0)  トラックバック(0) 
共通テーマ:パソコン・インターネット

nice! 0

コメント 0

コメントを書く

お名前:
URL:
コメント:
画像認証:
下の画像に表示されている文字を入力してください。

トラックバック 0

トラックバックの受付は締め切りました

この広告は前回の更新から一定期間経過したブログに表示されています。更新すると自動で解除されます。