[Za-pm] Getting DBD::mysql installed

Anne Wainwright anotheranne at fables.co.za
Sun Oct 12 11:11:51 PDT 2008


Info requested given below.

On Sun, 12 Oct 2008 15:43:02 +0100
Tielman wrote:

|> 2008/10/12 Anne Wainwright <anotheranne at fables.co.za>:
|> > So I need to get DBD::mysql installed (well there was a whole tree of modules to install, each one depending on more, all done now) but here comes the problem. When running in the DBD-mysql directory
|> >
|> > # perl Makefile.PL      # goes without a hitch
|> > # make                  # also no problem
|> > # make test             # :(
|> >
|> > It fails and I paste the main output here.
|> >
|> > PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
|> > t/00base....................String found where operator expected at t/00base.t line 20, near "BAIL_OUT "Unable to load DBI""
|> > (Do you need to predeclare BAIL_OUT?)
|> > String found where operator expected at t/00base.t line 21, near "BAIL_OUT "Unable to load DBD::mysql""
|> >        (Do you need to predeclare BAIL_OUT?)
|> > syntax error at t/00base.t line 20, near "BAIL_OUT "Unable to load DBI""
|> > syntax error at t/00base.t line 21, near "BAIL_OUT "Unable to load DBD::mysql""
|> 
|> 
|> Hi Anne,
|> 
|> Can you please post these details?
|> 
|> OS details:
  Linux 2.4.21 i386 on a i686 HP laptop

|> Perl version:
  5.8.4

|> DBI version:
  1.607

|> DBD::mysql version:
  4.008

|> MySQL version:
  manual says 3.34.39 but I did do an update from Debian archives, apparently no new manual supplied
  # mysqld -V --> Version 4.1.11

|> location of MySQL library and header files:
for example ...
/usr/include/mysql/mysql.h
lots of other stuff
/usr/.../...

the mysql.h was not supplied in the distro, I downloaded from Debian a -dev package that I found included it from backports

Anne

|> 
|> Thanks,
|> 
|> --tielman


-- 
so much to do, so little time :(


More information about the Za-pm mailing list