I have been trying to build DBD::Sybase on VMS without much luck so far.
I am using the binary build of perl from
ftp.sidhe.org/perl-5_6_0-vmsaxp-6_2.zip 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
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
dubious
Test returned status 444 (wstat 1024, 0x400)
(VMS status is 444)
DIED. FAILED tests 2-4
Failed 3/4 tests, 25.00% okay
t/base..............
ok
Thanks,
Dick
DBI MMK test sample output
t/05thrclone........
skipped: perl 5.006 not configured to support iThreads
t/10examp...........
can't run t/10examp.t. invalid argument
FAILED before any test output arrived
t/80proxy...........
skipped: modules required for proxy are probably not installed
t/zz_05thrclone_pp..
skipped: perl 5.006 not configured to support iThreads
t/zz_10examp_pp.....
Taint attribute tests skipped
ok
t/zz_40profile_pp...
skipped: profiling not supported for DBI::PurePerl
t/zz_60preparse_pp..
skipped: preparse not supported for DBI::PurePerl
t/zz_70shell_pp.....
DBI::Shell 11.02 using DBI 1.30 in batch mode
ok
t/zz_80proxy_pp.....
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.
%SYSTEM-F-ABORT, abort