|
|||||||||||
|
Re: "Can't locate Net/DNS/RR/PTR.pm in @INC"
From: Bob Proulx <bob(at)proulx.com>
Date: Sat Oct 13 2007 - 09:59:04 EDT
If it relates to use or development of SpamAssassin then it is on topic. > I have installed the last available version of Qmailtoaster and things Is Qmailtoaster related to SpamAssassin? > error: Can't locate Net/DNS/RR/PTR.pm in @INC (@INC contains: ../lib The typical way to check that a module is found and loaded by perl is to test it specifically. Run a script that can't have an error (for example "0") and then instruct perl to load the module (such as -MNet::DNS). If it is silent then it worked. If not then it failed.
$ perl -Mnon-existent-module -e 0
Using that test, the following should work if things are installed correctly. Or you will get a command line message that you can use to chase down the problem further. $ perl -MNet::DNS::RR::PTR -e 0 This succeeded silently for me on my system and I assume should work for you as well. But with the errors you have reported I assume that it will report an error on your system but will lead you to the problem. Bob Received on Sat Oct 13 10:00:22 2007 This archive was generated by hypermail 2.1.8 : Fri Jul 04 2008 - 15:00:40 EDT |
||||||||||
|
|||||||||||