Software :: Unable To Install One Of Perl Modules
Nov 11, 2010I am unable to install one of perl modules. Please guide me how to install perl modules resolving dependencies. How to verify installed module.
View 1 RepliesI am unable to install one of perl modules. Please guide me how to install perl modules resolving dependencies. How to verify installed module.
View 1 RepliesCan anyone provide me information about installing perl modules using CPAN.....
View 1 Replies View RelatedI have newly updated CentOS 5.6 server and would like to keep it "true" to CentOS, so try to avoid manually installing rpm's and CPAN modules.
I need to install perl graphing modules, Chart::Base, GD, GD::Graph, GD::Text, etc.
Have already done
Yum install gd gd-devel php-gd
What is the best way to install perl cpan modules in slackware?
i know that you can use 'cpan' and say 'install date::calc' but there is a perl-date-calc slackbuild on sbo. so which is the better way and why?
I've done a clean install of Slackware 13.37 64-bit and am having trouble with building the Perl modules for Bugzilla 4.x.x (downloaded yesterday with bzr). This same problem exists with both Bugzilla stable and 4.1.2+.Executing checksetup.pl results in
Code:
checksetup.pl
* This is Bugzilla 4.1.2+ on perl 5.12.3
[code]....
CentOS and RHEL even though I've been using various Debian/Ubuntu Distros for quite some time. However, I always used to install perl modules via apt-get or, if that did not work, via cpan.In CentOS, I tried installing a couple of perl modules via yum but there are only a very few available. When trying to install perl modules via cpan, the install process usually fails during the make process.I'd prefer to install those modules via the distribution's package manger yum as it's easier to resolve dependencies. Are there any repositories I should add to have more perl packages available? (Where to add further repositories, I just know /etc/apt/sources.list in debian based distros)The other option still would be to install perl modules via cpan. For instance, when trying to cpan install Geo::IP, the output is as follows:
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
Database was generated on Wed, 02 Mar 2011 02:42:03 GMT
[code]....
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]....
When i tried to execute im getting the following error
Can't locate Spreadsheet/WriteExcel.pm in @INC (@INC contains: /usr/local/lib/perl5/5.6.1/alpha-dec_osf /usr/local/lib/perl5/5.6.1 /usr/local/lib/perl5/site_perl/5.6.1/alpha-dec_osf /usr/local/lib/perl5/site_perl/5.6.1 /usr/local/lib/perl5/site_perl .) at excel.pl line 4. BEGIN failed--compilation aborted at excel.pl line 4. If i need to install the modules whether they will work for 5.6.1 version?
With the latest Freenode changes SSL connection is now possible which presents no problem, particularly with rworkman's ca-certificates slackbuild, But configuring sasl for the password to nickserv presents a bit more of a challenge as 3 perl modules are required: Crypt::OpenSSL::Bignum, Crypt::DH, Crypt::Blowfish and Math::BigInt. I have not packaged perl modules for slackware before and I guess there is always a first time but can I ask if anybody has already neatly packaged up the required perl modules? I suspect they will be very popular with Freenode slackware irc users...
View 2 Replies View RelatedI was trying to install VirtualBox through the YaST > Software Management but it is not working, someone in the forum told me that I have to download the OSE version and do it manual way. Finally I am able to start up VB but not able to use the network connection. Thus I am trying to do this:
/etc/init.d/vboxdrv setup. I get this error:
[code]...
When I type dmesg, it shows me a bunch of info which I don't know what should look for. When I type modprobe vboxnetflt, I get the error: FATAL: Error inserting vboxnetflt (/lib/modules/2.6.37.1-1.2-default/updates/vboxnetflt.ko): Invalid module format. what should I do in order to get my VB to be able to connect to the internet?
I am unable to run perl-cgi script in my cent os Apache server. I have used locate perl command in terminal window and it gives following result:
[code]....
tell which is the path to perl for example "usr/bin perl"
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?
Yet another problem I have. Suse is taking a while to learn but I swear I'm getting there. Can pritty much do everything by CLI now. I'm trying to run VMware Workstation 6.5 on OpenSuse 11.2, Gnome. I had it running fine but then needed to do a system re-install and upon installation this time I get a error saying it's is Unable To Build Kernel Module and reffers me to a error log. The error log says:
Code:
Mar 14 22:07:51.420: app| Log for VMware Workstation pid=6136 version=6.5.0 build=build-118166 option=Release
[code]....
I want set up VPN on my VPS but when i try to turn on tun/tap i see:
:/lib/modules# modprobe tun
FATAL: Could not load /lib/modules/2.6.18-194.17.1.el5.028stab070.7PAE/modules.dep: No such file or directory
os : debian 5
(folder lib/modules is empty)
I am trying to build a Python module (pyfits) but I get the following error:
# python setup.py install
/home/steve/src/pyfits-2.2.2/stsci_distutils_hack.py:239: DeprecationWarning: os.popen3 is deprecated. Use the subprocess module.
[code]....
I just installed a fresh CentOS 5.2 32bit system. I used "The Perfect Server" server document from Howtoforge and went through those steps and then added Webmin administration console. I then tried to install VMware Workstation 6.5 onto the system. I downloaded the latest VMware bundle, ran it and everything went fine. I then try to run vmware and I get the following messages
C header files matching your running kernel were not found
Before youcan run VMware Workstation, several modules must be compiled and loaded into the running kernel
Kernel Headers 2.6.18-92.1.22.el5.centos.plusPAE
Kernel headers for version 2.6.18-92.1.22.el5.centos.plusPAE were not found. If you installed them in non-default path you can..
I'm trying to update the drivers to NVIDIA-Linux-x86-260.19.21.run (GeForce GT 220) but ran into several problems. I'm currently running Ubuntu 10.04. when running sudo sh NVIDIA-Linux-x86-260.19.21.run /var/log/nvidia-installer.log gives the following errors:
-> Uninstallation of existing driver: NVIDIA Accelerated Graphics Driver for
Linux-x86 (260.19.21) is complete.
-> Searching for conflicting X files:
ERROR: Unable to open '/usr/lib/xorg/modules/libglx.so' for reading (No such file or directory)
[code]....
I have installed Arch Linux quite a few weeks ago; but I'm still trying my best to install the nividia display driver for my graphics card (nVidia Geforce 2 MX 400). Not only in Arch but have tried installing on other distros and still failed. I have read up all the documentations and I still find it hard to do this task. When I used the terminal and executed the NVIDIA-Linux-x86-94.43.01-pkg1.run file without any window manager running, I get this problem:
ERROR: Unable to determine the version of the kernel sources located in '/lib/modules/2.6.35-ARCH/build'. Please make sure you have installed the kernel source files for your kernel and that they are properly configured; on Red Hat Linux systems, for example, be sure you have the 'kernel-source' or 'kernel-devel' RPM installed. If you know the correct kernel source files are installed, you may specify the kernel source path with the '--kernel-source-path' command line option.
ERROR: Installation has failed. Please see the file '/var/log/nvidia-installer.log' for details. You may find suggestions on fixing installation problems in the README available on the Linux driver download page at nvidia.com.
Now I'm using Arch Linux Kernel 2.6.35 and I have got the source. But where am I suppose to put it now? I do not want to change the kernel. I just want the nVidia installer to identify that there is a kernel source so that it can install. I have searched up a lot on websites and ended up with no proper guide.
This is a very old driver. So since now I have the nVidia driver installation package and also the kernel source,
I have, for days, been trying to get a Fedora 15 server to send audio output to the system monitor, an ASUS VH242H, via HDMI. The video portion works perfectly, allowing me to appreciate GNOME 3 for the first time. Sound, on the other hand, is non-existent.
From many, many threads on this problem, I have at least been able to provide some info which might help resolve this. Unfortunately, I have now read too much and followed too many suggestions to be able to find my way through the morass. So, once again, I built a completely new system to ensure a clean start.
Note also that to simplify things, I disabled the on-board audio in BIOS so only Nvidia has any sound output capability. Initially, 'alsamixer -V all' identifies the card and the chip as being PulseAudio. That would change if I used the <F6> option but I have not done so to keep things 'clean' at this point. The 'Master' is full on (100<>100), so muting is not a problem. Next, I searched for the device from the output of /proc/asound/card0 which would match the monitor.
The one device associated with the monitor_name is eld#3.0:
monitor_present 1
eld_valid 1
monitor_name ASUS VH242H
[code]...
Both the kernel driver and the kernel modules are not what I think I should have. The kernel driver should be HDA NVidia for starters, no? Running modprobe -l and looking for nvidia returns:
'kernel/drivers /video/nvidia/nvidiafb.ko'and 'extra/nvidia/nvidia.ko' But I have not attempted anything beyond this point because I am just too confused as to what needs to be done and who or what manages these values effectively.
Just installed Fedora 14. I wanted to try "Hello World" with perl. But where is it?
Code: [user]@user bin]$ ls
I've been trying to load my pcmcia network card driver "xirc2ps_cs" at startup with no success. I have added "modprobe xirc2ps_cs" to the rc.modules file but it doesn't load at startup. Curiously, though, if I execute rc.modules AFTER the machine has booted it will load the modules just fine. Just not during the boot up process. Thinking that hotstart might have been causing problems I've disabled hotstart (chmod -x) temporarilly to remove it from the picture, but there was no change.
View 5 Replies View RelatedI've been reading / trying to learn some Perl lately. I've found the free book, "Learning Perl", quite good and easy to follow most of the times. However, today I was testing one of the scripts in the book and it would only run partly.
Code:
#!/usr/bin/perl
use warnings;
use strict;
my %inventory;
[code]....
This row is supposed to give option, either to use an additional script as pipe (sort.plx),or STDOUT if the extra script is not found.It works with the other script present, however, with the sort.plx being absent it simply wont use STDOUT instead but whines to me:
Can't open perl script "sort.plx": No such file or directory
Has the author of the original script done some error writing it? Since I'm a beginner and found most of the stuff confusing in Perl either way (having previously only experience in Bash and some in PHP) - I can't really tell for sure , but from what I can read in documentation - it doesn't appear to be wrong.As it looks now, the only way for me to use STDOUT is only by removing:
open (SORT, "| perl sort.plx") or *SORT = *STDOUT;
select *SORT;
rows. But then, I lose the piping in to that other script as an option.
where I'm trying to demonstrate the file locking concept through Perl/CGI.Here is the script which I tried.
Code:
#!/usr/bin/perl -w
use strict;
use warnings;
print "Content-type: text/html
[Code].....
I'm trying to install some wireless drivers, but apparently I don't have a /lib/modules/<kernel>/build directory, which is causing the Makefile to throw an error. Is there a specific place I should point the Makefile at?
View 9 Replies View RelatedI'm trying to split a text file into various parts. Everything in between "123" and "break" (including linebreaks) goes into the splitted file.
e.g. using this text file:
This should split into 4 files. However I'm only getting 2 files: one for the line "123break" and one for "123 blah break". The two occurrences that contain linebreaks are being ignored. The .* part of my match should capture linebreaks seeing that I'm using the /s modifier shouldn't it? Even when I use the match /(123 break)/gs it still doesn't capture the first occurrence. I'm using Perl v5.12.3 (from ActiveState) on Windows XP. The text file is also in Windows format.
Code listed below.
The above code generates two files Output_1.txt and Output_2.txt which contain "123break" and "123 blah break" respectively. I want it to generate four files.
Tonight I installed ubuntu 10.10 (32 bit) on an external usb harddrive with a dvd I burned and I used my older desktop. I disconnected all internal and external drives first so everything had to be put on the usb drive I selected (only option available). I used the option to load extra software, use the entire hard drive, and let the software do it's thing. I basically had no options where to put things and it didn't have much choice.
When I boot the usb drive on my laptop (win 7 64 bit) by telling the bios to boot to it first... I get an error: modprobe: FATAL Could not load /lib/modules 2.6.35-22 generic modules No such file or directory. This message appears twice and then it does boot into ubuntu and seems to work fine. I'm new to this OS so that is an uneducated guess but the things I have done seem to be working. So exactly what is this error referring too? Is there a way to fix the problem or do I just ignore it.
I have a dedicated server. It doesn't have any GUI (gnome or something like that), so i need to use terminal, which is hard for a non-advanced user. So i have a few questions:I'm hosting a CS server and a few other servers later on. But right now only CS server. With it i need to start another perl window, which updates the stats to the website and database.So how can i start both server, that program and maybe use the console at the same time?Another question is: when i quit the server, it automatically restarts. How can i just kill the process? I don't want to restart my server every time i want to shut down the CS one.
About perl: how can i install per modules and how can i know the translations of perl modules from windows to linux names?And is there any firewalls by default clean installation, which might 27500 port and any connections trough 3306 to the database on my web server? If no, how come, that my program is unable to connect to my website database?Will my own email server take a lot of resources? Which only i would use and wouldn't receive much mail? And are there any guides how can i do that?Will a web server, which wouldn't take much visitors each day take a lot of resources?
I have a Toshiba Portege S100. Its about 4yrs old so Centrino and runs XP. The hard drive is grinding so I need to replace it. I figured it would be a good opportunity to look at Linux. So, I booted up the Ubuntu 9.1 CD and it didn't pick up the wireless card or sound card. Having looked around, it seems that this will need a little work.Well, the link I was trying to post mentions I need to install the snd-intel8x0 and ipw2200 modules.This doesn't look easy. Are there any distros that would make this process less painful?Alternatively, is this the sort of thing people would be able to help me with if I just said I wanted to get it working on Ubuntu or whatever distro I chose?
View 7 Replies View RelatedI had a problem on ubuntu when running "sudo apt-get dist-upgrade" and wanted to report how I solved it. Hopefully this helps anybody with similar problems.
I always got the error message:
Code:
The problem is in libxml-sax-perl.postinst which does not seem to be executable.
I did not install any perl packages manually by cpan and found the solution in http://ubuntuforums.org/archive/inde...t-1342009.html where it was only one part of a bigger problem.
I created a backup file (always a good idea) of my libxml-sax-perl.postinst:
Code:
I deleted the old file:
Code:
Created a new file:
Code:
With the following content (copied from the link mentioned above):
Code:
I have a Xserve server with Debian 2.6.26-2-amd64, the cpu is 2 X Intel Xeon 5150 @ 2.66GHz.I want to scaling down the cpu frequency and I only found three modules in my system and all of them are not working:
lake:/# ls /lib/modules/2.6.26-2-amd64/kernel/arch/x86/kernel/cpu/cpufreq
acpi-cpufreq.ko powernow-k8.ko speedstep-centrino.ko
lake:/# modprobe acpi-cpufreq
[code]....