General :: Can't Locate CPAN.pm In @INC - Error
Feb 22, 2010
I am executing command "yum install perl-CPAN". I got the following error "Can't locate CPAN.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 .).". Let me give you some details of the problem.
OS: CentOS release 5.4 (Final)
Architecture: : 32 Bit
Installed Perl Version: This is perl, v5.8.8 built for i386-linux-thread-multi
I've also studies previous posts on this topic which says "yum install perl-CPAN" will fix the problem when I execute this command I got "No package perl-CPAN available".
View 5 Replies
ADVERTISEMENT
May 6, 2010
There is this server that I have just put with Bugzilla. It needs Image::Magick module for rendering bmp or other image types to png to save some disk space and compress the images.
The best way to install it is using CPAN repos. And it gives whole lot of errors. I am attaching the file for errors.
But if try to install from cpan console it says Image::Magick is already the recent version.
Code:
And this is the bugzilla error:
Code:
View 11 Replies
View Related
Jun 7, 2010
I tried to use CPAN to install a module Algorithm::Loops using "install Algorithm::Loops". I get the message from CPAN that this module is already up to date.But, when I try to use it I get the message:
Can't locate Algorithm/Loops.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at ./test.pl line 4.
BEGIN failed--compilation aborted at ./test.pl line 4.
And indeed, the file Loops.pm is nowhere to be found.Isn't that a contradiction?
View 2 Replies
View Related
Jun 29, 2010
I have CentOS 5.4 and have installed CPAN GD module.Installation messages seemed clean and successful.When I try to create a png file, perl gives the error message :
Can't locate object method "png" via package "GD::Image" at
/usr/lib/perl5/vendor_perl/5.8.8/DBD/Chart/Plot.pm line 1276 (#1)
(F) You called a method correctly, and it correctly indicated a package
functioning as a class, but that package doesn't define that particular
method, nor does any of its base classes. See perlobj.
Also, the following perl one-liner gives answer "No".
perl -e 'use GD; $im=GD::Image->new(); print $im->can("png") ? "Yes" : "No" , "
";'
I suspect that this GD module requires Image::Magick, but that borks on installation.
Magick.xs:2344: warning: implicit declaration of function �MagickCoreGenesis�
make: *** [Magick.o] Error 1
JCRISTY/PerlMagick-6.59.tar.gz
[code]...
View 3 Replies
View Related
Nov 16, 2010
As the system boots up, these messages show up:
View 2 Replies
View Related
Feb 17, 2010
Here is my problem:I work with the BioPerl project. At first, I installed cpan modules without any problem,(eg.) sudo cpan -i CPAN::ModuleI've a proxy connection (university) and I'd configured my proxy settings correctly: perl -MCPAN -eshellIn the beginning it worked, but I don't know why it doens't work today. Here is the outline:
fernando@fer-laptop[fernando] sudo cpan -i Algorithm::Cluster
CPAN: Storable loaded ok (v2.15)
Going to read '/home/fernando/.cpan/Metadata'
[code]....
View 1 Replies
View Related
Oct 3, 2010
Quote:
1: #!/usr/bin/perl -w
2:
3: use CGI;
4: use CGI::Carp qw(fatalsToBrowser);
[code]....
DataAccess.pm is placed into /home/savio/myperlprograms, but I have following errors:
Quote:
Can't locate DataAccess.pm in @INC (@INC contains: /home/savio/myperlprograms /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at /usr/lib/cgi-bin/login.cgi line 7.
BEGIN failed--compilation aborted at /usr/lib/cgi-bin/login.cgi line 7.
View 3 Replies
View Related
Dec 5, 2009
I was trying to install Lingua-EN-Fathom when I got the error:
Can't locate ExtUtils/MakeMaker.pm
Then I try to install ExtUtils-MakeMaker. The Makefile.PL works fine but when I do "make", I got the error:
make: *** No rule to make target `/usr/lib64/perl5/5.10.0/x86_64-linux-thread-multi/CORE/config.h', needed by `Makefile'. Stop.
View 4 Replies
View Related
Feb 4, 2010
I logged on today to find my computer with a blank black screen when I walked back into the room. It appears that Ubuntu suddenly cannot find my HD anymore. I get through the grub screen and even past the little white Ubuntu 9.10 logo, but then no login box appears and when I press a key I get the terminal, where is says something to the effect of:
Error can not locate drive by-dev-id HD_BLAH ,
my Ubuntu partitioned drive of course. Is there any way to check that that drive is even still functioning. I pretty much have permanently switched over to Ubuntu, so it would suck to lose that drive.I really need some advice on what to do...should I just attempt to boot the live CD? (by attempt I mean my computer is so damn old that the CD and DVD drives are pretty much dead, and I'd be lucky to read a CD correctly because of this).
View 5 Replies
View Related
Jun 3, 2010
This morning, Update manager downloaded and attempted to install linux kernel image and header files but failed with some sort of error. I'm trying to locate the error log for synaptic package manager. Anyway I rebooted and everything seems to work okay. Did anyone else have this problem? This is from the history:
Code:
Commit Log for Thu Jun 3 05:45:42 2010
Upgraded the following packages:
linux-headers-2.6.32-22 (2.6.32-22.33) to 2.6.32-22.35
linux-headers-2.6.32-22-generic (2.6.32-22.33) to 2.6.32-22.35
linux-image-2.6.32-22-generic (2.6.32-22.33) to 2.6.32-22.35
linux-libc-dev (2.6.32-22.33) to 2.6.32-22.35
View 9 Replies
View Related
Feb 26, 2011
I installed a command line version of Ubuntu 10.10 using the alternate install disk. To suit my needs, I have to install the gcc C compiler in this environment. When connected under root, I enter the command: 'apt-get install gcc'. The error 'E: unable to locate package gcc' is then displayed on screen. how to install gcc? Is this package available from the alternate install disk or do we have to download it. If I dowbload a tar file, where should I copy it to to be able to have the install application see it?
View 2 Replies
View Related
Mar 3, 2011
I have installed the latest server (Ubuntu 10.04). When I tried (including sudo apt-get update first followed by sudo apt-get install virtinst) I get Unable to locate the package virtinst. It also did it for a few others as well. The apt-get update command is successful (on the console it says it is Done). I have network connection (no proxy) and I am able to ping other systems at home and outside world. So I don't believe it is network issue.
View 1 Replies
View Related
May 13, 2011
i am new to ubunto. i am trying to install some tools when i add the following command :
[Code]...
View 3 Replies
View Related
Jun 20, 2011
I tried to install vnc4server on my new ubuntu 11.04 but its fauling and here is the error log sunandi@sunandi-MM061:~/Downloads/linux-2.6.39.1$ sudo apt-get install vnc4server
[code]....
View 4 Replies
View Related
Sep 14, 2010
New to Ubuntu not to Unix. I am having issues with aptitude updates. Gives error unable to locate. When I look for the file manually I cannot find it either. It is looking for http://us.archive.ubuntu.com/ubuntu/ lucid/main Translation-en_US. Is there a site that list all mirrors that carry the updates? I would like to find manually and adjust source.list file.
View 6 Replies
View Related
Oct 15, 2010
Made a mistake while installing btusp for macbook. I know now that I shouldn't have deleted the installed files, I should have run "apt-get remove", but it's too late. Now whenever I install software or updates I get an annoying message about the btusb packages:Error! Cannot locate /usr/src/btusb-0.0.1.dkms.tar.gz.
File does not exist.
dpkg: error processing btusb-dkms (--configure):
subprocess installed post-installation script returned error exit status 2
No apport report written because MaxReports is reached already
Setting up oggconvert (0.3.3-1ubuntu1) ...
Errors were encountered while processing:
btusb-dkms
Setting up btusb-dkms (0.0.1) ...
Loading new btusb-0.0.1 DKMS files...
Error! Cannot locate /usr/src/btusb-0.0.1.dkms.tar.gz.
File does not exist.
dpkg: error processing btusb-dkms (--configure):
subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
I'd like to clean up apt/dpkg so that it doesn't think the package whose files I've deleted is still installed. when I run
dpkg -l "btusb*"
I get this output:
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
code....
View 3 Replies
View Related
Feb 24, 2010
I want to install LWP on my server! i have try many times but the result still failed!
I also try to force install and install/force install smaller module! There was 11 small modules build failed!
I was able to install LWP on a few server successful on Jan 2010.
View 2 Replies
View Related
Oct 20, 2010
while configuring cpan through o conf init inside the cpan shell my SSH connection went down. After reconnecting cpan comes up with this little thing:Quote:There seems to be running another CPAN process (pid 30131). Contacting...Other job is running.Shall I try to run in downgraded mode? (Y/n) [y]Now i could just kill the other process but wonder if its possible to just resume the cpan process?
View 4 Replies
View Related
Sep 29, 2010
My yum is not working. I need cpan in order to install a perl module net::ldap.
This is what I am see when I run the command yum install perl-CPAN
om updates:
I try running yum clear and yum update and nothing fixes the issue.
View 13 Replies
View Related
Mar 5, 2010
Can anyone provide me information about installing perl modules using CPAN.....
View 1 Replies
View Related
Apr 2, 2010
Exist it a module in cpan for creating a blog?
View 4 Replies
View Related
Mar 23, 2011
I'm trying to install Tk from CPAN in slackware-current x86_64 for perl v5.12.3 and get the following error message
Code:
In file included from Xlib_f.c:8:0:
Xlib.h:22:15: error: conflicting types for 'XKeycodeToKeysym'
/usr/include/X11/Xlib.h:1694:15: note: previous declaration of 'XKeycodeToKeysym' was here
[Code]....
View 3 Replies
View Related
Jun 8, 2010
I wrote a perl script to feed information to our load balancer:
Code:
#!/usr/bin/perl
#
use strict;
#use warnings;
#
#
use Net::SSH::Perl;
my $user="bluethundr";
my $pass="secret";
my $dir="$ENV{HOME}/data";
open (LBVSERVERS), '<', "$dir/lb-vserver" or die "Couldn't open file: $!";
open (CSVSERVERS), '<', "$dir/cs-vserver" or die "Couldn't open file: $!";
my $ssh = Net::SSH::Perl->new("10.50.0.1");
$ssh->login("$user", "$pass");
print " .....
I need to be able to install the Math::Pari CPAN module in order to accomodate the Net::SSH CPAN module. The prereqs are installed:
Code:
cpan> install Net::FTP
Net::FTP is up to date.
cpan> install LWP::UserAgent
LWP::UserAgent is up to date.
But when I either try to install or force install Math::Pari this is what I get:
Code:
cpan> install Math::Pari
Running install for module Math::Pari
Running make for I/IL/ILYAZ/modules/Math-Pari-2.01080604.tar.gz
Checksum for /home/bluethundr/.cpan/sources/authors/id/I/IL/ILYAZ/modules/Math-Pari-2.01080604.tar.gz ok
Math-Pari-2.01080604/ .....
CPAN.pm: Going to build I/IL/ILYAZ/modules/Math-Pari-2.01080604.tar.gz
Did not find GP/PARI build directory around.
Do you want to me to fetch GP/PARI automatically?
(If you do not, you will need to fetch it manually, and/or direct me to the directory with GP/PARI source via the command-line option paridir=/dir)
Make sure you have a large scrollback buffer to see the messages, or 'tee' the STDOUT/STDERR to a file.
Fetch? (y/n, press Enter) y
Getting GP/PARI from ftp://megrez.math.u-bordeaux.fr/pub/pari/unix/
Cannot list (Failed to establish connection.
): at utils/Math/PariBuild.pm line 319, <STDIN> line 1.
Can't fetch file with Net::FTP, now trying with LWP::UserAgent...
You do not have LWP::UserAgent and/or HTML::LinkExtor installed, cannot download, exiting...
View 1 Replies
View Related
May 8, 2010
I installed GD Package from cpan in ubuntu 10.04, but I need gdlib-config for this module. I installed libgd2-noxpm but I continue to have this problem.
View 1 Replies
View Related
Sep 30, 2010
I'm trying to install freeside, a perl based web application using the provided rpms & yum installation instructions.
It won't proceed because of missing dependencies and ends with the following:
View 6 Replies
View Related
Oct 30, 2010
What is "--installdirs site" options in cpan configuration?
View 1 Replies
View Related
Nov 11, 2010
I am working on perl and I am stuck on tk.pm on fedora 12. It work fine on window 7. here is my code.
#!/usr/bin/perl -w
#
use Tk;
I did search on google and try diff ways, but still get the same result
View 4 Replies
View Related
Mar 1, 2011
I have noticed i was getting no response from my printer so i went into Yast to check if it had dis-configured itself. I keep getting this message. not sure what is going on but i get the same response for any hardware.
Error Can't locate strict.pm in @INC (@INC ontains: /y2update/modules /root/.yast2/modules /usr/share/YaST2/modules /usr/lib/perl5/5.10.0/i586-linux-thread-multi /usr/lib/perl5/5.10.0 /usr/lib/perl5/site_perl/5.10.0/i586-linux-thread-
[Code]....
How to recognise a problem and how to reconfigure my hardware?
View 9 Replies
View Related
May 19, 2011
I am trying to install Photorec / testdisk I am entering this in terminal sudo apt-get install testdisk sudo apt-get install photorec For all these i am getting a message, "E: Unable to locate package testdisk" and similar message for Photorec. I tried this even for Foremost but i am getting same message. how do i get to open and work on these packages?
View 4 Replies
View Related
Mar 9, 2010
I get an error when typing perl build.pl: Code: Cannot locate Unicode/String.pm in @INC
View 11 Replies
View Related