Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: Garret on October 15, 2000, 08:20:31 AM
-
I'm trying to install a cgi script on my E-Smith machine and keep getting errors with Net::POP3, or at least looking for it. Is it in an unusual place on E-Smith. This is the error I get trying to run the script, and then the replay of the script writer.
Fri Oct 13 19:39:03 2000] POP3.pm: Can't locate Net/POP3.pm in @INC (@INC contains: /usr/lib/perl5/5.00503/i386-linux /usr/lib/perl5/5.00503 /usr/lib/perl5/site_perl/5.005/i386-linux /usr/lib/perl5/site_perl/5.005
Well, I suggest you re-install NET:OP3 and read any directions that may come with the script or your version of Perl to make sure that it is installed in a directory that is in the @INC array. Or, find out how to add the correct paths to the @INC via the settings on your build of Perl.
This is not a script error, it is a server side error.
I really need help with this one people. Pleeeeeeeese.
Garret
-
Garret wrote:
> I'm trying to install a cgi script on my E-Smith machine and
> keep getting errors with Net::POP3, or at least looking for it.
> Is it in an unusual place on E-Smith.
No, it isn't installed. "locate POP3.pm" will tell you this.
Regards
Charlie
-
I apologize Charlie, I did not state correctly of clearly at all.
The cgi requires POP3, I installed libnet which contains it. I had to install libnet 5 because 6 required Data-Dumper and data dumper was in conflict with E-Smith's current version of perl. And libnet 6 wouldn't install. Libnet5 doesn't require Data-Dumper. By the way, I realize that none of this is your problem, I was just hoping for a little help.
So I installed Libnet 5, which had POP3.pm in it. But the cgi isn't finding it because it's looking somewhere else for it, that being @ INC it would seem.
Obviously I am fairly new to all of this and struggling here, but this is how I learn. If you could please help it would be much appreciated, if not, I understand and truly appreciate you time anyway.
Thank you sir,
Garret
-
do:
"locate POP3.pm" to find were POP3.pm then copy it to one of the paths that your error message listed.
cp /path/to/found/file/POP3.pm /one/of/the/below/paths
/usr/lib/perl5/5.00503/i386-linux
/usr/lib/perl5/5.00503
/usr/lib/perl5/site_perl/5.005/i386-linux /usr/lib/perl5/site_perl/5.005
make sure it is executable and then see what the next error message is.
Or get a good RedHat book and maube a Perl book.
-
All right Tim!
That looks like it was the ticket. it needed /Net/POP3.pm not just the POP3. It also needed one other file but it seems to have taken care of that problem. I've got a couple of other issues with this program and will try to hammer them out. Thank you so much sir, and also to Charlie.
Garret