Slackware :: Get The DBI Drivers Installed For Perl And MySQL?
Feb 6, 2011
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.
View 1 Replies
ADVERTISEMENT
Dec 2, 2010
I've decided to learn perl and have an application that is going to require the use of mysql.
Are these warnings bad?
Here's the code:
Code:
And the warnings:
Code:
View 2 Replies
View Related
Aug 2, 2010
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.
View 1 Replies
View Related
Dec 9, 2009
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.
View 1 Replies
View Related
May 10, 2011
Pam-mysql can not connect to the database and below are my configurations.
saslfinger -s Output:
root@mailbackup:/# saslfinger -s
saslfinger - postfix Cyrus sasl configuration Tue May 10 10:12:10 EAT 2011
version: 1.0.2
mode: server-side SMTP AUTH
-- basics --
Postfix: 2.7.2
System: Slackware 13.1.0
-- smtpd is linked to --libsasl2.so.2 => /usr/local/lib/libsasl2.so.2 (0x00007f74ebfb7000)
-- active SMTP AUTH and TLS parameters for smtpd --
-- listing of /usr/lib64/sasl2 --
-- listing of /usr/local/lib/sasl2 --
-- content of /usr/lib64/sasl2/smtpd.conf --
-- content of /usr/local/lib/sasl2/smtpd.conf --
-- active services in /etc/postfix/master.cf --
-- mechanisms on localhost --
View 3 Replies
View Related
Feb 6, 2011
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.
Code:
#! /usr/bin/perl -wT
use strict;
[code]...
View 2 Replies
View Related
Feb 23, 2010
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?
View 2 Replies
View Related
Dec 13, 2010
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.
View 9 Replies
View Related
Nov 19, 2008
I have this program:
#! /usr/bin/perl
use DBI ;
use strict ;
[code]....
and I get this error simply running the program from the command line: DBD::mysql::st execute failed: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 at ./submit.cgi line 24.
is this the right syntax to use, both, for this line:
my (@param) = $cgi->param("firstname","lastname","type") ;
as well as this one:
$sth=$dbh->prepare ("SELECT firstname,lastname,type FROM dts WHERE firstname LIKE $param[0] AND lastname LIKE $param[1] and type LIKE $param[2]" );
or should there be quotes around the $param[0] or something? (also is it $param[0] or $param(0)?)
View 1 Replies
View Related
Apr 11, 2011
I have been tearing my hair out with this. As part of a backend perl script i am holding the Epoch time as session data using apache session and mysql so i can delete sessions after an expiry period. When I retrieve the time it is about three months old even when i only just set it. The code example below best describes the problem:
View 5 Replies
View Related
Apr 12, 2010
I am having some issues getting Bugzilla setup, I have the software on the server and am trying to get the pre-rec's setup.
I am using RedHat 4.1.2-42.
I have all of the required perl modules save one:DBD::mysql
When I try:
I get the following response(this is only an excerpt):
Can't test without successful make Running make install make had returned bad status, install seems impossible.
View 14 Replies
View Related
Oct 10, 2010
am running Centos 5.4 and would like to write a small perl script to collect some info from mysql.
so I went
yum install perl-DBI
yum install perl-DBD-mysql
then
nano perl.pl
---
#!/bin/perl
use Mysql;
[Code].....
Why can't perl find Mysql.pm? I guess because it doesn't exist as I ran find / -name Mysql.pm, and also could not find it.
shouldn't that file have been created and thus exist after I install perl-DBD-mysql?
View 6 Replies
View Related
Nov 15, 2010
I have a CD with the Fedora 14 ISO burned. It doesn't appear to have perl installed on it. (Open a terminal, type "perl" and press Enter, and get the "Command not found." response.)Further, once I install to the hard drive and boot from it, run the updates and let them complete, and reboot, I still don't seem to have perl and I can't find a package for fc14 that would install perl.I must be the only one having this problem because I don't see any references to this and somebody would have noticed by now, but is there anyone who can tell me what I might have done wrong?
View 6 Replies
View Related
May 5, 2011
I have debian squeeze (and a bit of sid, actually). I wanted to install the newest pidgin, so I added at sources.list the sid repository, and tried to install pidgin, but it needed the newest perl-base 5.12.3-6 (from 5.10.1-17). So I let it upgrade. after that I realized that my mysql server isn't running, and actually this is my problem. So I tried reinstalling it, home:/home/amalia# apt-get install mysql-server-5.1. Reading package lists. Done Building dependency tree Reading state information. Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies:
[code]...
View 2 Replies
View Related
Mar 19, 2009
I am having issues installing nagios-plugins using yum. Been using Suse don't have much experience with CentOS (CentOS release 5.2 (Final), ) Linux hoster 2.6.18-92.1.22.el5 #1 SMP Tue Dec 16 12:03:43 EST 2008 i686 athlon i386 GNU/Linux It says
"Error: Missing Dependency: perl(Net::SNMP) is needed by package nagios-plugins"
Whereas net-snmp-perl.i386 is already installed.
yum deplist nagios-plugins
Loading "fastestmirror" plugin
Loading mirror speeds from cached hostfile
[Code]....
View 1 Replies
View Related
Jan 2, 2011
Perl 5.12.2 In -current
View 3 Replies
View Related
Aug 22, 2010
I recently installed Slackware Linux 13.1 , and my Wireless is down. I've only installed 3 Linux disto's on my main laptop (Ubuntu 9.10 , 10.04 , and Crunchbang Linux 9.04 , just had Crunchbang), and they all had the same problem. In all three , I was able to enable Windows Wireless drivers and every thing worked. Now , I'm assuming I have to the same ting in Slackware? Sorry , but I have no idea what my wireless card is. But I know that my laptop is a Dell Insprion E1705. One last thing , I did ifconfig and that wlan0 is my Wi-Fi interface. I typed ifconfig wlan0 up to see if that was the problem. After I did that , I got and error message. Then I typed ifconfig wlan0 down to see if it was down and it made wlan0 down. I tried bringing it up again , but I got an error saying it couldn't find the device specified. Also , how do I install XFCE? I really don't like KDE for some reason and would like to install XFCE. I chose XFCE over GNOME (my favorite) because I want to try something new.
View 4 Replies
View Related
May 28, 2011
I updated to current, which includes perl 5.14.0. In updating to the latest DateTime module (0.70) via cpan, I receive this:
Code:
Lots of them. The same error occurs when 'make test'ing manually from the DateTime tarball. I see that DateTime 0.70 has been reported to be OK with 5.14.0 on linux (in fact, there are no fails for it). I uninstalled perl, removed all the perl5 directories, reinstalled it, upgraded all the default modules. DateTime still fails like this. Maybe current's perl has been compiled with different options?
View 14 Replies
View Related
Jul 16, 2010
I 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:
View 1 Replies
View Related
May 26, 2010
Where I can find libgd perl package for slackware?
View 1 Replies
View Related
May 16, 2011
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]....
View 3 Replies
View Related
Jul 18, 2010
Mysql is installed and I have checked it on three places to make sure it is. I tried to start the service or start mysql but no luck I can't find it anywhere and I cannot get it to run. It is also not under /etc/init.d
View 9 Replies
View Related
Mar 15, 2010
Im trying to get away from the world of M$ into linux and I think slackware is the way to go for me. In particular SW13-64bit. My question is though I dont see many hardware manufacturers supporting SW, but I do see suse and redhat. How hard/possible is it to use redhat suse drivers for slackware? Can they be modified/rebuilt?
Im also considering buying a cheap server off ebay to use. Can someone let me know if any of the following would cause an issue with slackware?In particular the Adaptec sata raid controller which I want to run in raid 5.
View 2 Replies
View Related
Jun 28, 2011
I have installed multilib support in my 64bit slackware 13.37 installation than I proceed it to install google earth from slackbuilds... and did ln -sf /lib/ld-linux.so.2 /lib/ld-lsb.so.3Now when I try to run google earth I get:[ 760.092745] googleearth-bin[3647]:segfault at 984f7d31 ip 00000000984f7d31 sp 00000000ffbfe100 error 4
View 14 Replies
View Related
Feb 8, 2010
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 Related
Mar 4, 2009
long time user of redhat, first time user of fedora...
Installed fedora 10 to the hard drive (building a new web server, switched from RHEL5)
Started to install everything I need, apache, php, mysql, odbc, iseries access for linux, etc...
Got to the php modules, installed php-odbc, php-mysql, etc... but php doesn't see the mysql module
doing a phpinfo() produces -without-mysql
uninstalled it, reinstalled it (this is all done through kpackagekit so far) - no good
uninstalled and tried to reinstall via yum, no good
all the config files are fine - copied my php.ini from the old server and let the installs create the new mysql ini files
how to get it in ? this is my last step before i can begin pen and vulnerability testing it.
View 1 Replies
View Related
Jul 13, 2010
I installed lampserver and took measures to see that apache would only serve 127.0.0.1 (Which appears to be a software switch as ipconfig says it's port is still "Open")
Mysql however, could be vulnerable: Do I need to secure it or does it only serve localhost? If so, how do I secure it?
View 4 Replies
View Related
Mar 17, 2011
I am marking this solved because I believe it is posted in the wrong forum. I will repost in Software. Sorry for the mistake. I have a small website that I want to host from home. I'm able to access it through the public IP but have not been successful in setting up the zones in PowerDns using PowerAdmin to resolve the domain name. I have read several sites regarding the issue but I still have no success. I'm hoping someone may be able to help with editing my master zone in order to resolve the domain name. I am using CentOS 5.5 to host the site and I've installed mysql as the backend to PowerDNS.
View 3 Replies
View Related
Jun 30, 2011
I'm rather new to linux and I am trying to set up two linux servers to do MySQL replication. I believe to do this you need to have a file called my.cnf in /etc/ but this file isn't there I have tried un-installing and installing MySQL many times but this file still doesn't appear.
View 4 Replies
View Related
Aug 10, 2010
where to find ODBC drivers for CentOS 5.5 to work with Perl 5.x (preferrably free)?
View 2 Replies
View Related