首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >错误安装imapsync

错误安装imapsync
EN

Ask Ubuntu用户
提问于 2014-10-19 19:52:22
回答 2查看 8.6K关注 0票数 3

安装Imapsync时出现了错误

代码语言:javascript
复制
perl -c imapsync || { echo; echo "Read the INSTALL file to solve Perl module dependencies!"; exit 1; }
Can't locate IO/Tee.pm in @INC (you may need to install the IO::Tee module) (@INC contains: /etc/perl /usr/local/lib/perl/5.18.2 /usr/local/share/perl/5.18.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.18 /usr/share/perl/5.18 /usr/local/lib/site_perl .) at imapsync line 591.
BEGIN failed--compilation aborted at imapsync line 591.

Read the INSTALL file to solve Perl module dependencies!
make: *** [testp] Fout 1

我怎么才能解决这个问题?

EN

回答 2

Ask Ubuntu用户

回答已采纳

发布于 2016-07-08 02:56:22

16.04 Xenial上的imapsync (在新安装/基本安装上)执行以下操作:

代码语言:javascript
复制
 sudo apt-get install libio-tee-perl
 sudo apt-get install libmail-imapclient-perl
 sudo apt-get install libterm-readkey-perl
 sudo apt-get install libunicode-string-perl

 ## The rest is optional I believe:

 sudo apt-get install libcrypt-openssl-rsa-perl
 sudo apt-get install libauthen-ntlm-perl
 sudo apt-get install libdata-uniqid-perl
 sudo apt-get install libjson-perl
 sudo apt-get install liblwp-online-perl

 ## For Xenial/16.04 I could not locate these packages nor would 'cpan'
 ## work for me - but you could try (as user running imapsync):
 cpan install JSON::WebToken
 cpan install Filesys::DfPortable

然后测试:

代码语言:javascript
复制
 ./imapsync --dry --host1 localhost --user1 1@localhost --password1 1 --host2 localhost --user2 2@localhost --password2 2

您应该在错误输出中看到一个模块列表:

代码语言:javascript
复制
Modules version list:
Mail::IMAPClient     3.38
IO::Socket           1.38
IO::Socket::IP       0.37
IO::Socket::INET     1.35
IO::Socket::SSL      2.024
Net::SSLeay          1.72
Compress::Zlib       2.068
Digest::MD5          2.54
Digest::HMAC_MD5     1.01
Digest::HMAC_SHA1    1.03
Term::ReadKey        2.33
File::Spec           3.56
Time::HiRes          1.9726
Unicode::String      2.09
IO::Tee              0.64
File::Copy::Recursive 0.38
Authen::NTLM         1.09
URI::Escape          3.31
Data::Uniqid         0.12
JSON                 2.90
JSON::WebToken       ?
Crypt::OpenSSL::RSA  0.28
LWP                  6.15
HTML::Entities       3.69
Filesys::DfPortable  ?

我可以确认使用上述软件包在14.04/16.04 Dovecot系统上使用TLS安装的imap同步。正如我所提到的,您可能只需要列出第一个列表才能使它在基本水平上工作。在14.04新安装下,所需的perl模块应该基本相同。

票数 4
EN

Ask Ubuntu用户

发布于 2014-12-12 13:18:26

为日志记录添加了一个依赖项。

安装时:

代码语言:javascript
复制
sudo apt-get install libio-tee-perl

你还可能需要:

代码语言:javascript
复制
sudo apt-get install libunicode-string-perl
票数 2
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/539102

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档