Red HatThis forum is for the discussion of Red Hat Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am installing perl Module every time I try to install that it give me error, please help thats the out put I am getting :-
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
t/dbdadmin...........NOK 1Cannot 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-21
Failed 21/21 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.
FAILED before any test output arrived
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 Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/10dsnlist.t 10 2560 9 17 188.89% 1-9
t/20createdrop.t 10 2560 5 9 180.00% 1-5
t/30insertfetch.t 10 2560 11 21 190.91% 1-11
t/35limit.t 10 2560 113 225 199.12% 1-113
t/40bindparam.t 10 2560 27 53 196.30% 1-27
t/40blobs.t 10 2560 11 21 190.91% 1-11
t/40listfields.t 10 2560 18 35 194.44% 1-18
t/40nulls.t 10 2560 11 21 190.91% 1-11
t/40numrows.t 10 2560 25 49 196.00% 1-25
t/41blobs_prepare.t 10 2560 24 47 195.83% 1-24
t/50chopblanks.t 10 2560 35 69 197.14% 1-35
t/50commit.t 255 65280 30 59 196.67% 1-30
t/ak-dbd.t 255 65280 90 175 194.44% 1 4-90
t/akmisc.t 10 2560 351 701 199.72% 1-351
t/dbdadmin.t 10 2560 21 41 195.24% 1-21
t/insertid.t 255 65280 12 24 200.00% 1-12
t/mysql.t ?? ?? % ??
t/mysql2.t 255 65280 ?? ?? % ??
1 test skipped.
Failed 18/20 test scripts, 10.00% okay. 859/866 subtests failed, 0.81% okay.
make: *** [test_dynamic] Error 255
/usr/bin/make test -- NOT OK
Running make install
make test had returned bad status, won't install without force
is root@localhost with no password the correct username for read/write access to your mysql installation? This may be a mysql configuration problem rather than a perl problem. Can you create a database and drop it from the command line using that username?
Check your installation documentation. I'm not sure what your module does, but in the perl install method of
perl Makefile.PL
make
make test
make install
The test part is actually running the module, so if the test fails, the module knows it is pointless to continue the install. It would seem that somewhere you would need to be able to configure the username/password for the database. root@localhost is a common default, but it may have been deemed insecure at your site.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.