Sorry for the lengthy email, but I wanted to include
relevant messages.  Here's the scoop.  The system
in question is a FreeBSD 4.1-RELEASE OS, with 
perl5.00503 and MySQL 3.22.32.  I'm attempting
to install DBD-mysql-2.0900.

I've also just previously installed DBI-1.15 w/o
any detectable problems.

I'm following the usual 
"perl Makefile.PL ; make" procedure.

The first time it was not able to find some files
which apparently belong to the MySQL dist, namely
mysql.h and errmsg.h (in the {arch}/auto/DBI directory)

Those files existed in "/usr/local/include/mysql" so I 
copied them over to the DBI directory, and tried again,
with the following results.

HOSTNAME# perl Makefile.PL

This is an experimental version of DBD::mysql. For production
environments you should prefer the Msql-Mysql-modules.

I will use the following settings for compiling and testing:

  testpassword  (default) =
  nocatchstderr (default) = 0
  testhost      (default) =
  testdb        (default) = test
  testuser      (default) =

To change these settings, see 'perl Makefile.PL --help' and
'perldoc INSTALL'.

Checking if your kit is complete...
Looks good
Using DBI 1.15 installed in /usr/local/lib/perl5/site_perl/5.005/i386-freebsd/au
to/DBI
Writing Makefile for DBD::mysql

HOSTNAME# make                                   

(...some text missing)
Running Mkbootstrap for DBD::mysql ()
chmod 644 mysql.bs
/usr/bin/perl myld cc -o blib/arch/auto/DBD/mysql/mysql.so  -Wl,-E -shared -lper
l -lm dbdimp.o  mysql.o
chmod 755 blib/arch/auto/DBD/mysql/mysql.so
cp mysql.bs blib/arch/auto/DBD/mysql/mysql.bs
chmod 644 blib/arch/auto/DBD/mysql/mysql.bs
mkdir blib/lib/auto/DBD
mkdir blib/lib/auto/DBD/mysql
mkdir blib/man3
Manifying blib/man3/Bundle::DBD::mysql.3
Manifying blib/man3/DBD::mysql::INSTALL.3
Manifying blib/man3/DBD::mysql.3
/usr/bin/pod2man: Unmatched =back in paragraph 250 of lib/DBD/mysql.pod
/usr/bin/pod2man: Unmatched =back in paragraph 257 of lib/DBD/mysql.pod
/usr/bin/pod2man: Unmatched =back in paragraph 341 of lib/DBD/mysql.pod
/usr/bin/pod2man: Unmatched =back in paragraph 402 of lib/DBD/mysql.pod
/usr/bin/pod2man: Unmatched =back in paragraph 453 of lib/DBD/mysql.pod
Manifying blib/man3/Mysql.3       

HOSTNAME# make test   (Here's where it all falls apart)

PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib -I/usr/libdata/perl/5.005
03/mach -I/usr/libdata/perl/5.00503 -e 'use Test::Harness qw(&runtests $verbose)
; $verbose=0; runtests @ARGV;' t/*.t
t/00base............install_driver(mysql) failed: Can't load 'blib/arch/auto/DBD
/mysql/mysql.so' for module DBD::mysql: blib/arch/auto/DBD/mysql/mysql.so: Undef
ined symbol "mysql_store_result" at /usr/libdata/perl/5.00503/DynaLoader.pm line
 169.

 at (eval 1) line 3
Perhaps a required shared library or dll isn't installed where expected
 at t/00base.t line 38
dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 4-5
        Failed 2/5 tests, 60.00% okay
t/10dsnlist.........install_driver(mysql) failed: Can't load 'blib/arch/auto/DBD
/mysql/mysql.so' for module DBD::mysql: blib/arch/auto/DBD/mysql/mysql.so: Undef
ined symbol "mysql_store_result" at /usr/libdata/perl/5.00503/DynaLoader.pm line
 169.

I chopped this one short, the huge majority of the tests fail (98%).  Any 
ideas?  Is there some prerequisite I'm unaware of that's not installed?

I'd appreciate any pointers or suggestions.

-=Mark

PS I'd be glad to include any relevant information if I've
left any out.

Reply via email to