Created
May 27, 2015 10:19
-
-
Save Ivlyth/14c4c4d4ca6fd9faaa47 to your computer and use it in GitHub Desktop.
编译安装 subversion
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
下载 svn | |
wget http://ftp.tsukuba.wide.ad.jp/software/apache/subversion/subversion-1.8.13.tar.gz | |
查看根目录下的 INSTALL 文件 | |
执行 ./autogen.sh | |
根据提示,下载 autoconf, libtool | |
wget http://ftp.gnu.org/gnu/autoconf/autoconf-2.69.tar.gz | |
wget http://ftp.jaist.ac.jp/pub/GNU/libtool/libtool-2.4.6.tar.gz | |
安装 autoconf 提示需要 GNU M4 | |
wget http://ftp.gnu.org/gnu/m4/m4-1.4.17.tar.gz | |
执行 subversion 目录中的 ./configure (指定 prefix) | |
提示:configure: error: no suitable APR found | |
下载 apr | |
wget http://ftp.jaist.ac.jp/pub/apache//apr/apr-1.5.2.tar.gz | |
下载 apr-util | |
wget http://ftp.jaist.ac.jp/pub/apache//apr/apr-util-1.5.4.tar.gz | |
又提示需要 SQLite | |
wget https://www.sqlite.org/2015/sqlite-autoconf-3081002.tar.gz | |
最后 | |
./configure --prefix=/home/myth/tmp/subversion --with-apr=/home/myth/software/apr-1.5.2 --with-apr-util=/home/myth/software/apr-util-1.5.4 | |
编译安装成功 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment