General :: Error Installing Image - Magick Via CPAN
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.
I need to convert a .jbg image to something else more 'generic' (.jpg, .png) but i discover that thar format seems not to be supported by default. Searching i found that i need jbigkit, so i download it but know dont know how to make it work?
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'
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".
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?
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".
I have 2 hard-disk in my pc. What i want to do is to install suse using iso image kept on secondary hard-disk without using cd/dvd rom. Kindly tell me the steps to install suse on /dev/sda, using iso img kept in /dev/sdb.
I have up graded to natty 11.04 and am trying to get magick rotation 1.4 working on my hp tx2000 model 2130ea.I have spent a lot of time reading the forums and trying stuff including breaking natty a few times and had ton do a reinstall. Anyway I am not to sure what I am doing wrong missing a script or something I have tried a few different ways to try and rotate screen at the moment I have magick rotation installed and the only thing I can do with it is turn on/off touch and if I move the courser over the green arrow icon a drop down box appears saying its loading. I did turn on the bug report and this is what it says I attached the log.
I have a pc I want to clone and it has 2 partitions sda1 which is vfat and sda2 ntfs. When I had mounted my external hdd it was seen as sdc1 and my Knoppix boot as sdb1. I tried using the following command to copy the pc image to my external but when it gets to 26Gb it gives read error.
I am having a problem installing SLES11 on a new server. It goes fine through the setup until it gets to GRUB, it gets me the following error message: Error occurred while installing GRUB
Okay, so bear with me for the lack of detail, its 3:46am and I'm really a beginner at this. So here is my issue: I decided I wanted to try Linux, so i got a Disc Image of Opensuse 11.3. while burning this disc image to a DVD-R I had no issues. But after the Validation was done an error appeared stating the disc Image was not burnt due to some error (apologies for not paying too close attention here) although the entire burn completed without issue. So I closed it and figured I would try again with another Disk when i get one.
Well as it turns out I did burn the Disc Image, and decided to try the Install. I have previously installed Ubuntu a few times and figured it was just as easy.. so I restarted my computer and booted from the CD. went through the Installation up to the Partition part.. This kind of confused me at first but I eventually got that it wanted to shrink my existing windows partition in order to make room. so i went along with it and began the install. well about halfway through the installation error messages kept showing telling me there were missing Packs. after about 10 messages I aborted the install for fear of what would happen now i have a shrunken partition and i dont know how to fix or what to do. I would still like to install opensuse but i dont have anymore DVD-R's and my Flash drive is too small. I will try to provide any info i can upon request. Oh, I forgot to mention im Running windows 7. if that helps at all which I doubt it does. I can safely access windows, nothing happened to the information on my drive. Im just missing 50GB of space now.
I have wordpress server running on my machine and I have SELinux enabled for enforcing/targeted. I am unable to insert images, music, etc from the add new post field on the wordpress dashboard. I receive the following error:
image.jpg has failed to upload due to an error The uploaded file could not be moved to /var/www/html/wordpress/wp-content/uploads/2010/10. When I disable SELinux completely, it works fine. Does anyone know what Boolean I need to check to resolve this issue?
Greetings from Greece. I tried to install opensuse 11.3 in an empty disk . Unfortunately the installation progress stops in 88% and the message error says "error copy live image to the disk". I have burn two different cd but the result is always the same.Is it a hardware problem or the cd is not correct?I had the 11.2 version in the same pc without any problem for a long time.
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?
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
I am using Ubuntu minimum 9.10 and I would need to add a network driver. I was told that it is the safest way to rebuild the kernel that includes this driver. I built the kernel and loaded it to my Ubuntu minimal. The network now works. However, during bootup time, I got the following error messages.
[Code]...
1. Can Linux gurus tell me what they are?
2. Also, I use bootchart to check the performance, somehow, in the first 5-6 seconds, nothing happens. I would assume that there is a time-out, but I do not know what is happening.
3. Ubuntu minimum uses kernel 2.6.31.22, and I use a later version, 2.6.33.5. Should I use 2.6.31.22 or 2.6.33.5?
I downloaded the patch and then followed the instructions but still I get the error message when run the following command I am using ns2.32 on fedora 14. ns DRR1.tcl Starting Simulation... [mujtiba@ddos project result]$ nam: [code omitted because of length] : no event type or button # or keysym while executing "bind Listbox <MouseWheel> { %W yview scroll [expr {- (%D / 120) * 4}] units }" invoked from within "if {[tk windowingsystem] eq "classic" || [tk windowingsystem] eq "aqua"} { bind Listbox <MouseWheel> { %W yview scroll [expr {- (%D)}] units } bind Li..."
If I have a hard-disk with Ubuntu fully installed on it and I want to - all of a sudden - use Windows XP, is it mandatory that I firstly format the hard-disk first? So far, I have used two versions of Windows XP; one of them is from a few years before the other. Both copies of Windows XP when in start-up from booting from CD are causing errors. One of them is a BSOD error (0x0000007B) and the next Windows CD is stopping and giving me an error with setupdd.sys (error code 4). Is it required that the hard-disk is formatted before you even put a Windows boot CD in?
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...
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.
This is on a cloud instance of maverick 64bit.In using cloud init to install a package (also does not work manually) I receive the following error.issuing an update with --fix-missing also does not work. I do notice, however this is trying to hit ec2.archive. For iperf I don't know that it needs to be ec2 specific. To my knowledge this worked a few weeks ago. Also, where it is easy enough on a Desktop version of maverick to simply switch sources for the upgrades/updates I have not found how to specify a new url (i.e. Duke University vs. MIT) The repositories I am happy with just the location of the repositories.On this particular cloud image is it even safe to leave ec2 as it is a specialized stripped down image.
I downloaded ubuntu 8.04 and 8.10 iso for ps3. I get it to cd with no problem, go through the first phase fine, but then installing the base system I get the error "Warning: Failure while configuring required packages" I press enter it continues then this error comes "failure while configuring base packages. This will b attempted 5 times". Why these errors? I am looking forward to using linux on ps3.
I was trying to install Munin on my CentOS VPS via yum, but it showed a few "Missing Dependency" errors which prevented the installation to work. I'm pretty sure all the required Perl packages listed on this page are installed on my server(went through the list one by one using cpan), couldn't figure out what's the issue.