MySQL Forums
Forum List  »  Perl

Installing Perl Modules
Posted by: Phil Kwong
Date: July 27, 2006 12:01PM

Hi, i'm not sure if i'm posting in the right place, but I don't know where else to post. I'm trying to install a perl module for mysql, and i've been using this cpan method i found on the internet. so i configured cpan, and started installing modules, and i do a "install DBD::mysql" and in the end, i end up with

-------------------------------------
dbdimp.c:2415: dereferencing pointer to incomplete type
dbdimp.c:2415: dereferencing pointer to incomplete type
dbdimp.c:2415: dereferencing pointer to incomplete type
dbdimp.c:2418: dereferencing pointer to incomplete type
dbdimp.c:2418: dereferencing pointer to incomplete type
dbdimp.c:2418: warning: passing arg 3 of `mysql_dr_error' makes pointer from integer without a cast
dbdimp.c:2419: dereferencing pointer to incomplete type
dbdimp.c:2420: dereferencing pointer to incomplete type
dbdimp.c:2423: dereferencing pointer to incomplete type
dbdimp.c: In function `mysql_db_quote':
dbdimp.c:2559: dereferencing pointer to incomplete type
dbdimp.c: In function `mysql_db_last_insert_id':
dbdimp.c:2575: dereferencing pointer to incomplete type
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
-------------------------------------

This occurs with a whole buncha other dereferencing lines. I go to try and run a script, and it says

-------------------------------------
DBD::mysql initialisation failed: Can't locate object method "driver" via package "DBD::mysql" at /usr/local/lib/perl5/site_perl/5.8.5/i686-linux/DBI.pm line 747.

Perhaps the capitalisation of DBD 'mysql' isn't right. at /usr/local/apache2/htdocs/owl-0.90/admin/tools/bigindex.pl line 77
-------------------------------------

Does anyone know what i can do? Thanks,

Options: ReplyQuote


Subject
Written By
Posted
Installing Perl Modules
July 27, 2006 12:01PM
August 02, 2006 04:59PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.