2010/10/25

subversionのインストールに困ったら

> ./autogen.sh
を実行すると、必要なパッケージがインストールされているかチェックしてくれる。
gcc,autoconf,libtool とかがなくて怒られた…。

これでもう一度autogen.shを実行したらOKなメッセージがでたので、

> ./configure --without-berkeley-db --without-apxs --without-swig --without-serf --with-ssl

を実行したけど、
configure: error: could not find library containing RSA_new configure failed for neon
とかエラーが出る。

> yum install openssl-devel
もインストールすると今後はうまく行った。


実際の流れは以下。
$ cd /usr/local/src/
$ wget http://subversion.tigris.org/downloads/subversion-1.6.12.tar.gz
$ wget http://subversion.tigris.org/downloads/subversion-deps-1.6.12.tar.gz
$ tar zxvf subversion-1.6.12.tar.gz
$ tar zxvf subversion-deps-1.6.12.tar.gz
$ cd subversion-1.6.12
$ ./autogen.sh
$ yum install gcc
$ yum install autoconf
$ yum install libtool
$ yum install openssl-devel
$ ./configure --without-berkeley-db --without-apxs --without-swig --without-serf --with-ssl
$ make
$ make install
$ svn --version