I went back and re-installed DBI and the problem appears to be originating there. I also have another system which should be the same setup where I am already using DBI and DBD::ODBC with no issue. I've gone back and compare versions and even run the DBI install on that box as well. Makefiles and compiler options look the same. Here is where I see the first differene during the install:
...
"C:\Strawberry\perl\bin\perl.exe" -MExtUtils::Command -e cp -- dbilogs
+trip blib\script\dbilogstrip
pl2bat.bat blib\script\dbilogstrip
TIMB/DBI-1.637.tar.gz
C:\STRAWB~1\c\bin\dmake.exe -- OK
Running make test
"C:\Strawberry\perl\bin\perl.exe" "-MExtUtils::Command::MM" "-MTest::H
+arness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib\l
+ib', 'blib\arch')" t/*.t
# --- Perl 5.020003 on MSWin32-x64-multi-thread
# Failed test 'use DBI;'
# at t/01basics.t line 43.
# Tried to use 'DBI'.
# Error: Can't find 'boot_DBI' symbol in C:\STRAWB~1\cpan\build\D
+BI-1.637-3\blib\arch/auto/DBI/DBI.xs.dll
# at C:\STRAWB~1\cpan\build\DBI-1.637-3\blib\lib/DBI.pm line 284.
# BEGIN failed--compilation aborted at C:\STRAWB~1\cpan\build\DBI-1.63
+7-3\blib\lib/DBI.pm line 284.
# Compilation failed in require at t/01basics.t line 43.
# BEGIN failed--compilation aborted at t/01basics.t line 43.
Bareword "SQL_GUID" not allowed while "strict subs" in use at t/01basi
+cs.t line 54.
Bareword "SQL_WLONGVARCHAR" not allowed while "strict subs" in use at
+t/01basics.t line 55.
Bareword "SQL_WVARCHAR" not allowed while "strict subs" in use at t/01
+basics.t line 56.
...
On the machine that doesn't have any problems, I get this "Error: Can't find 'boot_DBI', nor the Bareword warnings. The tests run successfully. |