I want to connect to MySQL Database installed on RHEL 5 using perl v 5.8.8.The available DBD perl drivers installed on my machine are:DBM, ExampleP, File, Pg, Proxy, Sponge..I downloaded DBD-mysql-2.1012 and tried installing DBD again but got the following error:Can't exec "mysql_config": No such file or directory at Makefile.PL line 167.readline() on closed filehandle PIPE at Makefile.PL line 169.On searching I found that I need to install libz-devel prior to installing driver for MySQL for Perl.
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
I need to install the Perl DBI and DBI::mysql modules at Amazon Web Services. Perl 5.8.8 is installed there as part of the default Fedora linux that comes with an EC2 instance. I am not familiar with Fedora, but have been using Linux for a good while.If anyone could tell/show/direct me to the quickest way to do this.
I need to install different version of Perl with needed modules to Test Run a perl script (ASSP) without affecting the existing one as the old version of Perl is buggy with seg fault.
Im quite new to Linux so im trying to learn as i go along.
I currently have Redhat 5.2 installed on a server and this has been setup with Oracle 10g Applications installed and configured by the developers at my company.
I have now been asked to install Redhat 5.4 so we can move onto Oracle 11g.
The question i need help with is... Can i update my current Redhat 5.2 with Redhat 5.4 without losing my current setup and configurations?
I have had a search around and found a command called 'yum' but this looks like it is only used to install packages and security updates etc.
I was trying to install MySQLbd (a module for python to connect and access MySQL) I followed these steps for installation[URL].. but while I am getting some installation errors. When I try to run $ python set.py build I am getting the following errors (I removed few errors as I can post more than 10000 characters here)
I'm trying to write a script in Perl to download a file that requires NTLM authentication to access, stored on a machine on this network.The file exists, and can be accessed through a web-browser, btw.
I am trying to make use of the perl module WWW::Nike::NikePlus to retrieve the data from my ipod but apparently I have no idea what I am doing. I installed the package just as the readme said including all the dependencies. I cant really figure out how to run it, i searched for how to use it and found this : Example use that retrieves and prints your last run information
use WWW::Nike::NikePlus; my $username = 'my@email.address'; my $password = 'MySecretPassword'; my $locale = "en_us"; my $pin = nike_authenticate( $username, $password, $locale ); unless( $pin ) { print "Authentication failed "; } .....
#Details of the last run my ($unit, $last_run_dist, $last_run_duration_millisecs, $last_run_duration_friendly, $last_run_pace_friendly) = nike_last_run(); print "Last run: $last_run_dist$unit in $last_run_duration_friendly "; print "Last run pace: $last_run_pace_friendly per $unit ";
So I put it in a txt file and saved it with the extension .pl and of course I put in all my info in the username password fields then made it executable with the command sudo chmod +x nikeplus.pl and when I try to run it with either ./ or perl I get this output:
brandon@desktop:~/Apps/nikeplus$ ./nikeplus.pl ./nikeplus.pl: line 1: use: command not found ./nikeplus.pl: line 2: my: command not found ./nikeplus.pl: line 3: my: command not found ./nikeplus.pl: line 4: my: command not found ./nikeplus.pl: line 6: syntax error near unexpected token `(' ./nikeplus.pl: line 6: ` my $pin = nike_authenticate( $username, $password, $locale );' brandon@desktop:~/Apps/nikeplus$ perl nikeplus.pl Use of uninitialized value $ENV{"TEMP"} in concatenation (.) or string at /usr/local/share/perl/5.10.0/WWW/Nike/NikePlus.pm line 10. Use of uninitialized value $last_run_duration_millisecs in division (/) at /usr/local/share/perl/5.10.0/WWW/Nike/NikePlus.pm line 106. Use of uninitialized value $last_run_dist in division (/) at /usr/local/share/perl/5.10.0/WWW/Nike/NikePlus.pm line 107. Use of uninitialized value $last_run_duration_millisecs in division (/) at /usr/local/share/perl/5.10.0/WWW/Nike/NikePlus.pm line 107. Illegal division by zero at /usr/local/share/perl/5.10.0/WWW/Nike/NikePlus.pm line 107. brandon@desktop:~/Apps/nikeplus$
I have Apache/2.2.14 (Ubuntu) DAV/2 SVN/1.6.6 mod_fcgid/2.3.4 Phusion_Passenger/2.2.14 PHP/5.2.10-2ubuntu6 with Suhosin-Patch configured In UBUNTU 10.04 I like to install apache2 mod_perl I make apt-get install libapache2-mod-perl2 and I get: Quote: libapache2-mod-perl2 is already the newest version.
Ok I try sudo a2enmod mod_perl ERROR: Module perl does not exist! how I make Perl work in apache2 UBuntu 10.04
I'm attempting to set up a GIMP scripts for batch operations on groups of image files. Initially I started reading about the Script-Fu syntax but it looked too convoluted (at least for me, with 15 years of Perl experience at work) in a way it does the simpliest of things so I attempted to use Perl instead of Script-Fu. From reading the docs I see that I need to install "Gimp::Fu" Perl module. I installed "cpan" first, started it and issued the command:
install "Gimp::Fu"
and got a dependency problem:
Code:
cpan[1]> install "Gimp::Fu" CPAN: Storable loaded ok (v2.18) Going to read /root/.cpan/Metadata Database was generated on Thu, 28 Oct 2010 17:30:45 GMT
I need to get some information like cpu usage,free memory,swap memory and other information from a bunch of remote hosts.Can any one tell me of a good perl module which does that.I dont want to use Net::Rsh or Net:SSH.
redirect a domain name with /abc to external ip of web server. Now I can made sure that I should use the rewrite module to achieve this issues. But I don't know how can I enable this function in my apache web server. I will post my httpd.conf for your reference.
I have installed perl5.12.3 in a custom location, ( a NFS share). I have all the libraries created in the same location. This was an attempt not to disturb existing version of perl. I have succeeded doing this.Now, I need to install around 200 perl modules. I tried Bundle option in CPAN shell, it somehow did not work. Does anyone here know off any other better method of installing multiple perl modules. How do I use CPANPLUS to install all the modules. What changes do I make to Config.pm considering custom location of perl installation I have done.
installing Bugzilla on CentOS 5.5 step by step? I want to learn how to install on my own pc, cause I will have to install it later on this semester for my professor.
I have spent over half of the day, literally, trying to get my server to parse perl and be able to use perl scripts to interact with my SQL server. Has anyone been able to get it to work? Only looking for answers to Slackware. There are a lot of resources for FC and Ubuntu, but that does me no good. I checked the Slackbuilds for their builds, and built the libdbi and libdbi-drivers package, but still cannot get it to communicate.
I have a permission to use several CentOS5 computers that are connected to a server where all shared programs sit. Accordingly, all Perl users for example have an identical path to Perl (e.g. /export/user/bin). The administrator suggested I'll install all the programs I need (specifically Perl and Mysql) in my personal space, and then add them to the path before the already installed ones. Accordingly, I could add/change modules without "sudo" privileges, and without changing the global setting.
I'd like to use a perl script to update a fields in mysql database when pianobar (command line pandora radio player) starts a new song. Pianobar has the ability to run a script based on events, I'd like to take advantage of and use perl toparse the artist,song,album and update the corresponding fields. Then later retrieve them and display them with php/html. I am by no means proficient with perl. I started to use bash, but it looks like perl will be much more efficient and and less time consuming.
I do a "clean" root-only install; i.e., the only partitions that are formatted are the root and usr partition leaving the others untouched (so I don't have to restore the entire thing every time or fiddle with updating). That leaves almost everything in place with only a few edits and additions to make to get back in business; smart and dumb and the same time, sigh.
The partitions look like this for what it's worth:
Code:
Anyway, my web server comes up just fine and other applications work as expected except for Bugzilla and I can't remember what the heck it is I have to do to get it going again. I add a file, httpd-bugzilla.conf in the extra directory and include it at the end of httpd.conf:
Code:
In the above, /var/www/htdocs/bugzilla is not a symbolic link, Bugzilla is actually installed there (and has worked just fine for a long, long time). And, yeah, I know I'm not really supposed to do that but there it is.
I also run checksetup.pl which completes cleanly (it also sets permission masks and group) and double-check that localconfig looks like it ought to.
As I mentioned on another thread, I have 2 Ubuntus - Jaunty and Meerkat - as separate drives on my secondary IDE channel. I am removing Jaunty. Meerkat blows it away. And is certainly my preferred OS. However I am looking for a replacement for Jaunty that is more flexible in certain key areas than Ubuntu appears to be.I dont want to be restricted to Debian versions of things like Perl, MySQL, PHP and others. I can run LAMPP, but I would prefer to compile and have the versions of my choice as part of a main test system (apart from Meerkat that is).
I have had enough nightmares in Jaunty with things getting broken and spiralling out of control. I want a distro that doesnt rely on the GUI and its attendant utilities, but can run them when called. Meerkat is stable and has resisted me breaking it so far, but I do not want to push my luck. I have too much time invested in it. I intend to use Meerkat as my primary system on the machine, but want an alternative to *PLAY* with.