LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-05-2009, 07:06 AM   #1
psynce_friction
LQ Newbie
 
Registered: Jan 2009
Posts: 9

Rep: Reputation: 0
Can't locate RunCmd.pm in @INC


Hi,

I installed a program in my private directory but when i attempt to run it i get the following error

Can't locate RunCmd.pm in @INC (@INC contains: /assembly/ /usr/lib/perl5/5.8.5/i386-linux-thread-multi /usr/lib/perl5/5.8.5 /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.2 /usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at /home/brian/progs/euler-sr/assembly/Assemble.pl line 8.
BEGIN failed--compilation aborted at /home/brian/progs/euler-sr/assembly/Assemble.pl line 8.


I assume that this has to do with dependencies or a pathway problem but i am unsure of how to fix it

cheers
 
Old 01-05-2009, 07:13 AM   #2
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,527

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898
what distribution?
What are you trying to install?
 
Old 01-05-2009, 07:22 AM   #3
psynce_friction
LQ Newbie
 
Registered: Jan 2009
Posts: 9

Original Poster
Rep: Reputation: 0
I am runnig Redhat 2.6.9-67.0.7ELsmp

and I have installed a work related program called euler-sr http://euler-assembler.ucsd.edu.
 
Old 01-05-2009, 07:27 AM   #4
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,527

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898
can you locate the file?
find / -name RunCmd.pm
 
Old 01-05-2009, 07:32 AM   #5
psynce_friction
LQ Newbie
 
Registered: Jan 2009
Posts: 9

Original Poster
Rep: Reputation: 0
yes

find -name RunCmd.pm

./progs/euler-sr/assembly/RunCmd.pm
 
Old 01-05-2009, 07:36 AM   #6
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,527

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898
try to copy the file to the path in the errormessage
 
Old 01-05-2009, 07:55 AM   #7
psynce_friction
LQ Newbie
 
Registered: Jan 2009
Posts: 9

Original Poster
Rep: Reputation: 0
that could work. But i don't have premission to access the directory at this time. I'll have to wait till the admin comes back from holidays.

thanks repo
 
Old 01-05-2009, 06:45 PM   #8
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,260

Rep: Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328
How to customise @INC: http://perldoc.perl.org/perlfaq8.htm...-at-runtime%3F
 
Old 01-06-2009, 04:51 AM   #9
psynce_friction
LQ Newbie
 
Registered: Jan 2009
Posts: 9

Original Poster
Rep: Reputation: 0
Thanks Chris

Worked a charm
 
Old 10-14-2010, 11:55 AM   #10
karl_jv
LQ Newbie
 
Registered: Oct 2010
Posts: 1

Rep: Reputation: 0
Eusrc

In the case of Euler-sr it is also possible to set the EUSRC variable to the folder were euler is extracted as mentioned in the readme:

export EUSRC="euler root"
 
  


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
locate mikeshn Linux - Software 4 05-14-2007 05:38 AM
cpan> locate -u Unknown shell command 'locate -u'. Type ? for help. sharad2005 Linux From Scratch 1 08-04-2006 01:40 AM
locate juanb Linux - Newbie 2 12-18-2003 06:36 AM
Can't locate locate hindenbergbaby Linux - Newbie 3 10-22-2003 05:13 PM
how to locate ? jamaso Linux - General 4 10-17-2002 04:45 PM


All times are GMT -5. The time now is 11:31 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration