Install DBD::MySQL problem Print E-mail
Written by Administrator   
Monday, 04 December 2006

Install DBD::MySQL

cpan

cpan> No

cpan> install DBI

cpan> install DBD::mysql

If you run in this errormessage:

Failed 16/18 test scripts, 11.11% okay. 723/730 subtests failed, 0.96% okay.

make: *** test_dynamic Error 2

/usr/bin/make test -- NOT OK

Running make install

make test had returned bad status, won't install without force

Then do this:

cpan> o conf makepl_arg "--testpassword=PASSWORD --testuser=USERNAME"

And retry:

cpan> install DBD::mysql_

cpan> exit

If that doesn't work do a force installation:

cpan> force install DBD::mysql

which will force it to complete the installation.

If your error message is like:

  dbdimp.c: In function `mysql_db_last_insert_id':
dbdimp.c:3880: error: dereferencing pointer to incomplete type
make: *** [dbdimp.o] Error 1
/usr/bin/make -- NOT OK

then you must install mysql-devel and perl-DBD-mysql at first. On Fedora or CentOs an yum run this command

 yum install mysql-devel
or yum install perl-DBD-MySQL


Add as favourites (48) | Quote this article on your site | Views: 491

Be first to comment this article
RSS comments

Write Comment
  • Please keep the topic of messages relevant to the subject of the article.
  • Personal verbal attacks will be deleted.
  • Please don't use comments to plug your web site. Such material will be removed.
  • Just ensure to *Refresh* your browser for a new security code to be displayed prior to clicking on the 'Send' button.
  • Keep in mind that the above process only applies if you simply entered the wrong security code.
Name:
E-mail
Homepage
Title:
BBCode:Web AddressEmail AddressLoad Image from WebBold TextItalic TextUnderlined TextQuoteCodeOpen ListList ItemClose List
Comment:



Code:* Code
I wish to be contacted by email regarding additional comments

Powered by AkoComment Tweaked Special Edition v.1.4.5

Last Updated ( Tuesday, 05 December 2006 )
 
< Prev   Next >
Main Menu
Home
Our Services
Contact Us
Search
News Feeds
Our offers
Linux Tutorials
Affiliate program
Links
CarTube.co.cc
PetTube.co.cc
Slick RSS
GetAFreelancer.com New Projects
Latest projects published at GetAFreelancer.com
ScriptLance Projects
The newest projects posted on ScriptLance.
Google AdSense
Last comments
Howto install memcached, setup...
Thanks! :)
08/05/08 09:38 More...
By Jupp

Howto install memcached, setup...
wery good site
26/01/08 12:18 More...
By u26stycznia2008

Script installation Services
Comment 13 2008
Helo1l, great site!
13/10/07 10:10 More...
By John 200809

Visitors Counter
73758 Visitors
Joomla Template by Joomlashack
components joomla modules Joomla Templates Joomla tutorials