Skip to content

Instantly share code, notes, and snippets.

@itcharlie
Created December 5, 2018 00:55
Show Gist options
  • Save itcharlie/292f0035c48100172cd345bb1566e960 to your computer and use it in GitHub Desktop.
Save itcharlie/292f0035c48100172cd345bb1566e960 to your computer and use it in GitHub Desktop.
Failure to Install ORLite module on Windows 10
Building and testing ORLite-1.98
cp lib/ORLite.pm blib\lib\ORLite.pm
"C:\Strawberry\perl\bin\perl.exe" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'inc', 'blib\lib', 'blib\arch')" t/*.t
t/01_compile.t ....... ok
t/02_basics.t ........ ok
t/03_fk.t ............ ok
t/04_readonly.t ...... ok
t/05_notables.t ...... ok
t/06_create.t ........ ok
t/07_pk.t ............ ok
t/08_prune.t ......... ok
t/09_badfile.t ....... ok
DBD::SQLite::db do failed: unknown database ANALYZE at (eval 29) line 37.
END failed--call queue aborted.
# Looks like your test exited with 2 just after 2.
t/10_cleanup.t .......
Dubious, test returned 2 (wstat 512, 0x200)
All 2 subtests passed
DBD::SQLite::db do failed: unknown database ANALYZE at (eval 29) line 124.
END failed--call queue aborted.
# Looks like your test exited with 2 just after 4.
t/11_cleanup.t .......
Dubious, test returned 2 (wstat 512, 0x200)
All 4 subtests passed
t/12_xs.t ............ ok
t/13_array_basics.t .. ok
t/14_array_fk.t ...... ok
t/15_array_xs.t ...... ok
t/16_array_create.t .. ok
t/17_cache.t ......... ok
t/18_update.t ........ ok
t/19_view.t .......... ok
t/20_shim.t .......... ok
t/21_normalize.t ..... ok
t/22_overlay.t ....... ok
t/23_unicode.t ....... ok
t/24_rowid.t ......... ok
t/25_blob.t .......... ok
Test Summary Report
-------------------
t/10_cleanup.t (Wstat: 512 Tests: 2 Failed: 0)
Non-zero exit status: 2
t/11_cleanup.t (Wstat: 512 Tests: 4 Failed: 0)
Non-zero exit status: 2
Files=25, Tests=533, 15 wallclock secs ( 0.22 usr + 0.11 sys = 0.33 CPU)
Result: FAIL
Failed 2/25 test programs. 0/533 subtests failed.
gmake: *** [Makefile:781: test_dynamic] Error 255
-> FAIL Installing ORLite failed. See C:\Users\CGONZA~1\.cpanm\work\1543952753.2308\build.log for details. Retry with --force to force install it.
Expiring 1 work directories.
15 distributions installed
@soonix
Copy link

soonix commented Apr 18, 2020

I had the same issue, fix found via DBD::SQLite::db do failed: unknown database ANALYZE in [PATCH] Fix cleanup in tests.

Patch changes VACUUM ANALYZE to VACUUM only, because of change in SQLite 3.15.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment