DiscusWare, LLC.
Download Purchase Contact Us
Home
Support Home Documentation Knowledge Base Support Forums Support Request Advanced Services
Can't locate File/Temp.pm in @INC...

This document covers an error message: "Can't locate File/Temp.pm in @INC..." In most cases, this will not appear on the screen to the end-user, but would instead show up in the error log (either the server's error log or the Discus software error log. If you receive this, you are missing a required Perl module, and this document will tell you how to install it.
Support Site Search
 
Cause

An error such as the following:

Can't locate File/Temp.pm in @INC (@INC contains: /usr/local/perl-5.00502/lib/5.00502/i686-linux /usr/local/perl-5.00502/lib/5.00502 /usr/local/perl-5.00502/lib/site_perl/5.005/i686-linux /usr/local/perl-5.00502/lib/site_perl/5.005 .) at common.pl line 523.

... means that you are missing a Perl module that the Discus script is attempting to use. In this case, the missing module is File::Temp, which is installed as a standard module in most (but not all) Perl distributions. This particular module is used by Discus to manage the safe creation of temporary files.

Please note that the File::Temp module was required by the system requirements. This requirement was removed as of the release of Discus 4.10.b3.

Solution

Because many customers were experiencing this error, or other errors related to the incorrect installation of this module, DiscusWare has eliminated all dependency on this module as of Discus 4.10.b3. Customers who are receiving this message are not using the latest version, and should upgrade.

A workaround to upgrade to version 4.10.b3 or higher, even while experiencing this issue, is posted here.


Download Purchase Contact Us
Privacy Policy
Copyright © 2005, DiscusWare, LLC, All Rights Reserved