简体   繁体   English

在CentOS上安装JavaHL 1.6

[英]Installing JavaHL 1.6 on CentOS

I'm looking to install the 1.6 version of JavaHL on CentOS, which proves to be more tricky then expected. 我想在CentOS上安装1.6版本的JavaHL,事实证明它比预期更棘手。

Has someone succeed doing so and can point a repo for this? 有人成功这样做,可以为此指点回购吗?

Thanks in advance. 提前致谢。

On my CentOS 5 machine, the following worked like a charm: 在我的CentOS 5机器上,以下工作就像一个魅力:

yum install subversion-javahl

It pulled the rpm from the dries repo. 它从干燥回购中拉出了转速。 If you don't have yum configured to pull from dries: http://dries.ulyssis.org/rpm/clientconfig.html 如果你没有配置yum从干燥中拉出来: http//dries.ulyssis.org/rpm/clientconfig.html

Remember, as has been said by others here, that JavaHL is pretty version-sensitive - I'm running subclipse 1.6 / subversion 1.6, so I installed JavaHL 1.6. 请记住,正如其他人所说,JavaHL对版本非常敏感 - 我正在运行subclipse 1.6 / subversion 1.6,所以我安装了JavaHL 1.6。 Make sure you're installing the right version . 确保您安装的是正确的版本

I resolved that issue on rhel5u5 64 bit, but doing a ckeckout from the latest stable tag and doing a full build of subversion and the javahl binding svn co http://svn.apache.org/repos/asf/subversion/tags/1.6.11 svn-1-6-11 我在rhel5u5 64位上解决了这个问题,但是从最新的稳定标签做了一个ckeckout并完成了subversion的完整构建和javahl绑定svn co http://svn.apache.org/repos/asf/subversion/tags/1.6 .11 svn-1-6-11

./configure --prefix=/opt/subversion --enable-javahl --with-jdk=/usr/lib/jvm/java-1.6.0-sun.x86_64
make 
make install
make javahl
make install-javahl

You will need to get many dependencies from the repositories though. 但是,您需要从存储库中获取许多依赖项。

CollabNet provides an RHEL/CentOS RPM that includes JavaHL. CollabNet提供包含JavaHL的RHEL / CentOS RPM。

http://www.open.collab.net/downloads/subversion/redhat.html http://www.open.collab.net/downloads/subversion/redhat.html

To do this for JavaHL 1.7 on centos5.8: 要在centos5.8上为JavaHL 1.7执行此操作:

svn co http://svn.apache.org/repos/asf/subversion/tags/1.7.5/ svn-1-7-5
cd svn-1-7-5/
./get-deps.sh  #<---- not sure if that one's necessary.
. autogen.sh
./configure --prefix=/opt/subversion --enable-javahl --with-jdk=/usr/lib/jvm/java-1.6.0
make
make install
make javahl
make install-javahl

在Centos 6.3上:

yum install subversion-javahl.x86_64

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM