jjhorner has asked for the wisdom of the Perl Monks concerning the following question:

Okay, I'm installing DBD::mysql to connect my perl to my database.

During the cpan install, it tells me I need Data::ShowTable, and proceeds to install it.

I know this isn't the type of question asked here, but I am at my wit's end (not very long). I tried emailing the maintainer, but no love. His email address at sgi.com is no longer valid.

Here are some of the messages I get during the make test and hopefully, someone has encountered this before and will know how to resolve this. I know cpan has a new policy about emailing authors at theirid@cpan.org, but I'm not sure when that will be checked.

t/simple-scaling....ok + t/simple-widths.....Prototype mismatch: sub main::start_tests ($) vs n +one at t/Test-Setup.pl line 27. Prototype mismatch: sub main::run_test ($&) vs none at t/Test-Setup.pl + line 102. t/simple-widths.....ok + t/simple-wrap.......Prototype mismatch: sub main::start_tests ($) vs n +one at t/Test-Setup.pl line 27. Prototype mismatch: sub main::run_test ($&) vs none at t/Test-Setup.pl + line 102.

Any clues how to get around these, or to get around installing DBD::mysql and still having MySQL functionality?

Thanks,

JJ

Replies are listed 'Best First'.
Re: Data::ShowTable
by anders (Initiate) on May 26, 2000 at 18:25 UTC
    Hi again,

    Last time I did this, prototypes wasn't used... here's what I can think of:
    Does it work? Fails in the tests dosen't nessecarily mean that the package isn't installed.

    The errors indicates, that start_test and run_test dosen't get any input, take a look at the scripts in the t dir and optionally correct them.

    If your'e on a recent redhat or mandrake Linux, you may have RPM's with theese modules.

    -anders

Re: Data::ShowTable
by KM (Priest) on May 26, 2000 at 18:27 UTC
    I have never needed to install Data::ShowTable to my knowlege while installing the mysql-msql-modules. Does this happen when you try it by hand (not CPAN?). I always install DBD::mysql by hand.

    Cheers,
    KM

Re: Data::ShowTable
by perlmonkey (Hermit) on May 26, 2000 at 22:35 UTC
    I vaguely remember having this problem also. I just force installed the package skipping the tests and it has worked fine.
    cd $HOME/.cpan/build cd <Data::ShowTable source directory> make install
    That should do it.