Help needed for installing perl-DBD-MySQL

  • evin
  • Born
  • Born
  • evin
  • Posts: 2

Post 3+ Months Ago

When I try to install
# rpm -i perl-DBD-MySQL-2.9002-1.i386.rpm

It displays the error message :

error: failed dependencies:
perl(Carp) is needed by perl-DBD-MySQL-2.9002-1
perl(DBI) is needed by perl-DBD-MySQL-2.9002-1
perl(DynaLoader) is needed by perl-DBD-MySQL-2.9002-1
perl(Exporter) is needed by perl-DBD-MySQL-2.9002-1
perl(strict) is needed by perl-DBD-MySQL-2.9002-1
perl(vars) is needed by perl-DBD-MySQL-2.9002-1

What should I do to install DBD-MySQL...
there was already an version 2.049
But I need greater than 2.1010
I also tried installaing 2.1010 and the same error.

I tried to install the rpm file "perl-DBD-MySQL-2.9002-1.i386.rpm" using Yast2 from Suse Linux 8.2
But there displayed same error and I ignored it and installed
But it is shown in the Yast2 page of Softwares installed.

But when I run a program it says there is only perl-DBD-MySQL-2.049
and so it quits.
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • Bigwebmaster
  • Site Admin
  • Site Admin
  • User avatar
  • Posts: 9090
  • Loc: Seattle, WA & Phoenix, AZ

Post 3+ Months Ago

You have alot of dependencies you are missing:

perl(Carp) is needed by perl-DBD-MySQL-2.9002-1
perl(DBI) is needed by perl-DBD-MySQL-2.9002-1
perl(DynaLoader) is needed by perl-DBD-MySQL-2.9002-1
perl(Exporter) is needed by perl-DBD-MySQL-2.9002-1
perl(strict) is needed by perl-DBD-MySQL-2.9002-1
perl(vars) is needed by perl-DBD-MySQL-2.9002-1

What you need to do is then install perl(Carp), perl(DBI), perl(DynaLoader), perl(Exporter), perl(strict), and perl(vars) before you can install your perl-DBD-MySQL-2.9002-1. Search the web and you should be able to find them. Once you have all those dependencies installed you should be able to install what you want.
  • evin
  • Born
  • Born
  • evin
  • Posts: 2

Post 3+ Months Ago

Those dependencies are already present because I can run my previous version of project with DBD-MySql 2.049.

Any other things.......

More over I have installed DBD-MySql 2.9002 with Yast and the Yast displays the latest verion 2.9002 but when I run the program it says only old verion (DBD-MySql 2.049) is present.
  • b_heyer
  • Web Master
  • Web Master
  • User avatar
  • Posts: 4581
  • Loc: Maryland

Post 3+ Months Ago

well if you are running 2.094 and they need 2.9 you don't have the same versions
  • greplet
  • Born
  • Born
  • User avatar
  • Posts: 2
  • Loc: New York City

Post 3+ Months Ago

I find that when I am installing a package with many dependancies, rather than fixing each one manually, I just boot off the linux CD, browse to the separate packages, choose whatever and run from there.

In that way, it will build all the other depancies on the fly.
  • xaccrocheur
  • Novice
  • Novice
  • User avatar
  • Posts: 20
  • Loc: paris fr

Post 3+ Months Ago

Bigwebmaster wrote:
You have alot of dependencies you are missing:

perl(Carp) is needed by perl-DBD-MySQL-2.9002-1
perl(DBI) is needed by perl-DBD-MySQL-2.9002-1
perl(DynaLoader) is needed by perl-DBD-MySQL-2.9002-1
perl(Exporter) is needed by perl-DBD-MySQL-2.9002-1
perl(strict) is needed by perl-DBD-MySQL-2.9002-1
perl(vars) is needed by perl-DBD-MySQL-2.9002-1

What you need to do is then install perl(Carp), perl(DBI), perl(DynaLoader), perl(Exporter), perl(strict), and perl(vars) before you can install your perl-DBD-MySQL-2.9002-1. Search the web and you should be able to find them. Once you have all those dependencies installed you should be able to install what you want.


Bigwebmaster, I don't want to shake the stick at you, but I think he got the point that something is missing, and that he then needs to install this something.

What he DOES NOT know, howerver, is HOW he (& I, as I happen 2 have the same PB) is gonna do that.

The short answer is : CPAN, the online perl modules and various resssources library. You just enter the right cpan argument on the PERL cmd line and it retrieves all for you.

I'l dig 4 that, and will come back.

Peace.

PS this was my 1st post here. I think it says a lot about who I am :
A clueless geek willing to help ;)

Hello to all of you
  • vitko_andrew
  • Born
  • Born
  • User avatar
  • Posts: 1

Post 3+ Months Ago

You can try typing

# perl -MCPAN -e 'install <module to install>'

That will connect to CPAN and install the module that you need. It will also check for any dependencies that module needs and prompt you to install them. Hope this helps you!!!


Ande
  • jshaulis
  • Student
  • Student
  • jshaulis
  • Posts: 70

Post 3+ Months Ago

I am a hardcore newbie here. I am using webmin on a SuSE Linux 8.0 OS. I am tring to install DBD::mySQL though webmin. I keep getting errors as follows:

Untarring module file
Executing gunzip -c /tmp/.webmin/DBD-mysql-2.9003.tar.gz | tar xvf - ..

DBD-mysql-2.9003/
DBD-mysql-2.9003/t/
DBD-mysql-2.9003/t/mysql2.t
DBD-mysql-2.9003/t/akmisc.t
DBD-mysql-2.9003/t/60leaks.t
DBD-mysql-2.9003/t/10dsnlist.t
DBD-mysql-2.9003/t/ak-dbd.t
DBD-mysql-2.9003/t/50chopblanks.t
DBD-mysql-2.9003/t/mysql.t
DBD-mysql-2.9003/t/lib.pl
DBD-mysql-2.9003/t/40blobs.t
DBD-mysql-2.9003/t/40nulls.t
DBD-mysql-2.9003/t/insertid.t
DBD-mysql-2.9003/t/40listfields.t
DBD-mysql-2.9003/t/40bindparam.t
DBD-mysql-2.9003/t/mysql.dbtest
DBD-mysql-2.9003/t/dbdadmin.t
DBD-mysql-2.9003/t/20createdrop.t
DBD-mysql-2.9003/t/00base.t
DBD-mysql-2.9003/t/30insertfetch.t
DBD-mysql-2.9003/t/40numrows.t
DBD-mysql-2.9003/t/50commit.t
DBD-mysql-2.9003/t/mysql.mtest
DBD-mysql-2.9003/MANIFEST
DBD-mysql-2.9003/myld
DBD-mysql-2.9003/dbdimp.c
DBD-mysql-2.9003/lib/
DBD-mysql-2.9003/lib/DBD/
DBD-mysql-2.9003/lib/DBD/mysql/
DBD-mysql-2.9003/lib/DBD/mysql/GetInfo.pm
DBD-mysql-2.9003/lib/DBD/mysql/INSTALL.pod
DBD-mysql-2.9003/lib/DBD/mysql.pm
DBD-mysql-2.9003/lib/Mysql/
DBD-mysql-2.9003/lib/Mysql/Statement.pm
DBD-mysql-2.9003/lib/Bundle/
DBD-mysql-2.9003/lib/Bundle/DBD/
DBD-mysql-2.9003/lib/Bundle/DBD/mysql.pm
DBD-mysql-2.9003/lib/Mysql.pm
DBD-mysql-2.9003/dbdimp.h
DBD-mysql-2.9003/mysql.xs
DBD-mysql-2.9003/MANIFEST.SKIP
DBD-mysql-2.9003/README
DBD-mysql-2.9003/INSTALL.html
DBD-mysql-2.9003/Makefile.PL
DBD-mysql-2.9003/ChangeLog
DBD-mysql-2.9003/constants.h
DBD-mysql-2.9003/TODO




Compiling module
Executing /usr/bin/perl Makefile.PL && make ..

Can't exec "mysql_config": No such file or directory at Makefile.PL line 174.
readline() on closed filehandle PIPE at Makefile.PL line 176.
Can't exec "mysql_config": No such file or directory at Makefile.PL line 174.
readline() on closed filehandle PIPE at Makefile.PL line 176.
Can't exec "mysql_config": No such file or directory at Makefile.PL line 174.
readline() on closed filehandle PIPE at Makefile.PL line 176.
Can't exec "mysql_config": No such file or directory at Makefile.PL line 174.
readline() on closed filehandle PIPE at Makefile.PL line 176.
Can't exec "mysql_config": No such file or directory at Makefile.PL line 174.
readline() on closed filehandle PIPE at Makefile.PL line 176.
Failed to determine directory of mysql.h. Use

perl Makefile.PL --cflags=-I

to set this directory. For details see the INSTALL.html file,
section "C Compiler flags" or type

perl Makefile.PL --help





Installation of DBD::mysql failed. Check the output above and try installing manually.
You can also install the module from CPAN with the command perl -MCPAN -e shell










Now like I said I do not have any programing experence with perl so how do I fix this problem and get this sucker installed. Thanks

Justin

Post Information

  • Total Posts in this topic: 8 posts
  • Users browsing this forum: No registered users and 22 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.