LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices



Reply
 
Search this Thread
Old 06-05-2002, 03:56 AM   #1
john lee
Member
 
Registered: Jun 2001
Location: Sydney, Australia
Posts: 41

Rep: Reputation: 15
Angry can't locate module in @INC


Hi all,

I am trying to run this perl script which has a "require MD5" line in the script. However, when it ran from the browser, I got a "500 Internal Server Error" and when I looked into the error log in Apache, I saw the line - "Can't locate MD5.pm in @INC (@INC contains.....).

Q1. Do you know how do I find out what @INC is pointing and how could I modify the path in @INC?
Q2. Can I modify the directory when MD5 is compiled so that I could point to @INC?

Thanks in advance.

John
 
Old 06-05-2002, 11:12 AM   #2
kill-hup
Member
 
Registered: Aug 2000
Location: NY - USA
Distribution: Slackware
Posts: 109

Rep: Reputation: 15
You need to make sure the MD5 perl module is installed, for starters. You can check the contents of @INC via:

> perl -e 'print join(":",@INC)'

for a nice, PATH-ish look Basically, @INC includes the list of directories perl will search to find your module. If you are sure the module is installed, but perhaps not in this path, just add the new directory to the @INC array.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't Locate Module wlan0 mattp Linux - Laptop and Netbook 34 02-28-2005 11:16 AM
Can't locate module ppp_synctty ? meshari_o Linux - Networking 0 07-30-2004 05:41 AM
Can't locate module cdrom cparx Linux - Newbie 4 04-20-2004 05:56 PM
modprobe: Can't locate module... Oxagast Linux - General 8 11-12-2003 02:36 PM
modprobe?! can't locate Module?! DjRedMar Linux - Software 1 10-19-2003 02:55 PM


All times are GMT -5. The time now is 11:16 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration