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

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

问题描述

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

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

这是我运行的:

但由于此错误,我无法继续:

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

  • 检查 C 编译器默认输出文件名...
  • 配置:错误:C 编译器无法创建可执行文件
  • 参见`config.log'更多详情.
  • neon 配置失败

由于我不是 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的内容可以看这里(不知道在 SO 此处显示文件的最佳方式)

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

推荐答案

如果你在 SVN 中使用 openssl 那么你需要配置 SVN

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

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

当我过去这样做时,如果我没有指定 -fPIC 标志,我会在构建使用此库的其他二进制文件时遇到问题.因此,最好使用该参数运行 make(如果您有这个问题).您可能还必须将 make 指向您的构建二进制文件.所以您的 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天全站免登陆