在Bluehost 64位主机上安装SVN
作者:半瓶墨水 链接:http://www.2maomao.com/blog/bluehost-svn-64/
bluehost.com 的主机上没有svn,但是很多项目需要svn来下载,搜了很久了,由于我所在的服务器是64位的,不是很懂应该怎么配置,所以一直安装失败。
直到今天看到这篇文章:svn bluehost the sequel,文章后面其作者有个评论说64位的需要改一下,追过去看到需要加个参数 LDFLAGS=”-L/lib64″,试了一下,成功了:
整个过程如下:
mkdir ~/src
cd ~/src
wget http://subversion.tigris.org/downloads/subversion-deps-1.4.6.tar.gz
tar xzvf subversion-deps-1.4.6.tar.gz
cd subversion-deps-1.4.6
cd apr
./configure -prefix=$HOME
make; make install
cd ..
cd apr-util
./configure -prefix=$HOME -with-apr=$HOME
make; make install
cd ..
cd neon
./configure -enable-shared -prefix=$HOME
make; make install
cd ~/src
rm -rf subversion*
wget http://subversion.tigris.org/downloads/subversion-1.4.6.tar.gz
tar xzvf subversion-1.4.6.tar.gz
cd subversion-1.4.6
./configure --prefix=$HOME --without-berkeley-db --with-zlib --with-ssl LDFLAGS="-L/lib64"
make; make install
vi ~/.bashrc
i
PATH=$PATH:$HOME/bin
:wq
cd ~/src
wget http://subversion.tigris.org/downloads/subversion-deps-1.4.6.tar.gz
tar xzvf subversion-deps-1.4.6.tar.gz
cd subversion-deps-1.4.6
cd apr
./configure -prefix=$HOME
make; make install
cd ..
cd apr-util
./configure -prefix=$HOME -with-apr=$HOME
make; make install
cd ..
cd neon
./configure -enable-shared -prefix=$HOME
make; make install
cd ~/src
rm -rf subversion*
wget http://subversion.tigris.org/downloads/subversion-1.4.6.tar.gz
tar xzvf subversion-1.4.6.tar.gz
cd subversion-1.4.6
./configure --prefix=$HOME --without-berkeley-db --with-zlib --with-ssl LDFLAGS="-L/lib64"
make; make install
vi ~/.bashrc
i
PATH=$PATH:$HOME/bin
:wq



[…] 一开始是按照Bluehost论坛上的方法来安装, 但是发现无法支持http, https协议, 又按照半瓶墨水的方法来安装, 这次支持http协议了, 但是依然不支持https. […]