如何配置sqlite3';什么是TCL测试?

如何配置sqlite3';什么是TCL测试?,sqlite,tcl,tk,recipe,Sqlite,Tcl,Tk,Recipe,出于研究目的,我正在尝试运行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 check

出于研究目的,我正在尝试运行
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

很难说,因为您的问题遗漏了重要的细节:

  • 确切地说是什么
  • 更重要的是,apt安装了哪些Tcl版本
  • 如何获取
    sqlite3
    源,包括测试线束
我刚刚测试了以下各项:

  • Ubuntu Xenial
  • apt get install tcl tcl dev
    (原来是8.6.7)
  • wgethttps://www.sqlite.org/2018/sqlite-src-3250200.zip
  • 解压sqlite-src-3250200.zip
  • cd sqlite-src-3250200
  • /配置并进行测试
。。。并且它成功地完成了
进行测试
运行:

...
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崩溃。

非常感谢,这给了我一个方向。在我的例子中,我运行的是Raspberian(说来话长,不问)。我将在VM中安装Xenial,看看会发生什么。如果可能的话,我还会用遗漏的细节更新我的问题。