Martin J. Evans wrote:

> 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.

This is odd.  In general files that need to be copied will go into
a [.blib...] sub tree of where the Makefile.PL is but will not get installed
until `mms install` is run.


> [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!

That is a DCL wrapper since apparently dbish.pl is listed as
an EXE file by the Makefile.PL.  You could have invoked it
from the command prompt as:

     @dbish.pl

or:

     @disk:[dir]dbish.pl


> 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

Perl's glob() works on VMS, however it does work different from Unix or
NT implementations of glob().  The test suite did not take that into
consideration when 5.6.0 was released, but there are patches to correct
the tests that have been discussed on this list.

Peter Prymmer


Reply via email to