Knowledge Base
Knowledge Base / XFilesharing Pro / Troubleshooting

Advanced Search

Error: Can't locate ... in @INC
06/27/2016 07:23 AM
Printable Version | Email Article | Receive Email Updates

Question

I'm getting one of the following kinds of errors:

Can't locate Digest/HMAC_MD5.pm in @INC
Can't locate XML/SAX/PurePerl.pm in @INC
Can't locate XML/Simple.pm in @INC

e.t.c.

Answer

This means that some Perl module(s) are missing, and you need to install them from CPAN. The CPAN commands corresponding to above are:

force install Digest::HMAC_MD5
force install XML::SAX::PurePerl
force install XML::Simple

If you're getting another error which is similar to what described above, you can convert it to corresponding CPAN installation command by using the same pattern.