Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

DBD::ODBC on Mac OS x

by bigswifty00000 (Novice)
on May 12, 2008 at 16:55 UTC ( #686107=perlquestion: print w/ replies, xml ) Need Help??
bigswifty00000 has asked for the wisdom of the Perl Monks concerning the following question:

All: Please Help! I am trying to install DBD::ODBC on mac os x

Darwin Kernel Version 8.11.1: Wed Oct 10 18:23:28 PDT 2007; root:xnu-792.25.20~1/RELEASE_I386

I now get to the point where it is running the tests, but all are failing... Can someone shed some light on this? Thanks!

Running Mkbootstrap for DBD::ODBC () chmod 644 ODBC.bs rm -f blib/arch/auto/DBD/ODBC/ODBC.bundle LD_RUN_PATH="" env MACOSX_DEPLOYMENT_TARGET=10.3 cc -bundle -undefine +d dynamic_lookup -L/usr/local/lib ConvertUTF.o ODBC.o dbdimp.o unicod +e_helper.o -o blib/arch/auto/DBD/ODBC/ODBC.bundle -L/usr/lib -lodb +c chmod 755 blib/arch/auto/DBD/ODBC/ODBC.bundle cp ODBC.bs blib/arch/auto/DBD/ODBC/ODBC.bs chmod 644 blib/arch/auto/DBD/ODBC/ODBC.bs Manifying blib/man3/DBD::ODBC.3pm /usr/bin/make -- OK Running make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_h +arness(0, 'blib/lib', 'blib/arch')" t/*.t t/01base................dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 4-5 Failed 2/5 tests, 60.00% okay t/02simple..............dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 4-62 Failed 59/62 tests, 4.84% okay t/03dbatt...............dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 3-24 Failed 22/24 tests, 8.33% okay t/05meth................dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 2-13 Failed 12/13 tests, 7.69% okay t/07bind................dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 2-11 Failed 10/11 tests, 9.09% okay t/08bind2...............dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 3-5 Failed 3/5 tests, 40.00% okay t/09multi...............dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 4-7 Failed 4/7 tests, 42.86% okay t/10handler.............dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 3-10 Failed 8/10 tests, 20.00% okay t/20SqlServer...........dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 3-37 Failed 35/37 tests, 5.41% okay t/30Oracle..............dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 3-4 Failed 2/4 tests, 50.00% okay t/40UnicodeRoundTrip....dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 1-62 Failed 62/62 tests, 0.00% okay t/41Unicode.............dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 1-55 Failed 55/55 tests, 0.00% okay Failed Test Stat Wstat Total Fail Failed List of Failed ---------------------------------------------------------------------- +--------- t/01base.t 255 65280 5 4 80.00% 4-5 t/02simple.t 255 65280 62 118 190.32% 4-62 t/03dbatt.t 255 65280 24 44 183.33% 3-24 t/05meth.t 255 65280 13 24 184.62% 2-13 t/07bind.t 255 65280 11 20 181.82% 2-11 t/08bind2.t 255 65280 5 6 120.00% 3-5 t/09multi.t 255 65280 7 8 114.29% 4-7 t/10handler.t 255 65280 10 16 160.00% 3-10 t/20SqlServer.t 255 65280 37 70 189.19% 3-37 t/30Oracle.t 255 65280 4 4 100.00% 3-4 t/40UnicodeRoundTrip.t 255 65280 62 124 200.00% 1-62 t/41Unicode.t 255 65280 55 110 200.00% 1-55 /usr/bin/make test -- NOT OK Running make install make test had returned bad status, won't install without force
Big Swifty

Comment on DBD::ODBC on Mac OS x
Download Code
Re: DBD::ODBC on Mac OS x
by Narveson (Chaplain) on May 12, 2008 at 18:36 UTC
    it is running the tests, but all are failing

    Not all the tests are failing, for instance 3 of 5 tests passed in 01base. The summary report seems to be doubling the number of failures for some reason. Summary reports from test harnesses are often mistaken.

    To learn more, ask the test harness to be verbose. On my system I say

    prove -v

    and then I get to see the actual output from each test.

      Narveson: Thanks for the response, could you be a little more specific? I am using CPAN to install sudo perl -MCPAN -e 'install DBD::ODBC' I am new to MAC OS, I have installed other modules on the system, and installed DBD::ODBC on other unix systems. Thanks!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://686107]
Approved by pc88mxer
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (10)
As of 2014-08-01 09:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Who would be the most fun to work for?















    Results (0 votes), past polls