develooper Front page | perl.vmsperl | Postings from September 2002

Trying to Build DBD::Sybase

Thread Next
Dick Adams
September 2, 2002 21:39
Trying to Build DBD::Sybase
Message ID:
I have been trying to build DBD::Sybase on VMS without much luck so far.

I am using the binary build of perl from on VMS 6.2 Alpha and the C 
compiler version tells me "DEC C V5.5-002 on OpenVMS Alpha V6.2" the 
make utility I use is MMK version 3.8

I was able to successfully build DBI 1.30 after I found mention of the 
problem I had been experiencing with an error
"%MMK-F-CANTUPD, cannot update target [.BLIB.ARCH.AUTO.DBI]DRIVER.XST - 
sources unknown"
 "MMK all" fixed this, then MMK seemed to work flawlessly but "MMK test" 
failed a little bit, some of the output is at the bottom of this 
message, it may be relevant.

I then proceeded to a "MMK install" which, again seemed fine.

Unpacking and configuring DBD-SYBASE-0_94 was fine then MMK started 
throwing errors about STRDUP and STRNCASECMP. These functions do not 
exist in the DEC C library I am using so I thought I might be able to 
hack them in. I grabbed the source for GCC and found the two source 
files strdup.c and strcasecmp.c, prepended them to dbdimp.c added 
#include <stdlib.h> and #include <string.h> to the beginning of the file 
and tried again, it got much further but still coughed up a couple of 
warnings but it encouraged me sufficiently to give the tests a go.

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
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
        Test returned status 444 (wstat 1024, 0x400)
                (VMS status is 444)
DIED. FAILED tests 2-4
        Failed 3/4 tests, 25.00% okay


DBI MMK test sample output

skipped: perl 5.006 not configured to support iThreads
can't run t/10examp.t. invalid argument
FAILED before any test output arrived

skipped: modules required for proxy are probably not installed

skipped: perl 5.006 not configured to support iThreads
 Taint attribute tests skipped
skipped: profiling not supported for DBI::PurePerl
skipped: preparse not supported for DBI::PurePerl
DBI::Shell 11.02 using DBI 1.30 in batch mode
skipped: modules required for proxy are probably not installed
Failed Test  Status Wstat Total Fail  Failed  List of failed
t/10examp.t                  ??   ??       %  ??
6 tests skipped.
Failed 1/26 test scripts, 96.15% okay. 0/503 subtests failed, 100.00% okay.

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About