Created
August 16, 2012 11:33
-
-
Save suin/3369505 to your computer and use it in GitHub Desktop.
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 | |
# ディレクトリを作成して移動mkdir -p $HOME/local/src/subversion | |
cd $HOME/local/src/subversion/ | |
# ソースDL | |
wget http://www.apache.org/dist/subversion/subversion-1.7.3.tar.gz | |
# 展開 | |
tar xzf subversion-1.7.3.tar.gz | |
cd subversion-1.7.3 | |
# 依存するライブラリなどをダウンロード | |
./get-deps.sh | |
# コンパイル & インストール | |
./configure --prefix=$HOME/local/packages/subversion/1.7.3 --with-ssl | |
できあがった Makefile の中で、-ldl とあるオプションは | |
libdl を使うオプションで、FreeBSD では使えないらしい。 | |
【参考URL】http://forums.freebsd.org/showthread.php?t=5799 | |
しょうがないので、Makefile から -ldl を削除する。 | |
vim Makefile | |
------------------------------------------------------------ | |
SVN_SQLITE_LIBS = -ldl -lpthread | |
から | |
SVN_SQLITE_LIBS = -lpthread | |
------------------------------------------------------------ | |
gmake prefix=$HOME/local/packages/subversion/1.7.3 | |
gmake prefix=$HOME/local/packages/subversion/1.7.3 install | |
# シンボリックを ~/local/bin に貼る | |
ln -s $(echo $HOME/local/packages/subversion/1.7.3/bin/*) $HOME/local/bin/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment