[MacPorts] #55394: tesseract @3.04.01: install error High Sierra

MacPorts noreply at macports.org
Wed Nov 22 21:52:30 UTC 2017


#55394: tesseract @3.04.01: install error High Sierra
----------------------+-----------------------
 Reporter:  cvdenzen  |      Owner:
     Type:  defect    |     Status:  new
 Priority:  Normal    |  Milestone:
Component:  ports     |    Version:  2.4.2
 Keywords:            |       Port:  leptonica
----------------------+-----------------------
 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"
 (..)

--
Ticket URL: <https://trac.macports.org/ticket/55394>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list