3

When I try installing building Leptonica 1.72 downloaded from their website: http://www.leptonica.com/download.html using the default installation route:

./configure
make
make check

I got 64/67 tests failed. I looked into this problem and installed some missing dependencies and when I tried building and checking again, 68/68 tests failed this time. Has anyone had the same problem? Where should I look to find the problem?

4

1 回答 1

2

问题原来是我需要 root 权限来运行测试。

sudo make check

并且所有 68 项测试都通过了。我将更多地研究为什么会出现问题(可能是因为我使用 root 权限构建,然后当我在没有它们的情况下对其进行测试时,无法访问 root 创建的测试文件并且测试失败。)

提示:无需root权限构建,仅以root权限运行

make install
于 2015-11-21T16:16:03.853 回答