[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [imapsync] imapsync-1.476 won't run? dependencies?


From Gilles LAMIRAL <gilles dot lamiral at laposte dot net>
Subject Re: [imapsync] imapsync-1.476 won't run? dependencies?
Date Sun, 08 Jan 2012 01:27:09 +0100

Hello Jelle,

> I am trying to migrate an imap inbox from a Axigen Mail Server Version 8.0.0 

This is a new IMAP server software for imapsync on host1.
Don't hesitate to share specific tips (options) in case you needed some.

> to a Google Apps Standard imap inbox.
> 
> When I tried to run the imapsync command the bellow happend, what are
> the steps to make the script run?

It is described in the INSTALL file.
http://imapsync.lamiral.info/INSTALL

> root at yessica:~/imapsync-1.476# ./imapsync --help
> Can't locate Mail/IMAPClient.pm in @INC (@INC contains: /etc/perl
> /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5
> /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10
> /usr/local/lib/site_perl .) at ./imapsync line 533.
> BEGIN failed--compilation aborted at ./imapsync line 533.

On Linux you have to install Perl module Mail/IMAPClient.pm
http://search.cpan.org/dist/Mail-IMAPClient/

In order to install it just run:

  cpan Mail::IMAPClient

or

    perl -MCPAN -e 'install Mail::IMAPClient' 

You may also need:

  perl -MCPAN -e 'install Digest::MD5' 
  perl -MCPAN -e 'install Term::ReadKey' 
  perl -MCPAN -e 'install IO::Socket::SSL' 
  perl -MCPAN -e 'install File::Spec' 
  perl -MCPAN -e 'install Digest::HMAC_MD5' 
  perl -MCPAN -e 'install Authen::NTLM' 


Two other solutions:

a) The binary imapsync_elf_x86.bin is imapsync with Perl embedded 
and contains everything needed.

b) Run script named i3 in the tarball, it is imapsync with an option
to use module Mail::IMAPClient included in the tarball.


-- 
Au revoir,                             09 51 84 42 42
Gilles Lamiral. France, Baulon (35580) 06 20 79 76 06