mattrbailey has asked for the wisdom of the Perl Monks concerning the following question:

right i'm quite new to perl and not sure if this is even posted in the right place, but here goes.
my boss has purchased a bit of software that runs in perl. I'm trying to get it up and running, but having lots of problems. The softwares called logicnow and i've posted the code out put i'm getting there
http://community.logicnow.com/showthread.php?t=810. The prblem. I have been told to also install HTML::parser which seems to install fine. The only one i seem to have a problem with is the DBD::mysql, I get the following error

dbdimp.c:1269: conflicting types for `mysql_dr_error'
dbdimp.h:288: previous declaration of `mysql_dr_error'
dbdimp.c: In function `mysql_st_fetch':
dbdimp.c:3419: too few arguments to function `mysql_dr_error' dbdimp.c:3583: too few arguments to function
`mysql_dr_error' dbdimp.c: In function `mysql_st_FETCH_internal':
dbdimp.c:3915: too few arguments to function `mysql_dr_error'
dbdimp.c:3929: too few arguments to function `mysql_dr_error'
dbdimp.c: In function `mysql_bind_ph':
dbdimp.c:4244: too few arguments to function `mysql_dr_error'
dbdimp.c:4271: too few arguments to function `mysql_dr_error'
dbdimp.c:4283: too few arguments to function `mysql_dr_error'
dbdimp.c: In function `mysql_db_reconnect':
dbdimp.c:4445: too few arguments to function `mysql_dr_error'
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
Pragma force used without method: cannot continue

it's running on a cobalt raq 550, with multiple virtual sites. Many thanks for any help

Matthew bailey,
IT administrator,
Cowley Computer Solutions.

Replies are listed 'Best First'.
Re: DBD::MYSQL error
by ww (Archbishop) on Mar 08, 2007 at 04:01 UTC
    Matthew -

    The perl part of your question is obscured by/in your link. For the record (and for the bretheren) you started with this problem; received help on issues like the apparent lack of ISA.pm:

    Can't locate Class/ISA.pm in @INC (@INC contains: lib extlib /usr/lib/ +perl5/5.6.0/i386-linux /usr/lib/perl5/5.6.0 /usr/lib/perl5/site_perl/ +5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_p +erl/5.005/i386-linux /usr/lib/perl5/site_perl/5.005 /usr/lib/perl5/si +te_perl .) at extlib/CGI/Application.pm line 4. BEGIN failed--compilation aborted at extlib/CGI/Application.pm line 4. + Compilation failed in require at lib/PerlDesk/App.pm line 11. BEGIN failed--compilation aborted at lib/PerlDesk/App.pm line 11. Comp +ilation failed in require at lib/PerlDesk/App/Installer.pm line 22. B +EGIN failed--compilation aborted at lib/PerlDesk/App/Installer.pm lin +e 22. Compilation failed in require at /home/.sites/143/site2/web/cgi +-bin/install.cgi line 25.

    and have not stated your latest problem at all, here... tho I note that as of this writing, you've received a tip at logicnow on how to manually install at least two missing database modules.

    The error messages you posted appear -- to me, in my ignorance -- to reflect C problems -- note the ".c" and ".h" references -- perhaps (?) in connection with your attempt to build a module.

    Perhaps wiser heads than I can piece this together, but it might be well to add an update, with some clarifying detail

Re: DBD::MYSQL error
by Anonymous Monk on Mar 16, 2007 at 22:55 UTC