如何让Git / Subversion 1.7在AIX 6.1上运行?

时间:2012-05-05 11:39:33

标签: git svn aix

我从http://www.perzl.org/aix/index.php下载了git 1.7.10和subversion 1.7.4 RPMs,但是当我尝试运行git svn时,我遇到了这个问题:

multi/auto/SVN/_Core/_Core.so'
for module SVN::_Core: rtld: 0712-001 Symbol svn_handle_warning was
referenced
     from module
/opt/freeware/lib/perl5/vendor_perl/5.8.8/ppc-thread-multi/auto/SVN/_Core/_Core.so(),
but a runtime definition
           of the symbol was not found.
rtld: 0712-001 Symbol svn_handle_warning2 was referenced
     from module
/opt/freeware/lib/perl5/vendor_perl/5.8.8/ppc-thread-multi/auto/SVN/_Core/_Core.so(),
but a runtime definition
           of the symbol was not found.
rtld: 0712-001 Symbol svn_error_clear was referenced
     from module
/opt/freeware/lib/perl5/vendor_perl/5.8.8/ppc-thread-multi/auto/SVN/_Core/_Core.so(),
but a runtime definition
           of the symbol was not found.
rtld: 0712-001 Symbol svn_error_compose was referenced
     from module
/opt/freeware/lib/perl5/vendor_perl/5.8.8/ppc-thread-multi/auto/SVN/_Core/_Core.so(),
but a runtime definition
           of the symbol was not found.
rtld: 0712-001 Symbol svn_swig_pl_make_pool was referenced
     from module
/opt/freeware/lib/perl5/vendor_perl/5.8.8/ppc-thread-multi/auto/SVN/_Core/_Core.so(),
but a runtime definition
           of the symbol was not found.
rtld: 0712-001 Symbol svn_diff_hunk_reset_modified_text was referenced
     from module
/opt/freeware/lib/perl5/vendor_perl/5.8.8/ppc-thread-multi/auto/SVN/_Core/_Core.so(),
but a runtime definition
           of the symbol was not found.
rtld: 0712-001 Symbol svn_diff_hunk_reset_original_text was referenced
     from module
/opt/freeware/lib/perl5/vendor_perl/5.8.8/ppc-thread-multi/auto/SVN/_Core/_Core.so(),
but a runtime definition
           of the symbol was not found.
Additional errors occurred but are not reported. at
/opt/freeware/lib/perl5/5.8.8/ppc-thread-multi/DynaLoader.pm line 227.
 at /opt/freeware/lib/perl5/vendor_perl/5.8.8/ppc-thread-multi/SVN/Base.pm
line 59
BEGIN failed--compilation aborted at
/opt/freeware/lib/perl5/vendor_perl/5.8.8/ppc-thread-multi/SVN/Core.pm
line 5.
Compilation failed in require at /opt/freeware/libexec/git-core/git-svn line 41.
-bash-3.2$ nm -g _Core.so | grep svn_handle_warning
._wrap_svn_handle_warning T   268581888         808
._wrap_svn_handle_warning2 T   268582696        1048
.svn_handle_warning  T   268469632
.svn_handle_warning2 T   268469672
_wrap_svn_handle_warning D   536899412
_wrap_svn_handle_warning2 D   536899400
svn_handle_warning   U           -
svn_handle_warning2  U           -

所以,在我看来Core.so没有正确构建。

有人可以概述我如何调试修复此类问题吗?

1 个答案:

答案 0 :(得分:0)

如果您的系统上有Java,我建议您将SubGit安装到SVN服务器并使用任何SVN或Git接口。 SubGit将即时同步Git和SVN存储库。同步时存储和阻塞(几秒钟),因此这个解决方案是并发安全的。

如果您需要仅限客户的解决方案,可以尝试SmartGit。它也是基于java的,所以不会受到你的git-svn / perl问题的影响。

两个解决方案都执行更好的SVN< - > Git转换,保留EOL,忽略,标签等概念(git-svn不会)。