mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2026-02-14 21:23:42 +00:00
[BUG] Error in ./configure enabling hardsubx on Mac #538
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @vr8hub on GitHub (Jan 8, 2020).
Originally assigned to: @canihavesomecoffee on GitHub.
CCExtractor version (using the --version parameter preferably) : 0.88 (I cloned the repository immediately before attempting this)
In raising this issue, I confirm the following (please check boxes, eg [X] - and delete unchecked ones):
My familiarity with the project is as follows (check one, eg [X] - and delete unchecked ones):
Necessary information
NoneVideo links (replace text below with your links)
None.
Additional information
I'm trying to compile on Mac (OSX Mojave 10.14.6) with hardsubx support. It took me a while to determine that it's not automatically enabled (the compile guide makes no mention of it but it's in the standard help). I searched the git log and found an issue from 2017 that said that hardsubx was enabled for the Mac, so I'm operating under the assumption that it is available for the Mac. The
docs/HARDSUBX.txtdon't make mention of the Mac specifically one way or the other, so that may be a bad assumption.I confirmed that all of the required libraries (tesseract, leptonica, ffmpeg) were available, then did an
./autogen.shand./configure --enable-hardsubx --enable-ocr. I'm getting an error on the configure (showing a couple of lines of context):Line 6768 is:
I ran
pkg-config --libs-only-l --silence-errors tesseractmanually and receiveI'm not conversant enough in autotools to know what the problem is, but it appears that the configure test is not anticipating that type of return.
Is this a problem in the configure or with the return of the pkg-config? The indicated pre-configure tests to confirm that tesseract and leptonica were installed all worked, and the configure found the tesseract library.