Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Emerge dev-perl/DBD-mysql-2.1004-r2 fails
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Proteus
Guru
Guru


Joined: 14 Jul 2002
Posts: 346
Location: Hamburg, Germany

PostPosted: Thu Sep 12, 2002 12:03 pm    Post subject: Emerge dev-perl/DBD-mysql-2.1004-r2 fails Reply with quote

I wanted to run the MySQL-Benchmark suite included with MySQL.

The ebuild states that due to a circular dependency I have to emerge DBD-mysql myself.

I tried but I always get the same error:

[img:77f2403b61]http://www.netplay-cafe.de/Emerge.gif[/img:77f2403b61]

Can someone please help me? I have to admit to myself that for this I am still a newbie...

Greetings,
Proteus
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Thu Sep 12, 2002 5:54 pm    Post subject: Reply with quote

Could you try installing DBD::mysql via CPAN instead of the ebuild? You can emerge --inject it later if you want.
Code:
# perl -MCPAN -e shell
CPAN> install DBD::mysql

...if it's the first time using CPAN, you will need to do some configuration setup stuff, but it will walk you through it. There is a newer version on CPAN: see if you get the same problems with it.
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
Proteus
Guru
Guru


Joined: 14 Jul 2002
Posts: 346
Location: Hamburg, Germany

PostPosted: Fri Sep 13, 2002 1:32 am    Post subject: Does not work either... Reply with quote

It still does not work...
And I cannot imagine that I do anything wrong here - I only installed the default stuff untill now and changed no setting anywhere in those programs...

The following is the output of my 2nd try - as useless as the first:

Code:

cpan> install DBD::mysql
Running install for module DBD::mysql
Running make for J/JW/JWIED/DBD-mysql-2.1018.tar.gz
  Is already unwrapped into directory /root/.cpan/build/DBD-mysql-2.1018
  Has already been processed within this session
Running 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.........DBI->connect(test) failed: Access denied for user: 'root@localhost' (Using password: NO) at t/10dsnlist.t line 45
Cannot connect: Access denied for user: 'root@localhost' (Using password: NO)
        Either your server is not up and running or you have no
        permissions for acessing the DSN DBI:mysql:test.
        This test requires a running server and write permissions.
        Please make sure your server is running and you have
        permissions, then retry.
t/10dsnlist.........dubious
        Test returned status 10 (wstat 2560, 0xa00)
DIED. FAILED tests 1-9
        Failed 9/9 tests, 0.00% okay
t/20createdrop......DBI->connect(test) failed: Access denied for user: 'root@localhost' (Using password: NO) at t/20createdrop.t line 45
Cannot connect: Access denied for user: 'root@localhost' (Using password: NO)
        Either your server is not up and running or you have no
        permissions for acessing the DSN DBI:mysql:test.
        This test requires a running server and write permissions.
        Please make sure your server is running and you have
        permissions, then retry.
t/20createdrop......dubious
        Test returned status 10 (wstat 2560, 0xa00)
DIED. FAILED tests 1-5
        Failed 5/5 tests, 0.00% okay
t/30insertfetch.....DBI->connect(test) failed: Access denied for user: 'root@localhost' (Using password: NO) at t/30insertfetch.t line 48
Cannot connect: Access denied for user: 'root@localhost' (Using password: NO)
        Either your server is not up and running or you have no
        permissions for acessing the DSN DBI:mysql:test.
        This test requires a running server and write permissions.
        Please make sure your server is running and you have
        permissions, then retry.
t/30insertfetch.....dubious
        Test returned status 10 (wstat 2560, 0xa00)
DIED. FAILED tests 1-11
        Failed 11/11 tests, 0.00% okay
t/40bindparam.......DBI->connect(test) failed: Access denied for user: 'root@localhost' (Using password: NO) at t/40bindparam.t line 64
Cannot connect: Access denied for user: 'root@localhost' (Using password: NO)
        Either your server is not up and running or you have no
        permissions for acessing the DSN DBI:mysql:test.
        This test requires a running server and write permissions.
        Please make sure your server is running and you have
        permissions, then retry.
t/40bindparam.......dubious
        Test returned status 10 (wstat 2560, 0xa00)
DIED. FAILED tests 1-28
        Failed 28/28 tests, 0.00% okay
t/40blobs...........DBI->connect(test) failed: Access denied for user: 'root@localhost' (Using password: NO) at t/40blobs.t line 68
Cannot connect: Access denied for user: 'root@localhost' (Using password: NO)
        Either your server is not up and running or you have no
        permissions for acessing the DSN DBI:mysql:test.
        This test requires a running server and write permissions.
        Please make sure your server is running and you have
        permissions, then retry.
t/40blobs...........dubious
        Test returned status 10 (wstat 2560, 0xa00)
DIED. FAILED tests 1-11
        Failed 11/11 tests, 0.00% okay
t/40listfields......DBI->connect(test) failed: Access denied for user: 'root@localhost' (Using password: NO) at t/40listfields.t line 57
Cannot connect: Access denied for user: 'root@localhost' (Using password: NO)
        Either your server is not up and running or you have no
        permissions for acessing the DSN DBI:mysql:test.
        This test requires a running server and write permissions.
        Please make sure your server is running and you have
        permissions, then retry.
t/40listfields......dubious
        Test returned status 10 (wstat 2560, 0xa00)
DIED. FAILED tests 1-16
        Failed 16/16 tests, 0.00% okay
t/40nulls...........DBI->connect(test) failed: Access denied for user: 'root@localhost' (Using password: NO) at t/40nulls.t line 50
Cannot connect: Access denied for user: 'root@localhost' (Using password: NO)
        Either your server is not up and running or you have no
        permissions for acessing the DSN DBI:mysql:test.
        This test requires a running server and write permissions.
        Please make sure your server is running and you have
        permissions, then retry.
t/40nulls...........dubious
        Test returned status 10 (wstat 2560, 0xa00)
DIED. FAILED tests 1-11
        Failed 11/11 tests, 0.00% okay
t/40numrows.........DBI->connect(test) failed: Access denied for user: 'root@localhost' (Using password: NO) at t/40numrows.t line 59
Cannot connect: Access denied for user: 'root@localhost' (Using password: NO)
        Either your server is not up and running or you have no
        permissions for acessing the DSN DBI:mysql:test.
        This test requires a running server and write permissions.
        Please make sure your server is running and you have
        permissions, then retry.
t/40numrows.........dubious
        Test returned status 10 (wstat 2560, 0xa00)
DIED. FAILED tests 1-25
        Failed 25/25 tests, 0.00% okay
t/50chopblanks......DBI->connect(test) failed: Access denied for user: 'root@localhost' (Using password: NO) at t/50chopblanks.t line 57
Cannot connect: Access denied for user: 'root@localhost' (Using password: NO)
        Either your server is not up and running or you have no
        permissions for acessing the DSN DBI:mysql:test.
        This test requires a running server and write permissions.
        Please make sure your server is running and you have
        permissions, then retry.
t/50chopblanks......dubious
        Test returned status 10 (wstat 2560, 0xa00)
DIED. FAILED tests 1-35
        Failed 35/35 tests, 0.00% okay
t/50commit..........DBI->connect(test) failed: Access denied for user: 'root@localhost' (Using password: NO) at t/50commit.t line 64
Can't call method "tables" on an undefined value at t/lib.pl line 216.
t/50commit..........dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-30
        Failed 30/30 tests, 0.00% okay
t/60leaks...........skipped test on this platform
t/ak-dbd............DBI->connect(test) failed: Access denied for user: 'root@localhost' (Using password: NO) at t/ak-dbd.t line 59
t/ak-dbd............ok 3/90Can't call method "tables" on an undefined value at t/lib.pl line 216.
t/ak-dbd............dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1, 4-90
        Failed 88/90 tests, 2.22% okay
t/akmisc............Mysql->connect(database=test;host=) failed: Access denied for user: 'root@localhost' (Using password: NO) at t/akmisc.t line 140
t/akmisc............NOK 1Cannot connect: Access denied for user: 'root@localhost' (Using password: NO)
        It looks as if your server is not up and running.
        This test requires a running server.
        Please make sure your server is running and retry.
t/akmisc............dubious
        Test returned status 10 (wstat 2560, 0xa00)
DIED. FAILED tests 1-351
        Failed 351/351 tests, 0.00% okay
t/dbdadmin..........DBI->connect(test) failed: Access denied for user: 'root@localhost' (Using password: NO) at t/dbdadmin.t line 74
Cannot connect: Access denied for user: 'root@localhost' (Using password: NO)
        Either your server is not up and running or you have no
        permissions for acessing the DSN DBI:mysql:test.
        This test requires a running server and write permissions.
        Please make sure your server is running and you have
        permissions, then retry.
t/dbdadmin..........dubious
        Test returned status 10 (wstat 2560, 0xa00)
DIED. FAILED tests 1-20
        Failed 20/20 tests, 0.00% okay
t/insertid..........DBI->connect(test) failed: Access denied for user: 'root@localhost' (Using password: NO) at t/insertid.t line 13
t/insertid..........dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-12
        Failed 12/12 tests, 0.00% okay
t/mysql.............Mysql->connect(database=test;host=) failed: Access denied for user: 'root@localhost' (Using password: NO) at t/mysql.t line 55
not ok 1: Access denied for user: 'root@localhost' (Using password: NO)
        It looks as if your server is not up and running.
        This test requires a running server.
        Please make sure your server is running and retry.
t/mysql.............FAILED tests 1-68
        Failed 68/68 tests, 0.00% okay
t/mysql2............Mysql->connect(database=test;host=) failed: Access denied for user: 'root@localhost' (Using password: NO) at t/mysql2.t line 29
Can't call method "getserverinfo" on an undefined value at t/mysql2.t line 30.
t/mysql2............dubious
        Test returned status 255 (wstat 65280, 0xff00)
Failed Test       Status Wstat Total Fail  Failed  List of Failed
--------------------------------------------------------------------------------
t/10dsnlist.t             10  2560     9    9 100.00%  1-9
t/20createdrop.t          10  2560     5    5 100.00%  1-5
t/30insertfetch.t         10  2560    11   11 100.00%  1-11
t/40bindparam.t           10  2560    28   28 100.00%  1-28
t/40blobs.t               10  2560    11   11 100.00%  1-11
t/40listfields.t          10  2560    16   16 100.00%  1-16
t/40nulls.t               10  2560    11   11 100.00%  1-11
t/40numrows.t             10  2560    25   25 100.00%  1-25
t/50chopblanks.t          10  2560    35   35 100.00%  1-35
t/50commit.t             255 65280    30   30 100.00%  1-30
t/ak-dbd.t               255 65280    90   88  97.78%  1, 4-90
t/akmisc.t                10  2560   351  351 100.00%  1-351
t/dbdadmin.t              10  2560    20   20 100.00%  1-20
t/insertid.t             255 65280    12   12 100.00%  1-12
t/mysql.t                             68   68 100.00%  1-68
t/mysql2.t               255 65280    ??   ??       %  ??
1 test skipped.
Failed 16/18 test scripts, 11.11% okay. 720/727 subtests failed, 0.96% okay.
make: *** [test_dynamic] Error 2
  /usr/bin/make test -- NOT OK
Running make install
  make test had returned bad status, won't install without force

cpan>


And yes - mysql is up and running.
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Fri Sep 13, 2002 4:11 am    Post subject: Re: Does not work either... Reply with quote

Proteus wrote:
And yes - mysql is up and running.

The INSTALL.html file in the DBD::mysql distribution describes a couple of ways to set up a testing environment. Maybe that will help you.
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
Titanium
n00b
n00b


Joined: 13 Sep 2002
Posts: 1
Location: Singapore

PostPosted: Fri Sep 13, 2002 7:27 am    Post subject: Reply with quote

Code:

# perl -MCPAN -e shell
CPAN> force install DBD::mysql


Note the force part.

I have the same problem too, identical to your first and 2nd try. Initially thought it was due to password needed, but even the creation of .my.cnf did not help. So finally decide to force an install without passing the tests.
Back to top
View user's profile Send private message
Proteus
Guru
Guru


Joined: 14 Jul 2002
Posts: 346
Location: Hamburg, Germany

PostPosted: Tue Sep 17, 2002 2:32 pm    Post subject: Reply with quote

@Titanium: Sorry, I didn't try your suggestion. But I found a solution on the forums (finally):

https://forums.gentoo.org/viewtopic.php?t=15039

That worked for me!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum