Closed 36PopTarts closed 2 years ago
Update: I have tried building Tesseract on this VM on a whim, and it seems to work without issue. It seems the problem is specifically with the tests themselves, or something in that VM's environment, and not Leptonica building on that VM.
make check
is currently not robust and tries to run tests which should be skipped, so please make sure that for example all image formats are supported. The output indicates that PNG support is missing.
OK, I really thought I had included sudo apt install libpng-dev
in my build script, but apparently I had not. That VM in particular didn't have it even though the others did. My apologies.
Environment
Linux hostname 5.4.0-117-generic #132-Ubuntu SMP Thu Jun 2 00:39:06 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Current Behavior:
Using the autoconf build method, Leptonica succeeds building but fails to pass all of its tests on
make check
on only one of my VMs, which as far as I can tell is not different from any of the others which I have built it on and where all tests passed or skipped. It is an Ubuntu 20.04 VM. I wish I knew how to package builds on Linux myself so I could avoid this problem but here we are. I have attached the output from test-suite.log as well as the stderr and stdout from building Leptonica and runningmake check
. test-suite.log install.log