LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-17-2003, 06:38 PM   #1
neenee
Member
 
Registered: Feb 2003
Location: Netherlands
Distribution: debian (sid)
Posts: 693

Rep: Reputation: 30
Unhappy x-chat perl problems.


hi everyone,

i have searched through these forums, and i have searched across
the net, to no avail. when i try to load a perl script in x-chat, i get
the following perl-related error.. my question is how do i fix this?

----------------------------
Apr 18 01:32:59 Errors loading file /home/neenee/.xchat2/sysinfo.pl:
Apr 18 01:32:59 Can't locate strict.pm in @INC (@INC contains: /usr/lib/perl5/i386-linux /usr/lib/perl5 /usr/lib/perl5/site_perl/i386-linux /usr/lib/perl5/site_perl /usr/lib/perl5/site_perl .) at (eval 4) line 8.
BEGIN failed--compilation aborted at (eval 4) line 8.

Apr 18 01:32:59 Error compiling script
----------------------------

i reckon i could fix it by adding the correct paths to @INC, but i
do not know what @INC is (guess is some sort of include file..),
let alone how to modify it.

any help is greatly appreciated.
 
Old 04-17-2003, 06:46 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
as root do a:
find / -name strict.pm

Then if it returns a match:
ln -s /PATH/TO/strict.pm /usr/lib/perl5/strict.pm

Replace /PATH/TO with the path it was found in.
 
Old 04-18-2003, 03:08 AM   #3
neenee
Member
 
Registered: Feb 2003
Location: Netherlands
Distribution: debian (sid)
Posts: 693

Original Poster
Rep: Reputation: 30
thank you. that worked for that file. but it seems there are
many other files which needs symlinking; i did five now, but
it keeps asking for more files.. perhaps perl needs to be
setup or something so that all the files can be found (some-
thing less manual hopefully).

*update* removed x-chat, then installed it from source
instead of slackware package, and it now uses my specific
locations for the perl libraries.

:)

Last edited by neenee; 04-18-2003 at 03:18 AM.
 
Old 04-18-2003, 12:17 PM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
If they are all in the same place you could add that path to the include list.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
is there a prog like gaim that has voice chat, chat to groups, and webcam support? kublador Linux - Software 3 07-08-2008 07:53 AM
Gyach voice chat problems JameyC Linux - Software 2 09-04-2006 02:08 PM
problems with ppp and chat.... slack---line Linux - Networking 3 05-27-2004 10:10 AM
Problems with X-chat and Mozilla cferris Fedora 7 02-15-2004 05:55 PM
ip masquerading +yahoo voice chat problems newpenguin Linux - Networking 0 10-23-2003 05:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:40 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
Open Source Consulting | Domain Registration