Opened 7 years ago
Last modified 7 years ago
#55394 closed defect
tesseract @3.04.01: configure: error: leptonica not found — at Version 1
Reported by: | cvdenzen | Owned by: | markemer (Mark Anderson) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.4.2 |
Keywords: | Cc: | ||
Port: | tesseract |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
After solving (manually) the problems with openjpeg and openmp, this problem showed up in logfile /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_tesseract/tesseract/work/tesseract-3.04.01/config.log:
(..) | return 0; | } configure:16950: result: yes configure:16960: checking for off_t configure:16960: /usr/bin/clang++ -c -pipe -Os -stdlib=libc++ -arch x86_64 -I/opt/local/include conftest.cpp >&5 configure:16960: $? = 0 configure:16960: /usr/bin/clang++ -c -pipe -Os -stdlib=libc++ -arch x86_64 -I/opt/local/include conftest.cpp >&5 conftest.cpp:45:20: error: expected expression if (sizeof ((off_t))) ^ 1 error generated. configure:16960: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "tesseract" | #define PACKAGE_TARNAME "tesseract" | #define PACKAGE_VERSION "3.04.01" (..)
Change History (3)
Changed 7 years ago by cvdenzen
Attachment: | config.log added |
---|
comment:1 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | emer@… removed |
---|---|
Description: | modified (diff) |
Owner: | set to markemer |
Port: | tesseract added; leptonica removed |
Status: | new → assigned |
Summary: | tesseract @3.04.01: install error High Sierra → tesseract @3.04.01: configure: error: leptonica not found |
It's not clear why tesseract can't find leptonica on your system. The portion of the config.log you quoted is irrelevant to this issue.
Is leptonica installed? Does the file /opt/local/include/leptonica/allheaders.h exist? What's the output of these two commands:
port -vq installed leptonica port -q contents leptonica
What problems with openjpeg and openmp are you referring to, and how did you solve them?
Note: See
TracTickets for help on using
tickets.
logfile with error message