git svn clone https://192.168.11.115/svn/xx/test/
Initialized empty Git repository in /cygdrive/d/xx/test/.git/
Can't load '/usr/lib/perl5/vendor_perl/5.14/i686-cygwin-threads-64int/auto/SVN/_Core/_Core.dll' for module SVN::_Core: No such file or directory at /usr/lib/perl5/5.14/i686-cygwin-threads-64int/DynaLoader.pm line 190.
at /usr/lib/perl5/vendor_perl/5.14/i686-cygwin-threads-64int/SVN/Base.pm line 59
BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.14/i686-cygwin-threads-64int/SVN/Core.pm line 5.
Compilation failed in require at /usr/lib/git-core/git-svn line 41.
这是令人困惑的...
最佳答案
这可能是因为,如 this thread , 你没有安装 sqlite3。
$ cygcheck -l libsqlite3_0
/usr/bin/cygsqlite3-0.dll
I'm not sure why this is missing from your system.
subversion-perl
depends on subversion which depends onlibsqlite3_0
.
libsqlite3_0
不安装任何dll,sqlite3
包安装dll。
这也解决了其他人报告的 svn 问题。
关于git - 为什么在使用 cygwin 时 git svn clone 失败?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13139133/