10.15.7 (19H2) 这个版本的需要执行以下命令 :
sudo chown -R $(whoami) $(brew --prefix)/*
执行完上面的命令后。执行brew install svn,即可安装svn。
wangyonglin@wangyonlindeMBP ~ % brew install svn
==> Downloading https://ghcr.io/v2/homebrew/core/apr/manifests/1.7.0_2
Already downloaded: /Users/wangyonglin/Library/Caches/Homebrew/downloads/bea860ee12694d9b28c54323f66a2ed14e5b7b44c7fd2568ddd179b86f27829e--apr-1.7.0_2.bottle_manifest.json
==> Downloading https://ghcr.io/v2/homebrew/core/apr/blobs/sha256:3f5c1fa8f17715
Already downloaded: /Users/wangyonglin/Library/Caches/Homebrew/downloads/b008e909c2e39201be7d9cd34ac2596d58e621cd2864206b0721d520e7c84307--apr--1.7.0_2.catalina.bottle.tar.gz
==> Downloading https://ghcr.io/v2/homebrew/core/openssl/1.1/manifests/1.1.1k
Already downloaded: /Users/wangyonglin/Library/Caches/Homebrew/downloads/2efe91096994c33489c066631735a35cc3863cae64fc2ad5b305675fe9d24fed--openssl@1.1-1.1.1k.bottle_manifest.json
==> Downloading https://ghcr.io/v2/homebrew/core/openssl/1.1/blobs/sha256:cb610e
Already downloaded: /Users/wangyonglin/Library/Caches/Homebrew/downloads/61318ecf3a44d45314830c1b7e93587380921027335bdebdc0132dec6eab4195--openssl@1.1--1.1.1k.catalina.bottle.tar.gz
==> Downloading https://ghcr.io/v2/homebrew/core/apr-util/manifests/1.6.1_3
Already downloaded: /Users/wangyonglin/Library/Caches/Homebrew/downloads/455c05bfd9638f75d0230e9d50505fabd95c7146ae3648d6bb047827bee1ca9e--apr-util-1.6.1_3.bottle_manifest.json
==> Downloading https://ghcr.io/v2/homebrew/core/apr-util/blobs/sha256:425955a21
Already downloaded: /Users/wangyonglin/Library/Caches/Homebrew/downloads/744652fbd1afee78f2c3ecdf621f21e532c15de588bb47a73c284d8f01ae487b--apr-util--1.6.1_3.catalina.bottle.tar.gz
==> Downloading https://ghcr.io/v2/homebrew/core/gettext/manifests/0.21
Already downloaded: /Users/wangyonglin/Library/Caches/Homebrew/downloads/66569d4eb02ec67195446d3dcba7d7806a35f88f629a55b43ba53fb1febb1f56--gettext-0.21.bottle_manifest.json
==> Downloading https://ghcr.io/v2/homebrew/core/gettext/blobs/sha256:cdea54f52b
Already downloaded: /Users/wangyonglin/Library/Caches/Homebrew/downloads/e6665d002929ad81e042193826745694f21f9c45770ac005333a6a10bfe2a3d7--gettext--0.21.catalina.bottle.tar.gz
==> Downloading https://ghcr.io/v2/homebrew/core/lz4/manifests/1.9.3
Already downloaded: /Users/wangyonglin/Library/Caches/Homebrew/downloads/44ad345c014695c5970db0638f06ca87f58f02933c6b0e2b0dd8f13347a5e7d9--lz4-1.9.3.bottle_manifest.json
==> Downloading https://ghcr.io/v2/homebrew/core/lz4/blobs/sha256:899aeb12833a98
Already downloaded: /Users/wangyonglin/Library/Caches/Homebrew/downloads/13c82b09068f41549a88cd166c17799305d8035f59ade04f004296102270dd1d--lz4--1.9.3.catalina.bottle.tar.gz
==> Downloading https://ghcr.io/v2/homebrew/core/readline/manifests/8.1
Already downloaded: /Users/wangyonglin/Library/Caches/Homebrew/downloads/b37133a77c8680447162faf218b59fb36ee5d3e1926fbbff244e43581ab9128a--readline-8.1.bottle_manifest.json
==> Downloading https://ghcr.io/v2/homebrew/core/readline/blobs/sha256:fe4de019c
Already downloaded: /Users/wangyonglin/Library/Caches/Homebrew/downloads/96808ad7ca175753b556d52963c9c3425d8fab4b1a378c444eeb341790df6f48--readline--8.1.catalina.bottle.tar.gz
==> Downloading https://ghcr.io/v2/homebrew/core/sqlite/manifests/3.35.3
Already downloaded: /Users/wangyonglin/Library/Caches/Homebrew/downloads/7b9fa5d4fec08c00aa01016113af1120a2446835283dce07f939580d05cea4f2--sqlite-3.35.3.bottle_manifest.json
==> Downloading https://ghcr.io/v2/homebrew/core/sqlite/blobs/sha256:615597e87a1
Already downloaded: /Users/wangyonglin/Library/Caches/Homebrew/downloads/57ce062f6d313f44dd2c4eeb0e1dcce46656dec418bd1369f4b668983500d045--sqlite--3.35.3.catalina.bottle.tar.gz
==> Downloading https://ghcr.io/v2/homebrew/core/utf8proc/manifests/2.6.1
Already downloaded: /Users/wangyonglin/Library/Caches/Homebrew/downloads/ea819e952f2d48b176c41976e9be6a1a52b8f85c9b0de097ba841965432e585a--utf8proc-2.6.1.bottle_manifest.json
==> Downloading https://ghcr.io/v2/homebrew/core/utf8proc/blobs/sha256:cf77fdee4
Already downloaded: /Users/wangyonglin/Library/Caches/Homebrew/downloads/7676ee24b06fa9c02328ac18c4e780e83d9d6d6d0453bd7ad74442bc0fcd1cd7--utf8proc--2.6.1.catalina.bottle.tar.gz
==> Downloading https://ghcr.io/v2/homebrew/core/subversion/manifests/1.14.1
Already downloaded: /Users/wangyonglin/Library/Caches/Homebrew/downloads/e63c388332955c1e4f662a286bea19b01d18685f69277d8391cd927a6afc6faa--subversion-1.14.1.bottle_manifest.json
==> Downloading https://ghcr.io/v2/homebrew/core/subversion/blobs/sha256:3cfd3fc
Already downloaded: /Users/wangyonglin/Library/Caches/Homebrew/downloads/80c5169a4b5a288f6ef85d6a1d1a6ea4b0998ee2fc5664f66003ad5eeaab48c5--subversion--1.14.1.catalina.bottle.tar.gz
==> Installing dependencies for subversion: apr, openssl@1.1, apr-util, gettext, lz4, readline, sqlite and utf8proc
==> Installing subversion dependency: apr
==> Pouring apr--1.7.0_2.catalina.bottle.tar.gz
==> Caveats
apr is keg-only, which means it was not symlinked into /usr/local,
because Apple's CLT provides apr.
If you need to have apr first in your PATH, run:
echo 'export PATH="/usr/local/opt/apr/bin:$PATH"' >> ~/.zshrc
For compilers to find apr you may need to set:
export LDFLAGS="-L/usr/local/opt/apr/lib"
export CPPFLAGS="-I/usr/local/opt/apr/include"
==> Summary
/usr/local/Cellar/apr/1.7.0_2: 104 files, 1.4MB
==> Installing subversion dependency: openssl@1.1
==> Pouring openssl@1.1--1.1.1k.catalina.bottle.tar.gz
==> Regenerating CA certificate bundle from keychain, this may take a while...
==> Caveats
A CA file has been bootstrapped using certificates from the system
keychain. To add additional certificates, place .pem files in
/usr/local/etc/openssl@1.1/certs
and run
/usr/local/opt/openssl@1.1/bin/c_rehash
openssl@1.1 is keg-only, which means it was not symlinked into /usr/local,
because macOS provides LibreSSL.
If you need to have openssl@1.1 first in your PATH, run:
echo 'export PATH="/usr/local/opt/openssl@1.1/bin:$PATH"' >> ~/.zshrc
For compilers to find openssl@1.1 you may need to set:
export LDFLAGS="-L/usr/local/opt/openssl@1.1/lib"
export CPPFLAGS="-I/usr/local/opt/openssl@1.1/include"
==> Summary
/usr/local/Cellar/openssl@1.1/1.1.1k: 8,071 files, 18.5MB
==> Installing subversion dependency: apr-util
==> Pouring apr-util--1.6.1_3.catalina.bottle.tar.gz
==> Caveats
apr-util is keg-only, which means it was not symlinked into /usr/local,
because Apple's CLT provides apr (but not apr-util).
If you need to have apr-util first in your PATH, run:
echo 'export PATH="/usr/local/opt/apr-util/bin:$PATH"' >> ~/.zshrc
==> Summary
/usr/local/Cellar/apr-util/1.6.1_3: 54 files, 786.0KB
==> Installing subversion dependency: gettext
==> Pouring gettext--0.21.catalina.bottle.tar.gz
/usr/local/Cellar/gettext/0.21: 1,953 files, 19.0MB
==> Installing subversion dependency: lz4
==> Pouring lz4--1.9.3.catalina.bottle.tar.gz
/usr/local/Cellar/lz4/1.9.3: 22 files, 657.9KB
==> Installing subversion dependency: readline
==> Pouring readline--8.1.catalina.bottle.tar.gz
==> Caveats
readline is keg-only, which means it was not symlinked into /usr/local,
because macOS provides BSD libedit.
For compilers to find readline you may need to set:
export LDFLAGS="-L/usr/local/opt/readline/lib"
export CPPFLAGS="-I/usr/local/opt/readline/include"
==> Summary
/usr/local/Cellar/readline/8.1: 48 files, 1.6MB
==> Installing subversion dependency: sqlite
==> Pouring sqlite--3.35.3.catalina.bottle.tar.gz
==> Caveats
sqlite is keg-only, which means it was not symlinked into /usr/local,
because macOS already provides this software and installing another version in
parallel can cause all kinds of trouble.
If you need to have sqlite first in your PATH, run:
echo 'export PATH="/usr/local/opt/sqlite/bin:$PATH"' >> ~/.zshrc
For compilers to find sqlite you may need to set:
export LDFLAGS="-L/usr/local/opt/sqlite/lib"
export CPPFLAGS="-I/usr/local/opt/sqlite/include"
==> Summary
/usr/local/Cellar/sqlite/3.35.3: 11 files, 4.2MB
==> Installing subversion dependency: utf8proc
==> Pouring utf8proc--2.6.1.catalina.bottle.tar.gz
/usr/local/Cellar/utf8proc/2.6.1: 10 files, 752.2KB
==> Installing subversion
==> Pouring subversion--1.14.1.catalina.bottle.tar.gz
==> Caveats
svntools have been installed to:
/usr/local/opt/subversion/libexec
The perl bindings are located in various subdirectories of:
/usr/local/opt/subversion/lib/perl5
You may need to link the Java bindings into the Java Extensions folder:
sudo mkdir -p /Library/Java/Extensions
sudo ln -s /usr/local/lib/libsvnjavahl-1.dylib /Library/Java/Extensions/libsvnjavahl-1.dylib
==> Summary
/usr/local/Cellar/subversion/1.14.1: 241 files, 32MB
==> Caveats
==> apr
apr is keg-only, which means it was not symlinked into /usr/local,
because Apple's CLT provides apr.
If you need to have apr first in your PATH, run:
echo 'export PATH="/usr/local/opt/apr/bin:$PATH"' >> ~/.zshrc
For compilers to find apr you may need to set:
export LDFLAGS="-L/usr/local/opt/apr/lib"
export CPPFLAGS="-I/usr/local/opt/apr/include"
==> openssl@1.1
A CA file has been bootstrapped using certificates from the system
keychain. To add additional certificates, place .pem files in
/usr/local/etc/openssl@1.1/certs
and run
/usr/local/opt/openssl@1.1/bin/c_rehash
openssl@1.1 is keg-only, which means it was not symlinked into /usr/local,
because macOS provides LibreSSL.
If you need to have openssl@1.1 first in your PATH, run:
echo 'export PATH="/usr/local/opt/openssl@1.1/bin:$PATH"' >> ~/.zshrc
For compilers to find openssl@1.1 you may need to set:
export LDFLAGS="-L/usr/local/opt/openssl@1.1/lib"
export CPPFLAGS="-I/usr/local/opt/openssl@1.1/include"
==> apr-util
apr-util is keg-only, which means it was not symlinked into /usr/local,
because Apple's CLT provides apr (but not apr-util).
If you need to have apr-util first in your PATH, run:
echo 'export PATH="/usr/local/opt/apr-util/bin:$PATH"' >> ~/.zshrc
==> readline
readline is keg-only, which means it was not symlinked into /usr/local,
because macOS provides BSD libedit.
For compilers to find readline you may need to set:
export LDFLAGS="-L/usr/local/opt/readline/lib"
export CPPFLAGS="-I/usr/local/opt/readline/include"
==> sqlite
sqlite is keg-only, which means it was not symlinked into /usr/local,
because macOS already provides this software and installing another version in
parallel can cause all kinds of trouble.
If you need to have sqlite first in your PATH, run:
echo 'export PATH="/usr/local/opt/sqlite/bin:$PATH"' >> ~/.zshrc
For compilers to find sqlite you may need to set:
export LDFLAGS="-L/usr/local/opt/sqlite/lib"
export CPPFLAGS="-I/usr/local/opt/sqlite/include"
==> subversion
svntools have been installed to:
/usr/local/opt/subversion/libexec
The perl bindings are located in various subdirectories of:
/usr/local/opt/subversion/lib/perl5
You may need to link the Java bindings into the Java Extensions folder:
sudo mkdir -p /Library/Java/Extensions
sudo ln -s /usr/local/lib/libsvnjavahl-1.dylib /Library/Java/Extensions/libsvnjavahl-1.dylib
wangyonglin@wangyonlindeMBP ~ % svn --version
svn,版本 1.14.1 (r1886195)
编译于 Feb 11 2021,04:53:16 在 x86_64-apple-darwin19.6.0
Copyright (C) 2021 The Apache Software Foundation.
This software consists of contributions made by many people;
see the NOTICE file for more information.
Subversion is open source software, see http://subversion.apache.org/
可使用以下的版本库访问模块:
* ra_svn : 使用 svn 网络协议访问版本库的模块。 - 使用 Cyrus SASL 认证
- 处理“svn”方案
* ra_local : 访问本地磁盘的版本库模块。
- 处理“file”方案
* ra_serf : Module for accessing a repository via WebDAV protocol using serf.
- using serf 1.3.9 (compiled with 1.3.9)
- 处理“http”方案
- 处理“https”方案
The following authentication credential caches are available:
* Mac OS X Keychain