在Debian(托管帐户)上将Subversion 1.4.3升级到1.5.2 [英] Upgrade Subversion 1.4.3 to 1.5.2 on Debian (hosted account)

查看:151
本文介绍了在Debian(托管帐户)上将Subversion 1.4.3升级到1.5.2的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试升级我的subversion服务器(我用Dreamhost托管)

I'm trying to upgrade my subversion server (I have it hosted with Dreamhost)

这是我运行的:

  • wget http://subversion.tigris.org/downloads/subversion-1.5.2.tar.bz2
  • wget http://subversion.tigris.org/downloads/subversion-deps-1.5.2.tar.bz2
  • tar -xjf subversion-1.5.2.tar.bz2
  • tar -xjf subversion-deps-1.5.2.tar.bz2
  • cd subversion-1.5.2
  • ./configure --prefix=/usr/bin --with-libs=/usr/bin/openssl --with-ssl

但由于出现此错误,我无法继续进行:

But I'm unable to continue any further because of this error:


  • 检查C编译器默认输出文件名...

  • 配置:错误:C编译器无法创建可执行文件 / li>
  • 请参阅` config.log 的更多细节。

  • 配置失败的霓虹灯

  • checking for C compiler default output file name...
  • configure: error: C compiler cannot create executables
  • See `config.log' for more details.
  • configure failed for neon

m不是Linux的专家,我不知道如何进行。

Since I'm no expert with Linux, I'm not sure how to proceed.

所以问题是:什么是最好的升级方式(考虑到与这个托管提供商)。

So the question is: what is the best way to upgrade (given the constraints of being with this hosted provider).

更新:

config.log可以在这里看到(不知道最好的方法在这里显示文件)

Contents of config.log can be seen here (don't know the best way to show files here at SO)

更新:

我似乎有一直在看错误的config.log文件。

我可能应该看看 subversion.1。 5.2 / neon / config.log

I seem to have been looking at the wrong config.log file.
I probably should have been looking at subversion.1.5.2/neon/config.log

推荐答案

如果您使用openssl与SVN,那么你需要配置SVN与

If you're using openssl with SVN then you need to configure SVN with

./configure .... --with-openssl=/path/to/openssl

当我过去这样做时,我遇到了使用这个lib的其他二进制文件的问题,如果我不要指定 -fPIC 标志。所以最好用该参数来运行make(如果你有这个问题)。你可能还需要在你的构建二进制文件中指出,所以你的打电话会看起来像这样:

When I've done this in the past I've had issues building other binaries that use this lib if I don't specify the -fPIC flag. So it's best to run make with that parameter (if you have that issue). You may also have to point make at your build binary as well.. so your make call will look something like this:

make CC="gcc -fPIC" LDFLAGS="/path/to/openssl/lib"

不要使用 CC =gcc -fPIC构建openssl!

Don't forget to build openssl with CC="gcc -fPIC" too!

祝你好运!

这篇关于在Debian(托管帐户)上将Subversion 1.4.3升级到1.5.2的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆