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?