When running configure it fails with
checking for leptonica... yes checking for pixCreate in -llept... no configure: error: leptonica library missing