On 08-May-2000 Craig A. Berry wrote:
> At 7:43 AM +0100 5/8/00, Martin J. Evans wrote:
>>Last week I built Perl 5.6.0 on an Alpha running 7.2. I had a number of
>>problems with the build/test I am hoping someone on this list might know
>>about:
>
>>[3] My purpose for installing Perl was to get the Perl DBI and DBD::ODBC
>> modules working. I have failed to get DBI installed with errors in
>> running
>> examp.t. Has anyone got DBI and DBD::ODBC installed and working?
>
> I had the same problem with DBI. I believe examp.t calls Perl with a command
> line that is much too long while passing a library list explicitly. Most
> likely this is a problem only with the test itself rather than the module.
> Sorry not to have an answer for this or your other problems, but that's as
> far as I got.
Craig,
Thanks for replying. I have managed to get a little further now. I think DBI is
installed but I am trying to install DBD::ODBC with my driver to check it out
and am having even more problems. For DBI I found:
[1] For some strange reason the generated descrip.mms file did not create the
required dir structure and copy the files in to the correct places. I did
not spend long looking at this, but manually created/copied the files
instead - will go back to this when I have got a bit further.
[2] If you comment out the #! (with the -T) at the start of t/examp.t then
examp.t is run successfully but omits the tainted tests (obviously). As the
tainted tests are omitted the final test count drops by 6 so you get
tests 112-118 failed. This is just because the examp.t does not number each
test and leaves it up to Test::Harness to do that.
[3] DBI installs dbish.pl. I thought I would use this to test DBI but had
problems. The dbish.pl is prefixed with:
$ perl 'f$env("procedure")' 'p1' 'p2' ... 'p8' !
$ exit++ + ++$status != 0 and $exit = $status = undef; -w
I could not run dbish without removing these two lines!
I have moved on to DBD::ODBC and am working on modifications to the Makefile.PL
as it does not work for VMS properly. One problem here is that Makefile.PL for
DBD::ODBC uses glob and my main Perl failed with glob-basic test 3 failed.
Other problems are failure to include the olbs in the link line.
Martin
--
Martin J. Evans
Easysoft Ltd, UK
Development