源碼安裝和升級subversion

1.下載源碼安裝依賴apr apr-util sqlite

wget http://archive.apache.org/dist/subversion/subversion-1.14.0.tar.gz

wget http://archive.apache.org/dist/apr/apr-1.7.0.tar.gz

wget http://archive.apache.org/dist/apr/apr-util-1.6.1.tar.gz

wget https://www.sqlite.org/2020/sqlite-autoconf-3330000.tar.gz

2.需要安裝scons

wget http://downloads.sourceforge.net/scons/scons-2.3.0.tar.gz

python setup.py install --prefix=/usr  \
                        --standard-lib \
                        --optimize=1   \
                        --install-data=/usr/share

2.安裝serf

wget http://archive.apache.org/dist/serf/serf-1.3.9.tar.bz2

scons APR=/usr/local/apr/ APU=/usr/local/apr/

scons -Y /data/serf-1.3.8

 scons install

2. ./configure --prefix=/usr/local/svn --with-apr=/usr/local/apr --with-apr-util=/usr/local/apr/  --with-sqlite=/opt/sqlite/usr/local/ --with-serf=/usr/local/ --with-lz4=internal  --with-utf8proc=internal

make;make install

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章