我在违背我的意愿使用SVN。与我一起工作的当前团队使用它进行版本控制,而且他们并不总是可以帮助我。我只是想从SVN版本1.8.13转到最新的1.9.4版本
我已经下载并运行了这个命令。
curl -o subversion-latest.tar.gz http://apache.mirrors.tds.net/subversion/subversion-1.9.4.tar.gz
tar -xvf subversion-latest.tar.gz,我把这两种不同的教程结合在一起,却没有运气.
svn更新版本
我被configure的部分困住了。
mymac ~/Downloads/subversion-1.9.4/serf
$ ./configure
-bash: ./configure: No such file or directory
mymac ~/Downloads/subversion-1.9.4/serf更新
我离开了农奴之路
`mymac ~/Downloads/subversion-1.9.4` file path i ran the `./configure` My command line ran a bunch of "checks"
configure: Configuring Subversion 1.9.4
configure: creating config.nice checking for gcc...
gcc checking whether the C compiler works... 是的,但最后还是犯了个错误.
configure: error: failed to recognize APR_INT64_T_FMT on this platform
mymac ~/Downloads/subversion-1.9.4UPDATE2又一次尝试了neon,
mymac ~/Downloads/subversion-1.9.4
$ sh get-deps.sh neon
Local directory 'serf' already exists; the downloaded copy won't be used
Local directory 'apr' already exists; the downloaded copy won't be used
Local directory 'apr-util' already exists; the downloaded copy won't be used
get-deps.sh: line 151: get_neon: command not found
Usage: get-deps.sh
Usage: get-deps.sh [ apr | serf | zlib | sqlite | gmock ] ...
mymac ~/Downloads/subversion-1.9.4
$ cd neon
-bash: cd: neon: No such file or directory更新3
先运行这个命令..。
mymac ~/Downloads/subversion-1.9.4
$ ./configure --prefix=/usr/local --with-serf=/usr/local/serf
configure: Configuring Subversion 1.9.4
configure: creating config.nice
checking for gcc... gcc
checking whether the C compiler works... yes我想我应该安装一个新版本的农奴?
checking was serf enabled... no
An appropriate version of serf could not be found, so libsvn_ra_serf
will not be built. If you want to build libsvn_ra_serf, please
install serf 1.3.4 or newer.
configure: error: Serf was explicitly enabled but an appropriate version was not found.我不知道从这里到哪里去,也不知道怎么绕过它。我已经发现霓虹灯不再受支持了,而且我正在使用serf,有人能提供一种不同的方式来解决这个问题吗?请?谢谢!
发布于 2016-05-05 20:58:58
考虑使用啤酒或MacPorts,如果可能的话。然后,这可以简单到:
brew install svn如果您确实必须从源代码安装,它可能不会像您到目前为止描述的步骤那么复杂。尝试这些简单得多的步骤
cd /tmp
curl -o subversion-latest.tar.gz http://apache.mirrors.tds.net/subversion/subversion-1.9.4.tar.gz
tar -xvf subversion-latest.tar.gz
cd subversion-1.9.4
./configure --prefix=/tmp/local
make
make install这将(希望)构建Subversion并将其安装到/tmp/local中。使用以下命令进行测试:
/tmp/local/bin/svn --version如果输出看起来很好,那么从一开始就重复,但是在您的环境中为--prefix使用一个不同的值。
(我试过了,这对我来说很管用,顺便说一句。)
也许没那么简单。在这种情况下,请更新您的问题与输出时,你被卡住了。
https://stackoverflow.com/questions/37058408
复制相似问题