相关疑难解决方法(0)

git svn rebase导致"字节顺序不兼容"错误

以下是我在尝试'git svn rebase'时遇到的错误:

Byte order is not compatible at ../../lib/Storable.pm (autosplit into ../../lib/auto/Storable/_retrieve.al) line 380, at /usr/lib/perl5/5.10/Memoize/Storable.pm line 21
Run Code Online (Sandbox Code Playgroud)

我正在运行的perl版本是:

$ perl --version

This is perl, v5.10.1 (*) built for i686-cygwin-thread-multi-64int
(with 12 registered patches, see perl -V for more detail)
Run Code Online (Sandbox Code Playgroud)

当我在网上搜索" 字节顺序不兼容 "时,我收到很多点击,显示Perl文档说:

这意味着,如果您在Unix或Linux上使用64位整数配置的perl 5.6.0或5.6.1上运行的Storable 1.x写入数据,那么默认情况下这个Storable将拒绝读取它,给出错误字节顺序不兼容.如果你有这样的数据,那么你应该将$ Storable :: interwork_56_64bit设置为一个真值,以使这个可存储的读取和写入文件与旧标题.您还应该将您的数据或与之通信的任何旧版perl迁移到当前版本的Storable.

我不知道的是,如何将此设置$Storable::interwork_56_64bit为真.你能告诉我怎么做吗?

perl compatibility git-svn rebase endianness

22
推荐指数
2
解决办法
3525
查看次数

标签 统计

compatibility ×1

endianness ×1

git-svn ×1

perl ×1

rebase ×1