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?
"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?