LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 04-28-2005, 01:16 PM   #1
Atrocity
Member
 
Registered: Nov 2002
Location: Hell
Distribution: FreeBSD, Slackware
Posts: 308

Rep: Reputation: 30
Perl poblem with strict.pm


I searched all over google and linux questions and have been unable to find someone who resolved this problem!!!

The problem is that I get "Can't locate Strict.pm in @INC (@INC contains: /usr/local/lib/perl5/5.8.6/i686-linux /usr/local/lib/perl5/5.8.6 /usr/local/lib/perl5/site_perl/5.8.6/i686-linux /usr/local/lib/perl5/site_perl/5.8.6 /usr/local/lib/perl5/site_perl .)"

I get this whenever I try to use a program with use Strict or use Tk I have not tried other modules but I am guessing its the same story, which is strange since they come with the standard distribution and I can see the file in the /usr/local/lib/perl5/5.8.6 directory!!

Things i have tried
I removed the package with removepkg
then reinstalled from source off the perl.com website and followed the directions exactly which seemed to install flawlessly
I also tried active state perl

PLEASE HELP i have a project I am working on and this is really holding me back
 
Old 04-28-2005, 01:22 PM   #2
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 51
And where is Strict.pm ?
 
Old 04-28-2005, 01:25 PM   #3
Atrocity
Member
 
Registered: Nov 2002
Location: Hell
Distribution: FreeBSD, Slackware
Posts: 308

Original Poster
Rep: Reputation: 30
strict.pm is in /usr/local/lib/perl5/5.8.6 thats where I found it when I went snooping around, I checked the permissions on it and its read only for everyone if that matters at all
 
Old 04-28-2005, 01:31 PM   #4
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 51
It should find it since it's in the INC var, very weird.
Just a tought, isn't strict.pm instead of Strict.pm?
 
Old 04-29-2005, 08:08 AM   #5
Atrocity
Member
 
Registered: Nov 2002
Location: Hell
Distribution: FreeBSD, Slackware
Posts: 308

Original Poster
Rep: Reputation: 30
Found the solution to bother strict and tk.

FIrst off Strict in the directory is in lowercase s instead of Uppercase, so thats the problem finding the strict, which is strange cause every book i have read on perl has it as uppercase. Secondly the tk problem was that the tk800 doesnt want to install correctly so you need to install the newest version of tk804 to match with the newest version of perl..... Just thought I would post this in case anyone else has the same issues!!!!

Thanx for everyone who posted in here
 
  


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
strict usergroup ?? how to ?? help plz Mr.Bingles Linux - Networking 0 06-07-2004 01:03 AM
Am i right, wrong or just to strict in my views? BajaNick General 23 01-15-2004 08:20 PM
perl(Cwd) perl(File::Basename) perl(File::Copy) perl(strict)....What are those? Baldorg Linux - Software 1 11-09-2003 08:09 PM
perl(strict)>>>install nightmare salparadise Linux - Software 6 11-04-2003 02:43 PM
Strict DHCP puzz_1 Linux - Networking 8 06-05-2003 12:20 PM


All times are GMT -5. The time now is 02:13 AM.

Main Menu
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