通过mac中的命令行更新到svn 1.9.4

时间:2016-05-05 19:07:00

标签: bash macos svn command-line-interface

我违背自己的意愿使用SVN。我工作的当前团队使用它进行版本控制,并不总是可以帮助我。我只想尝试从SVN版本1.8.13到最新的1.9.4

我已经下载了,我也运行了这个命令

protractor.controlflow(function(delay){
  if(delay > 11 sec){
    browser.ignoreSynchronization = true;
  }else{
    browser.ignoreSynchronization = false;
  }
});

我把这两个不同的教程结合起来没有运气。

svn update version

stackover flow issue

我对curl -o subversion-latest.tar.gz http://apache.mirrors.tds.net/subversion/subversion-1.9.4.tar.gz tar -xvf subversion-latest.tar.gz 部分感到困惑。

configure

更新

我退出了serf路径并且

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... 
  • 我有最新版本的XCode ..

UPDATE2再次试用了霓虹灯

configure: error: failed to recognize APR_INT64_T_FMT on this platform 
mymac ~/Downloads/subversion-1.9.4

更新3

首先运行此命令..

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

我想我应该安装一个新版本的serf?

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. 有人可以提供不同的方式来解决这个问题吗?请?谢谢!

1 个答案:

答案 0 :(得分:7)

如果可能,请考虑使用Brew或MacPorts。然后这可以很简单:

  var defaultHeight = $('#child').height();
  var defaultWidth = $('#child').width();
 $('.child').resizable({
        animate: true,
        helper: '.ui-resizable-helper',
        minHeight:defaultHeight,
        minWidth:defaultWidth,
        maxWidth: 500,
        maxHeight: 500,     
        aspectRatio: true,
        containment: 'document'
    });

如果你真的必须从源码安装, 它可能没有你到目前为止描述的步骤那么复杂。 尝试这些更简单的步骤完全

brew install svn

这将(希望)构建Subversion并将其安装到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 中。使用此命令测试:

/tmp/local

如果输出看起来不错,请从头开始重复,但在您的环境中根据需要为/tmp/local/bin/svn --version 使用不同的值。

(我试过,这对我很有用,现在,顺便说一下。)

也许这不是那么简单。在这种情况下,请使用您遇到问题的输出更新您的问题。