Make test failure - DBD-mysql-2.9002 - Mac OS X 10.2.8

Make test failure - DBD-mysql-2.9002 - Mac OS X 10.2.8

am 21.10.2003 01:50:43 von David Graham

Hi all,

First time poster, and UNIX newbie attempting to get Bugzilla up and
running on my Mac OS X box. I did an install from source for Perl 5.8.0
and have most of the necessary modules installed, but I'm hanging up on
DBD::mysql. I have three failures during 'make test' (see below). BDI
1.3.8 is installed with no errors.

I can't figure out what these errors mean, and if it's safe to go ahead
or if I need to fix something. I found a few posts on the 'Net but no
follow-ups. Any help would be much appreciated!

- Dave

Output from 'make test':

PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00base...........ok
t/10dsnlist........ok
t/20createdrop.....ok
t/30insertfetch....ok
t/40bindparam......ok
t/40blobs..........ok
t/40listfields.....ok
t/40nulls..........ok
t/40numrows........ok
t/50chopblanks.....ok
t/50commit.........ok
14/30 skipped: No transactions
t/60leaks..........skipped
all skipped: no reason given
t/ak-dbd...........ok
t/akmisc...........ok
t/dbdadmin.........ok
t/insertid.........ok
t/mysql............FAILED tests 46-48
Failed 3/68 tests, 95.59% okay
t/mysql2...........ok
Failed Test Stat Wstat Total Fail Failed List of Failed
------------------------------------------------------------ ------------
-------
t/mysql.t 68 3 4.41% 46-48
1 test and 14 subtests skipped.
Failed 1/18 test scripts, 94.44% okay. 3/765 subtests failed, 99.61%
okay.
make: *** [test_dynamic] Error 2


--

david m graham
619.322.9698
http://homepage.mac.com/davidgraham/


--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org

Re: Make test failure - DBD-mysql-2.9002 - Mac OS X 10.2.8

am 21.10.2003 07:05:11 von Jochen Wiedmann

David Graham wrote:

> I can't figure out what these errors mean, and if it's safe to go ahead
> or if I need to fix something. I found a few posts on the 'Net but no
> follow-ups. Any help would be much appreciated!

Go on. :-)


--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org

Re: Make test failure - DBD-mysql-2.9002 - Mac OS X 10.2.8

am 21.10.2003 07:05:11 von Jochen Wiedmann

David Graham wrote:

> I can't figure out what these errors mean, and if it's safe to go ahead
> or if I need to fix something. I found a few posts on the 'Net but no
> follow-ups. Any help would be much appreciated!

Go on. :-)


--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org

[summary] Re: Make test failure - DBD-mysql-2.9002 - Mac OS X 10.2.8

am 23.10.2003 17:29:30 von David Graham

John provided a number of useful suggestions, but were unnecessary in
my case. I had just installed everything from scratch in the default
locations, including MySQL (no password set) just to make it easier. He
also suggested looking at the source to see what the comments say, but
it was beyond me as I'm completely new to Perl/MySQL/etc.

In the end, I decided to take Jochen's advice and simply "go on."
Everything appears to be fine and I have Bugzilla up and running
perfectly. Of course, tomorrow I'm upgrading to Panther (e.g., OS X
10.3) and I'll probably have to go through this process once again. I
guess that's the best way for us newbie's to learn, right?

Thanks to John and Jochen for their assistance!

- Dave


--

david m graham
619.322.9698
http://homepage.mac.com/davidgraham/


On Monday, October 20, 2003, at 05:18 PM, John Von Essen wrote:

> For starters, did you run perl Makefile.PL with the proper arguments
> to make sure tests will run. The test routine needs to know your mysql
> server hostname, username, and password. By default, it uses
> localhost, root, and NULL password. Also, make sure your lib paths are
> correct so it can find libmysqlclient.so. Example:
>
> perl Makefile.PL \
> --libs="-L/usr/local/mysql/lib/mysql -lmysqlclient -lz" \
> --cflags=-I/usr/local/mysql/include/mysql \
> --testhost=localhost \
> --testuser=someuser \
> --testpassword=somepass
> make
> make test
> make install
>
> As for the tests that failed. You can look at the source to see what
> the comments say. However, keep in mind, that it is okay if a few
> tests to fail. The DBD driver will still install and work.


--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org

[summary] Re: Make test failure - DBD-mysql-2.9002 - Mac OS X 10.2.8

am 23.10.2003 17:29:30 von David Graham

John provided a number of useful suggestions, but were unnecessary in
my case. I had just installed everything from scratch in the default
locations, including MySQL (no password set) just to make it easier. He
also suggested looking at the source to see what the comments say, but
it was beyond me as I'm completely new to Perl/MySQL/etc.

In the end, I decided to take Jochen's advice and simply "go on."
Everything appears to be fine and I have Bugzilla up and running
perfectly. Of course, tomorrow I'm upgrading to Panther (e.g., OS X
10.3) and I'll probably have to go through this process once again. I
guess that's the best way for us newbie's to learn, right?

Thanks to John and Jochen for their assistance!

- Dave


--

david m graham
619.322.9698
http://homepage.mac.com/davidgraham/


On Monday, October 20, 2003, at 05:18 PM, John Von Essen wrote:

> For starters, did you run perl Makefile.PL with the proper arguments
> to make sure tests will run. The test routine needs to know your mysql
> server hostname, username, and password. By default, it uses
> localhost, root, and NULL password. Also, make sure your lib paths are
> correct so it can find libmysqlclient.so. Example:
>
> perl Makefile.PL \
> --libs="-L/usr/local/mysql/lib/mysql -lmysqlclient -lz" \
> --cflags=-I/usr/local/mysql/include/mysql \
> --testhost=localhost \
> --testuser=someuser \
> --testpassword=somepass
> make
> make test
> make install
>
> As for the tests that failed. You can look at the source to see what
> the comments say. However, keep in mind, that it is okay if a few
> tests to fail. The DBD driver will still install and work.


--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org