出于研究目的,我正在尝试运行sqlite3
完整的测试套件。
我正在Linux下运行此测试。
我相信我已经安装了正确的库
sudo apt-get install tcl-dev tk-dev
当我运行configure
命令时,它会找到tcl
checking whether to use an in-ram database for temporary tables... no
checking if executables have the .exe suffix... unknown
checking for Tcl configuration... found /usr/lib/tclConfig.sh
checking for existence of /usr/lib/tclConfig.sh... loading
checking for library containing readline... no
checking for library containing tgetent... no
checking for readline in -lreadline... no
checking readline.h usability... no
然后,当我运行make test
时,其结尾为:
Time: orderby8.test 5080 ms
Time: orderby9.test 291 ms
Makefile:1201: recipe for target 'tcltest' failed
make: *** [tcltest] Killed
答案 0 :(得分:1)
很难说,因为您的问题缺少重要的细节:
apt
安装了哪些Tcl版本?sqlite3
的来源,包括测试工具?我刚刚测试了以下内容:
apt-get install tcl tcl-dev
(原来是8.6.7)wget https://www.sqlite.org/2018/sqlite-src-3250200.zip
unzip sqlite-src-3250200.zip
cd sqlite-src-3250200
./configure && make test
...,它成功完成了make test
运行:
...
Time: orderby7.test 6 ms
Time: orderby8.test 115 ms
Time: orderby9.test 6 ms
Time: oserror.test 49 ms
...
Time: zipfile2.test 10 ms
SQLite 2018-09-25 19:08:10 fb90e7189ae6d62e77ba3a308ca5d683f90bbe633cf681865365b8e92792d1c7
0 errors out of 147094 tests on builda Linux 64-bit little-endian
All memory allocations freed - no leaks
Maximum memory usage: 9278848 bytes
Current memory usage: 0 bytes
Number of malloc() : -1 calls
看来oserror.test
会导致您遇到的任何Tcl崩溃。