在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
共 5 条评论
发表评论
Additional comments powered by BackType



[...] 一开始是按照Bluehost论坛上的方法来安装, 但是发现无法支持http, https协议, 又按照半瓶墨水的方法来安装, 这次支持http协议了, 但是依然不支持https. [...]
我的django就是用svn安装的,翻查笔记
# wget http://subversion.tigris.org/downloads/subversion-1.4.6.tar.bz2
# wget http://subversion.tigris.org/downloads/subversion-deps-1.4.6.tar.bz2
# mkdir svn
# ./configure -prefix=$HOME/svn -with-expat=builtin -with-pic -with-ssl
# make
# make install
迟些时候打算换成1.5.5
[...] 但是发现无法支持http, https协议, 又按照半瓶墨水的方法来安装, 这次支持http协议了, [...]
照这样架设了,好像服务器上能行,但是我用TortoiseSVN,连接却不行。问下你是怎么操作的,方便的话回个邮件,感谢至极^_^
@junbin
TortoiseSVN连接svn server?你拿bluehost做server?如果是这样的话,是不行的,像bluehost这样的host不会让你随便起服务的
我这里只是用来做svn client