Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Perl install DBD::mysql Fails

Status
Not open for further replies.

richlich

Technical User
Jul 19, 2009
4
US
Trying to update DBD::mysql to version 4.0 from 3.007 (/usr/bin/perl install-module.pl DBD::mysql). Installation fails (make install). What follows is just the end of the output:

"dbdimp.c:4461: error: invalid lvalue in increment
dbdimp.c:4461: warning: statement with no effect
dbdimp.c:4470: error: âimp_dbh_tâ has no member named âstatsâ
dbdimp.c:4470: error: request for member âauto_reconnects_okâ in something not a structure or union
dbdimp.c:4470: error: invalid lvalue in increment
dbdimp.c:4470: warning: statement with no effect
dbdimp.c: In function âmysql_db_quoteâ:
dbdimp.c:4630: warning: implicit declaration of function âmysql_real_escape_stringâ
dbdimp.c:4630: error: âimp_dbh_tâ has no member named âpmysqlâ
dbdimp.c: In function âmysql_db_last_insert_idâ:
dbdimp.c:4653: error: âimp_dbh_tâ has no member named âpmysqlâ
dbdimp.c:4653: warning: passing argument 2 of âPerl_sv_2mortalâ makes pointer from integer without a cast
make: *** [dbdimp.o] Error 1
/usr/bin/make -- NOT OK
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible"

Can anyone help this Linux/Perl newbie?
 
Did you try getting it via yum or apt first?

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[noevil]
Travis - Those who say it cannot be done are usually interrupted by someone else doing it; Give the wrong symptoms, get the wrong solutions;
 
Case closed. Was missing mysql-devel. Once that was installed, problem went away.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top