本文介绍了Subclipse 错误“svn:SQLite 为 3.8.6 编译,但在 3.8.5 下运行"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在试用 Mac OS X Yosemite 测试版 ,它似乎破坏了我的 Eclipse/Subversion.当我尝试执行任何 svn 操作时,我得到:

I am trying out the Mac OS X Yosemite beta [edit: same issue in full release], which seems to have broken my Eclipse/Subversion. When I attempt to perform any svn action, I get:

svn: Couldn't perform atomic initialization
SQLite error
svn: SQLite compiled for 3.8.6, but running with 3.8.5

我已经使用 macports 安装了 subversion-javahlbindings +nobdb+universal,其中包括最新的 SQLite3 (3.8.6),所以我不知道 3.8.5 在我的系统上来自哪里.

I have installed subversion-javahlbindings +nobdb+universal using macports, which includes the most recent SQLite3 (3.8.6), so I have no idea where the 3.8.5 is coming from on my system.

Svn 在命令行上工作正常,但在 Eclipse 上不工作.我查看了这个类似的问题,并在谷歌上搜索了相关的 E200029 错误代码,但没有成功.

Svn works fine on the commandline, but not Eclipse. I have looked at this similar problem and googled the relevant E200029 error code without success.

由于它在命令行上工作,我想我的 Eclipse 设置中有一些东西以某种方式指向错误/旧的 svn,但我找不到任何可以更改任何适用设置的地方.

Since it works on the command line, I'm thinking there's something in my Eclipse setup which is somehow pointing to the wrong/old svn but I can't find anywhere I can change any settings that would apply.

有什么建议吗?(除了明显地将我的操作系统切换回小牛队)

Any advice? (other than the obvious switching my OS back to Mavericks)

我已经使用 svnkit 来获取 Eclipse svn 功能,但仍然想弄清楚 subversion-javahl 发生了什么以供将来参考.

I've got svnkit working to get the Eclipse svn functionality but still would like to figure out what's going on with the subversion-javahl for future reference.

推荐答案

这个问题是由于 Yosemite 包含的 sqlite 版本比 MacPorts 提供的版本早.我通过降级 MacPorts 安装的版本找到了解决此问题的方法.MacPorts 没有 3.8.5 版本的端口,因此以下步骤将手动执行此操作.此外,下次您执行 port selfupdate 时,您将清除这些更改,因此您可能需要重复这些步骤.

This problem is caused by the fact that Yosemite appears to include a version of sqlite that is earlier than the one delivered by MacPorts. I have found a work-around to this problem by downgrading the version that MacPorts installs. MacPorts does not have 3.8.5 version of the port, so the following steps will manually do this. Also, the next time you do a port selfupdate you will wipe out these changes, so you may have to repeat these steps.

输入sudo port edit sqlite3

versionchecksums 行编辑为以下内容:

Edit the version and checksums lines to the following:

version             3.8.5
checksums           rmd160  b8da5ec594ac808da85469349c7506bd343946bf \
                sha256 98c33abe4106e508e73fda648b2657ac9e969fe24695f543dcde68cc71f3091b

输入sudo port install sqlite3

输入sudo port upgrade --force subversion-javahlbindings +no_bdb+universal

这将导致 subversion 针对 3.8.5 版本的 sqlite3 重新编译.

This will cause subversion to recompile against the 3.8.5 version of sqlite3.

这篇关于Subclipse 错误“svn:SQLite 为 3.8.6 编译,但在 3.8.5 下运行"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-13 06:02