imapsync couldn't find HMAC.pm or HMAC_MD5.pm

Terry Barnum terry at dop.com
Wed Feb 10 11:46:52 PST 2010


Thanks for the reply Brad.

port info imapsync shows dependencies but not p5-digest-hmac. Only  
perl5, p5-digest-md5, p5-mail-imapclient, p5-term-readkey, p5-io- 
socket-ssl, p5-datemanip.

Doing:
sudo port -v selfupdate
port outdated

only shows the mysql5 port as being one minor release behind, nothing  
about imapsync. Does this mean that imapsync has a dependency on p5- 
digest-hmac but the port doesn't reflect this?

Sorry if this is a silly thread, I'm still trying to learn.

-Terry

On Feb 10, 2010, at 11:08 AM, Bradley Giesbrecht wrote:

> Sorry, ignore my last post. I'm dumber today then normal.
>
> The path to HMAC.pm on my system is in your path so I'd say you must  
> not have port p5-digest-hmac installed.
>
> bash-3.2# port contents p5-digest-hmac
> Port p5-digest-hmac contains:
>  /opt/local/lib/perl5/vendor_perl/5.8.9/darwin-thread-multi-2level/ 
> auto/Digest/HMAC/.packlist
>  /opt/local/lib/perl5/vendor_perl/5.8.9/Digest/HMAC.pm
>  /opt/local/lib/perl5/vendor_perl/5.8.9/Digest/HMAC_MD5.pm
>  /opt/local/lib/perl5/vendor_perl/5.8.9/Digest/HMAC_SHA1.pm
>  /opt/local/share/man/man3/Digest::HMAC.3pm.gz
>  /opt/local/share/man/man3/Digest::HMAC_MD5.3pm.gz
>  /opt/local/share/man/man3/Digest::HMAC_SHA1.3pm.gz
>
> Does "port info imapsync" show runtime dependancies on "p5-digest- 
> hmac"?
>
> If not run "port sync" as you must not have the current port of  
> imapsync. And then upgrade or uninstall and install imapsync.
>
> // Brad
>
> On Feb 10, 2010, at 10:43 AM, Terry Barnum wrote:
>
>> The imapsync port installed on a 10.6.2 Mac Pro without problem,  
>> launched and tried to connect to the two mail servers but then  
>> failed saying it couldn't find HMAC.pm or HMAC_MD5.pm.
>>
>> $RCSfile: imapsync,v $ $Revision: 1.303 $ $Date: 2010/01/20  
>> 04:12:52 $
>> Here is a [darwin] system (Darwin MASKED 10.2.0 Darwin Kernel  
>> Version 10.2.0: Tue Nov  3 10:37:10 PST 2009; root:xnu-1486.2.11~1/ 
>> RELEASE_I386 i386)
>> with perl 5.8.9
>> Mail::IMAPClient  3.19
>> IO::Socket        1.30
>> IO::Socket::SSL
>> Digest::MD5       2.39
>> Digest::HMAC_MD5
>> Term::ReadKey
>> Date::Manip
>> and the module Mail::IMAPClient version used here is 3.19
>> Command line used:
>> /opt/local/bin/imapsync --host1 MASKED --user1 MASKED --password1  
>> MASKED --host2 MASKED --user2 MASKED --password2 MASKED --authmech2  
>> PLAIN --tls2 --dry
>> Temp directory is /tmp
>> Turned ON syncinternaldates, will set the internal dates (arrival  
>> dates) on host2 same as host1.
>> TimeZone:[PST]
>> Will try to use CRAM-MD5 authentication on host1
>> Will try to use PLAIN authentication on host2
>> Host1 imap server [MASKED] port [143] user [MASKED]
>> Host2 imap server [MASKED] port [143] user [MASKED]
>> Banner: * OK MASKED running EIMS X 3.3.9
>> Host MASKED says it has CAPABILITY for AUTHENTICATE CRAM-MD5
>>
>> Can't locate Digest/HMAC.pm in @INC (@INC contains: /opt/local/lib/ 
>> perl5/site_perl/5.8.9/darwin-2level /opt/local/lib/perl5/site_perl/ 
>> 5.8.9 /opt/local/lib/perl5/site_perl /opt/local/lib/perl5/ 
>> vendor_perl/5.8.9/darwin-2level /opt/local/lib/perl5/vendor_perl/ 
>> 5.8.9 /opt/local/lib/perl5/vendor_perl /opt/local/lib/perl5/5.8.9/ 
>> darwin-2level /opt/local/lib/perl5/5.8.9 .) at /opt/local/lib/ 
>> perl5/5.8.9/Digest/HMAC_MD5.pm line 6.
>> BEGIN failed--compilation aborted at /opt/local/lib/perl5/5.8.9/ 
>> Digest/HMAC_MD5.pm line 6.
>> Compilation failed in require at /opt/local/lib/perl5/vendor_perl/ 
>> 5.8.9/Mail/IMAPClient.pm line 2863.
>>
>> The way I got it to work was symlinking HMAC.pm and HMAC_MD5.pm  
>> from /System/Library/Perl/Extras/5.8.9/Digest/
>>
>> Did I do something wrong in the port install? There are no variants  
>> other than universal.
>>
>> Thanks,
>> -Terry
>>
>> Terry Barnum
>> digital OutPost
>> San Diego, CA
>>
>> http://www.dop.com
>> 800/464-6434
>>
>>
>> _______________________________________________
>> macports-users mailing list
>> macports-users at lists.macosforge.org
>> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
>

Terry Barnum
digital OutPost
San Diego, CA

http://www.dop.com
800/464-6434




More information about the macports-users mailing list