At 02:38 PM 9/3/2002 +1000, Dick Adams wrote:
>I have been trying to build DBD::Sybase on VMS without much luck so far.

Well, it's about the most recalcitrant extension I've ever built, but I have 
eventually gotten it working, albeit on VMS 7.1, not 6.2.  I think in my 
most recent go-round I started with Perl 5.6.1 and then upgraded to the 
newest MakeMaker from CPAN 
(http://search.cpan.org/CPAN/authors/id/M/MS/MSCHWERN/ExtUtils-MakeMaker-6.0
5.tar.gz).  You could try installing this MakeMaker onto 5.6.0 if it's not 
possible to update your Perl version.

The DBD::Sybase test suite is extremely VMS-unfriendly.  I sent Michael 
Peppler a patch against 0.94 awhile back but it doesn't look like a later 
version is out yet so I attach the patch here.  I never got it to 100% 
passing but it is functional for everything I've tried to do with it (mostly 
simple read-only cursors).


>I am getting these errors when I run the tests, can someone explain what they mean?
>
>%MMK-I-ACTNOUPD, action did not update target CONFIG
>perl "-I[.blib.arch]" "-I[.blib.lib]" "-Iperl_root:[lib]" 
>"-Iperl_root:[lib.VMS_AXP.5_6_0]"     -e "use Test::Harness qw(&runtests $
>verbose); $verbose=0; runtests @ARGV;"  t/*.t
>t/autocommit........
>Can't call method "do" on an undefined value at t/autocommit.t line 45.
>%SYSTEM-F-NOLOGNAM, no logical name match
>%SYSTEM-F-NOLOGNAM, no logical name match


It's probably not finding the PWD file it needs to locate an appropriate 
server for testing and it doesn't check for a failed connect but just 
proceeds to try to do things with an empty statement handle.  I think my 
patch will take care of that.

Attachment: testcleanup.patch.gz
Description: Binary data

Reply via email to