This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by tesseract configure 4.1.1, which was generated by GNU Autoconf 2.71. Invocation command line was $ ../configure PKG_CONFIG_PATH=/usr/local/opt/icu4c/lib/pkgconfig:/usr/local/opt/libarchive/lib/pkgconfig:/usr/local/opt/libffi/lib/pkgconfig ## --------- ## ## Platform. ## ## --------- ## hostname = guojianhengdeMacBook-Pro-2.local uname -m = arm64 uname -r = 22.1.0 uname -s = Darwin uname -v = Darwin Kernel Version 22.1.0: Sun Oct 9 20:14:30 PDT 2022; root:xnu-8792.41.9~2/RELEASE_ARM64_T8103 /usr/bin/uname -p = arm /bin/uname -X = unknown /bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = Mach kernel version: Darwin Kernel Version 22.1.0: Sun Oct 9 20:14:30 PDT 2022; root:xnu-8792.41.9~2/RELEASE_ARM64_T8103 Kernel configured for up to 8 processors. 8 processors are physically available. 8 processors are logically available. Processor type: arm64e (ARM64E) Processors active: 0 1 2 3 4 5 6 7 Primary memory available: 8.00 gigabytes Default processor set: 306 tasks, 2381 threads, 8 processors Load average: 4.83, Mach factor: 4.69 /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /Users/guojianheng/.rvm/gems/ruby-3.0.0/bin/ PATH: /Users/guojianheng/.rvm/gems/ruby-3.0.0@global/bin/ PATH: /Users/guojianheng/.rvm/rubies/ruby-3.0.0/bin/ PATH: /opt/homebrew/opt/icu4c/sbin/ PATH: /opt/homebrew/opt/icu4c/bin/ PATH: /opt/homebrew/opt/ruby/bin/ PATH: /opt/homebrew/bin/ PATH: /opt/homebrew/sbin/ PATH: /usr/local/bin/ PATH: /System/Cryptexes/App/usr/bin/ PATH: /usr/bin/ PATH: /bin/ PATH: /usr/sbin/ PATH: /sbin/ PATH: /Library/Apple/usr/bin/ PATH: /Users/guojianheng/.rvm/bin/ ## ----------- ## ## Core tests. ## ## ----------- ## configure:2989: looking for aux files: compile ltmain.sh config.guess config.sub missing install-sh configure:3002: trying ../config/ configure:3031: ../config/compile found configure:3031: ../config/ltmain.sh found configure:3031: ../config/config.guess found configure:3031: ../config/config.sub found configure:3031: ../config/missing found configure:3013: ../config/install-sh found configure:3214: checking for g++ configure:3235: found /usr/bin/g++ configure:3246: result: g++ configure:3273: checking for C++ compiler version configure:3282: g++ --version >&5 Apple clang version 14.0.0 (clang-1400.0.29.102) Target: arm64-apple-darwin22.1.0 Thread model: posix InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin configure:3293: $? = 0 configure:3282: g++ -v >&5 Apple clang version 14.0.0 (clang-1400.0.29.102) Target: arm64-apple-darwin22.1.0 Thread model: posix InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin configure:3293: $? = 0 configure:3282: g++ -V >&5 clang: error: argument to '-V' is missing (expected 1 value) clang: error: no input files configure:3293: $? = 1 configure:3282: g++ -qversion >&5 clang: error: unknown argument '-qversion'; did you mean '--version'? clang: error: no input files configure:3293: $? = 1 configure:3313: checking whether the C++ compiler works configure:3335: g++ -I/opt/homebrew/opt/libarchive/include -L/opt/homebrew/opt/libarchive/lib conftest.cpp >&5 configure:3339: $? = 0 configure:3389: result: yes configure:3392: checking for C++ compiler default output file name configure:3394: result: a.out configure:3400: checking for suffix of executables configure:3407: g++ -o conftest -I/opt/homebrew/opt/libarchive/include -L/opt/homebrew/opt/libarchive/lib conftest.cpp >&5 configure:3411: $? = 0 configure:3434: result: configure:3456: checking whether we are cross compiling configure:3464: g++ -o conftest -I/opt/homebrew/opt/libarchive/include -L/opt/homebrew/opt/libarchive/lib conftest.cpp >&5 configure:3468: $? = 0 configure:3475: ./conftest configure:3479: $? = 0 configure:3494: result: no configure:3499: checking for suffix of object files configure:3522: g++ -c -I/opt/homebrew/opt/libarchive/include conftest.cpp >&5 configure:3526: $? = 0 configure:3548: result: o configure:3552: checking whether the compiler supports GNU C++ configure:3572: g++ -c -I/opt/homebrew/opt/libarchive/include conftest.cpp >&5 configure:3572: $? = 0 configure:3582: result: yes configure:3593: checking whether g++ accepts -g configure:3614: g++ -c -g -I/opt/homebrew/opt/libarchive/include conftest.cpp >&5 configure:3614: $? = 0 configure:3658: result: yes configure:3678: checking for g++ option to enable C++11 features configure:3693: g++ -c -g -O2 -I/opt/homebrew/opt/libarchive/include conftest.cpp >&5 conftest.cpp:55:3: error: "Compiler does not advertise C++11 conformance" # error "Compiler does not advertise C++11 conformance" ^ conftest.cpp:60:3: error: unknown type name 'constexpr' constexpr int get_val() { return 20; } ^ conftest.cpp:72:17: error: delegating constructors are permitted only in C++11 delegate(): delegate(2354) {} ^~~~~~~~ conftest.cpp:83:26: warning: 'override' keyword is a C++11 extension [-Wc++11-extensions] virtual int getval() override final { return this->n * 2; } ^ conftest.cpp:83:35: warning: 'final' keyword is a C++11 extension [-Wc++11-extensions] virtual int getval() override final { return this->n * 2; } ^ conftest.cpp:90:16: warning: defaulted function definitions are a C++11 extension [-Wc++11-extensions] nocopy() = default; ^ conftest.cpp:91:29: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions] nocopy(const nocopy&) = delete; ^ conftest.cpp:92:41: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions] nocopy & operator=(const nocopy&) = delete; ^ conftest.cpp:104:25: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions] template auto sum(V first) -> V ^ conftest.cpp:104:25: error: 'auto' not allowed in function return type template auto sum(V first) -> V ^~~~ conftest.cpp:104:42: error: expected ';' at end of declaration template auto sum(V first) -> V ^ ; conftest.cpp:104:43: error: cannot use arrow operator on a type template auto sum(V first) -> V ^ conftest.cpp:108:33: warning: variadic templates are a C++11 extension [-Wc++11-extensions] template auto sum(V first, Args... rest) -> V ^ conftest.cpp:108:43: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions] template auto sum(V first, Args... rest) -> V ^ conftest.cpp:108:43: error: 'auto' not allowed in function return type template auto sum(V first, Args... rest) -> V ^~~~ conftest.cpp:108:74: error: expected ';' at end of declaration template auto sum(V first, Args... rest) -> V ^ ; conftest.cpp:108:75: error: cannot use arrow operator on a type template auto sum(V first, Args... rest) -> V ^ conftest.cpp:132:3: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions] auto a1 = 6538; ^ conftest.cpp:133:3: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions] auto a2 = 48573953.4; ^ conftest.cpp:134:3: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions] auto a3 = "String literal"; ^ conftest.cpp:137:8: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions] for (auto i = a3; *i; ++i) { total += *i; } ^ conftest.cpp:153:8: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions] for (auto &x : array) { x += 23; } ^ conftest.cpp:153:16: warning: range-based for loop is a C++11 extension [-Wc++11-extensions] for (auto &x : array) { x += 23; } ^ conftest.cpp:158:17: error: expected expression assert (eval ([](int x) { return x*2; }, 21) == 42); ^ conftest.cpp:160:17: error: expected expression assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0); ^ conftest.cpp:162:17: error: expected expression assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0); ^ conftest.cpp:168:3: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions] auto a = sum(1); ^ conftest.cpp:168:12: error: no matching function for call to 'sum' auto a = sum(1); ^~~ conftest.cpp:169:3: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions] auto b = sum(1, 2); ^ conftest.cpp:169:12: error: no matching function for call to 'sum' auto b = sum(1, 2); ^~~ conftest.cpp:170:3: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions] auto c = sum(1.0, 2.0, 3.0); ^ conftest.cpp:170:12: error: no matching function for call to 'sum' auto c = sum(1.0, 2.0, 3.0); ^~~ conftest.cpp:175:25: warning: empty parentheses interpreted as a function declaration [-Wvexing-parse] cxx11test::delegate d2(); ^~ conftest.cpp:175:25: note: remove parentheses to declare a variable cxx11test::delegate d2(); ^~ conftest.cpp:188:16: error: found '<::' after a template name which forms the digraph '<:' (aka '[') and a ':', did you mean '< ::'? test_template<::test_template> v(test_template(12)); ^~~ < :: conftest.cpp:188:36: error: a space is required between consecutive right angle brackets (use '> >') test_template<::test_template> v(test_template(12)); ^~ > > conftest.cpp:192:22: error: use of undeclared identifier 'u8' char const *utf8 = u8"UTF-8 string \u2500"; ^ conftest.cpp:192:24: error: expected ';' at end of declaration char const *utf8 = u8"UTF-8 string \u2500"; ^ ; fatal error: too many errors emitted, stopping now [-ferror-limit=] 18 warnings and 20 errors generated. configure:3693: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "tesseract" | #define PACKAGE_TARNAME "tesseract" | #define PACKAGE_VERSION "4.1.1" | #define PACKAGE_STRING "tesseract 4.1.1" | #define PACKAGE_BUGREPORT "https://github.com/tesseract-ocr/tesseract/issues" | #define PACKAGE_URL "https://github.com/tesseract-ocr/tesseract/" | /* end confdefs.h. */ | | // Does the compiler advertise C++98 conformance? | #if !defined __cplusplus || __cplusplus < 199711L | # error "Compiler does not advertise C++98 conformance" | #endif | | // These inclusions are to reject old compilers that | // lack the unsuffixed header files. | #include | #include | | // and are *not* freestanding headers in C++98. | extern void assert (int); | namespace std { | extern int strcmp (const char *, const char *); | } | | // Namespaces, exceptions, and templates were all added after "C++ 2.0". | using std::exception; | using std::strcmp; | | namespace { | | void test_exception_syntax() | { | try { | throw "test"; | } catch (const char *s) { | // Extra parentheses suppress a warning when building autoconf itself, | // due to lint rules shared with more typical C programs. | assert (!(strcmp) (s, "test")); | } | } | | template struct test_template | { | T const val; | explicit test_template(T t) : val(t) {} | template T add(U u) { return static_cast(u) + val; } | }; | | } // anonymous namespace | | | // Does the compiler advertise C++ 2011 conformance? | #if !defined __cplusplus || __cplusplus < 201103L | # error "Compiler does not advertise C++11 conformance" | #endif | | namespace cxx11test | { | constexpr int get_val() { return 20; } | | struct testinit | { | int i; | double d; | }; | | class delegate | { | public: | delegate(int n) : n(n) {} | delegate(): delegate(2354) {} | | virtual int getval() { return this->n; }; | protected: | int n; | }; | | class overridden : public delegate | { | public: | overridden(int n): delegate(n) {} | virtual int getval() override final { return this->n * 2; } | }; | | class nocopy | { | public: | nocopy(int i): i(i) {} | nocopy() = default; | nocopy(const nocopy&) = delete; | nocopy & operator=(const nocopy&) = delete; | private: | int i; | }; | | // for testing lambda expressions | template Ret eval(Fn f, Ret v) | { | return f(v); | } | | // for testing variadic templates and trailing return types | template auto sum(V first) -> V | { | return first; | } | template auto sum(V first, Args... rest) -> V | { | return first + sum(rest...); | } | } | | | int | main (int argc, char **argv) | { | int ok = 0; | | assert (argc); | assert (! argv[0]); | { | test_exception_syntax (); | test_template tt (2.0); | assert (tt.add (4) == 6.0); | assert (true && !false); | } | | | { | // Test auto and decltype | auto a1 = 6538; | auto a2 = 48573953.4; | auto a3 = "String literal"; | | int total = 0; | for (auto i = a3; *i; ++i) { total += *i; } | | decltype(a2) a4 = 34895.034; | } | { | // Test constexpr | short sa[cxx11test::get_val()] = { 0 }; | } | { | // Test initializer lists | cxx11test::testinit il = { 4323, 435234.23544 }; | } | { | // Test range-based for | int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3, | 14, 19, 17, 8, 6, 20, 16, 2, 11, 1}; | for (auto &x : array) { x += 23; } | } | { | // Test lambda expressions | using cxx11test::eval; | assert (eval ([](int x) { return x*2; }, 21) == 42); | double d = 2.0; | assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0); | assert (d == 5.0); | assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0); | assert (d == 5.0); | } | { | // Test use of variadic templates | using cxx11test::sum; | auto a = sum(1); | auto b = sum(1, 2); | auto c = sum(1.0, 2.0, 3.0); | } | { | // Test constructor delegation | cxx11test::delegate d1; | cxx11test::delegate d2(); | cxx11test::delegate d3(45); | } | { | // Test override and final | cxx11test::overridden o1(55464); | } | { | // Test nullptr | char *c = nullptr; | } | { | // Test template brackets | test_template<::test_template> v(test_template(12)); | } | { | // Unicode literals | char const *utf8 = u8"UTF-8 string \u2500"; | char16_t const *utf16 = u"UTF-8 string \u2500"; | char32_t const *utf32 = U"UTF-32 string \u2500"; | } | | return ok; | } | configure:3711: result: none needed configure:3809: checking for a BSD-compatible install configure:3882: result: /opt/homebrew/bin/ginstall -c configure:3893: checking whether build environment is sane configure:3948: result: yes configure:4107: checking for a race-free mkdir -p configure:4151: result: /opt/homebrew/bin/gmkdir -p configure:4158: checking for gawk configure:4193: result: no configure:4158: checking for mawk configure:4193: result: no configure:4158: checking for nawk configure:4193: result: no configure:4158: checking for awk configure:4179: found /usr/bin/awk configure:4190: result: awk configure:4201: checking whether make sets $(MAKE) configure:4224: result: yes configure:4246: checking whether make supports the include directive configure:4261: make -f confmf.GNU && cat confinc.out this is the am__doit target configure:4264: $? = 0 configure:4283: result: yes (GNU style) configure:4318: checking whether make supports nested variables configure:4336: result: yes configure:4417: checking dependency style of g++ configure:4529: result: gcc3 configure:4652: checking for a sed that does not truncate output configure:4722: result: /opt/homebrew/bin/gsed configure:4732: checking Major version configure:4734: result: 4 configure:4736: checking Minor version configure:4738: result: 1 configure:4740: checking Point version configure:4742: result: 1 configure:4809: checking build system type configure:4824: result: aarch64-apple-darwin22.1.0 configure:4844: checking host system type configure:4858: result: aarch64-apple-darwin22.1.0 configure:4965: checking whether C++ compiler accepts -Werror=unused-command-line-argument configure:4985: g++ -c -g -O2 -Werror=unused-command-line-argument -I/opt/homebrew/opt/libarchive/include conftest.cpp >&5 configure:4985: $? = 0 configure:4994: result: yes configure:5007: checking whether C++ compiler accepts -mavx configure:5027: g++ -c -g -O2 -Werror=unused-command-line-argument -mavx -I/opt/homebrew/opt/libarchive/include conftest.cpp >&5 clang: error: argument unused during compilation: '-mavx' [-Werror,-Wunused-command-line-argument] configure:5027: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "tesseract" | #define PACKAGE_TARNAME "tesseract" | #define PACKAGE_VERSION "4.1.1" | #define PACKAGE_STRING "tesseract 4.1.1" | #define PACKAGE_BUGREPORT "https://github.com/tesseract-ocr/tesseract/issues" | #define PACKAGE_URL "https://github.com/tesseract-ocr/tesseract/" | #define PACKAGE "tesseract" | #define VERSION "4.1.1" | #define PACKAGE_NAME "tesseract" | #define PACKAGE_VERSION "4.1.1" | #define PACKAGE_YEAR "2019" | #define PACKAGE_DATE "12/27" | /* end confdefs.h. */ | | int | main (void) | { | | ; | return 0; | } configure:5037: result: no configure:5056: checking whether C++ compiler accepts -mavx2 configure:5076: g++ -c -g -O2 -Werror=unused-command-line-argument -mavx2 -I/opt/homebrew/opt/libarchive/include conftest.cpp >&5 clang: error: argument unused during compilation: '-mavx2' [-Werror,-Wunused-command-line-argument] configure:5076: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "tesseract" | #define PACKAGE_TARNAME "tesseract" | #define PACKAGE_VERSION "4.1.1" | #define PACKAGE_STRING "tesseract 4.1.1" | #define PACKAGE_BUGREPORT "https://github.com/tesseract-ocr/tesseract/issues" | #define PACKAGE_URL "https://github.com/tesseract-ocr/tesseract/" | #define PACKAGE "tesseract" | #define VERSION "4.1.1" | #define PACKAGE_NAME "tesseract" | #define PACKAGE_VERSION "4.1.1" | #define PACKAGE_YEAR "2019" | #define PACKAGE_DATE "12/27" | /* end confdefs.h. */ | | int | main (void) | { | | ; | return 0; | } configure:5086: result: no configure:5105: checking whether C++ compiler accepts -mfma configure:5125: g++ -c -g -O2 -Werror=unused-command-line-argument -mfma -I/opt/homebrew/opt/libarchive/include conftest.cpp >&5 clang: error: argument unused during compilation: '-mfma' [-Werror,-Wunused-command-line-argument] configure:5125: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "tesseract" | #define PACKAGE_TARNAME "tesseract" | #define PACKAGE_VERSION "4.1.1" | #define PACKAGE_STRING "tesseract 4.1.1" | #define PACKAGE_BUGREPORT "https://github.com/tesseract-ocr/tesseract/issues" | #define PACKAGE_URL "https://github.com/tesseract-ocr/tesseract/" | #define PACKAGE "tesseract" | #define VERSION "4.1.1" | #define PACKAGE_NAME "tesseract" | #define PACKAGE_VERSION "4.1.1" | #define PACKAGE_YEAR "2019" | #define PACKAGE_DATE "12/27" | /* end confdefs.h. */ | | int | main (void) | { | | ; | return 0; | } configure:5135: result: no configure:5154: checking whether C++ compiler accepts -msse4.1 configure:5174: g++ -c -g -O2 -Werror=unused-command-line-argument -msse4.1 -I/opt/homebrew/opt/libarchive/include conftest.cpp >&5 clang: error: argument unused during compilation: '-msse4.1' [-Werror,-Wunused-command-line-argument] configure:5174: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "tesseract" | #define PACKAGE_TARNAME "tesseract" | #define PACKAGE_VERSION "4.1.1" | #define PACKAGE_STRING "tesseract 4.1.1" | #define PACKAGE_BUGREPORT "https://github.com/tesseract-ocr/tesseract/issues" | #define PACKAGE_URL "https://github.com/tesseract-ocr/tesseract/" | #define PACKAGE "tesseract" | #define VERSION "4.1.1" | #define PACKAGE_NAME "tesseract" | #define PACKAGE_VERSION "4.1.1" | #define PACKAGE_YEAR "2019" | #define PACKAGE_DATE "12/27" | /* end confdefs.h. */ | | int | main (void) | { | | ; | return 0; | } configure:5184: result: no configure:5203: checking whether C++ compiler accepts -march=native configure:5223: g++ -c -g -O2 -Werror=unused-command-line-argument -march=native -I/opt/homebrew/opt/libarchive/include conftest.cpp >&5 clang: error: the clang compiler does not support '-march=native' configure:5223: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "tesseract" | #define PACKAGE_TARNAME "tesseract" | #define PACKAGE_VERSION "4.1.1" | #define PACKAGE_STRING "tesseract 4.1.1" | #define PACKAGE_BUGREPORT "https://github.com/tesseract-ocr/tesseract/issues" | #define PACKAGE_URL "https://github.com/tesseract-ocr/tesseract/" | #define PACKAGE "tesseract" | #define VERSION "4.1.1" | #define PACKAGE_NAME "tesseract" | #define PACKAGE_VERSION "4.1.1" | #define PACKAGE_YEAR "2019" | #define PACKAGE_DATE "12/27" | /* end confdefs.h. */ | | int | main (void) | { | | ; | return 0; | } configure:5233: result: no configure:5275: checking --enable-graphics argument configure:5283: result: configure:5299: checking --enable-legacy argument configure:5307: result: configure:5330: checking for g++ option to support OpenMP configure:5352: g++ -c -g -O2 -I/opt/homebrew/opt/libarchive/include conftest.cpp >&5 conftest.cpp:17:2: error: "OpenMP not supported" #error "OpenMP not supported" ^ conftest.cpp:19:10: fatal error: 'omp.h' file not found #include ^~~~~~~ 2 errors generated. configure:5352: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "tesseract" | #define PACKAGE_TARNAME "tesseract" | #define PACKAGE_VERSION "4.1.1" | #define PACKAGE_STRING "tesseract 4.1.1" | #define PACKAGE_BUGREPORT "https://github.com/tesseract-ocr/tesseract/issues" | #define PACKAGE_URL "https://github.com/tesseract-ocr/tesseract/" | #define PACKAGE "tesseract" | #define VERSION "4.1.1" | #define PACKAGE_NAME "tesseract" | #define PACKAGE_VERSION "4.1.1" | #define PACKAGE_YEAR "2019" | #define PACKAGE_DATE "12/27" | /* end confdefs.h. */ | | #ifndef _OPENMP | #error "OpenMP not supported" | #endif | #include | int main (void) { return omp_get_num_threads (); } | configure:5352: g++ -c -g -O2 -fopenmp -I/opt/homebrew/opt/libarchive/include conftest.cpp >&5 clang: error: unsupported option '-fopenmp' configure:5352: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "tesseract" | #define PACKAGE_TARNAME "tesseract" | #define PACKAGE_VERSION "4.1.1" | #define PACKAGE_STRING "tesseract 4.1.1" | #define PACKAGE_BUGREPORT "https://github.com/tesseract-ocr/tesseract/issues" | #define PACKAGE_URL "https://github.com/tesseract-ocr/tesseract/" | #define PACKAGE "tesseract" | #define VERSION "4.1.1" | #define PACKAGE_NAME "tesseract" | #define PACKAGE_VERSION "4.1.1" | #define PACKAGE_YEAR "2019" | #define PACKAGE_DATE "12/27" | /* end confdefs.h. */ | | #ifndef _OPENMP | #error "OpenMP not supported" | #endif | #include | int main (void) { return omp_get_num_threads (); } | configure:5352: g++ -c -g -O2 -xopenmp -I/opt/homebrew/opt/libarchive/include conftest.cpp >&5 clang: error: language not recognized: 'openmp' clang: warning: conftest.cpp: 'linker' input unused [-Wunused-command-line-argument] configure:5352: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "tesseract" | #define PACKAGE_TARNAME "tesseract" | #define PACKAGE_VERSION "4.1.1" | #define PACKAGE_STRING "tesseract 4.1.1" | #define PACKAGE_BUGREPORT "https://github.com/tesseract-ocr/tesseract/issues" | #define PACKAGE_URL "https://github.com/tesseract-ocr/tesseract/" | #define PACKAGE "tesseract" | #define VERSION "4.1.1" | #define PACKAGE_NAME "tesseract" | #define PACKAGE_VERSION "4.1.1" | #define PACKAGE_YEAR "2019" | #define PACKAGE_DATE "12/27" | /* end confdefs.h. */ | | #ifndef _OPENMP | #error "OpenMP not supported" | #endif | #include | int main (void) { return omp_get_num_threads (); } | configure:5352: g++ -c -g -O2 -openmp -I/opt/homebrew/opt/libarchive/include conftest.cpp >&5 conftest.cpp:17:2: error: "OpenMP not supported" #error "OpenMP not supported" ^ conftest.cpp:19:10: fatal error: 'omp.h' file not found #include ^~~~~~~ 2 errors generated. configure:5352: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "tesseract" | #define PACKAGE_TARNAME "tesseract" | #define PACKAGE_VERSION "4.1.1" | #define PACKAGE_STRING "tesseract 4.1.1" | #define PACKAGE_BUGREPORT "https://github.com/tesseract-ocr/tesseract/issues" | #define PACKAGE_URL "https://github.com/tesseract-ocr/tesseract/" | #define PACKAGE "tesseract" | #define VERSION "4.1.1" | #define PACKAGE_NAME "tesseract" | #define PACKAGE_VERSION "4.1.1" | #define PACKAGE_YEAR "2019" | #define PACKAGE_DATE "12/27" | /* end confdefs.h. */ | | #ifndef _OPENMP | #error "OpenMP not supported" | #endif | #include | int main (void) { return omp_get_num_threads (); } | configure:5352: g++ -c -g -O2 -mp -I/opt/homebrew/opt/libarchive/include conftest.cpp >&5 clang: error: unknown argument: '-mp' configure:5352: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "tesseract" | #define PACKAGE_TARNAME "tesseract" | #define PACKAGE_VERSION "4.1.1" | #define PACKAGE_STRING "tesseract 4.1.1" | #define PACKAGE_BUGREPORT "https://github.com/tesseract-ocr/tesseract/issues" | #define PACKAGE_URL "https://github.com/tesseract-ocr/tesseract/" | #define PACKAGE "tesseract" | #define VERSION "4.1.1" | #define PACKAGE_NAME "tesseract" | #define PACKAGE_VERSION "4.1.1" | #define PACKAGE_YEAR "2019" | #define PACKAGE_DATE "12/27" | /* end confdefs.h. */ | | #ifndef _OPENMP | #error "OpenMP not supported" | #endif | #include | int main (void) { return omp_get_num_threads (); } | configure:5352: g++ -c -g -O2 -omp -I/opt/homebrew/opt/libarchive/include conftest.cpp >&5 conftest.cpp:17:2: error: "OpenMP not supported" #error "OpenMP not supported" ^ conftest.cpp:19:10: fatal error: 'omp.h' file not found #include ^~~~~~~ 2 errors generated. configure:5352: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "tesseract" | #define PACKAGE_TARNAME "tesseract" | #define PACKAGE_VERSION "4.1.1" | #define PACKAGE_STRING "tesseract 4.1.1" | #define PACKAGE_BUGREPORT "https://github.com/tesseract-ocr/tesseract/issues" | #define PACKAGE_URL "https://github.com/tesseract-ocr/tesseract/" | #define PACKAGE "tesseract" | #define VERSION "4.1.1" | #define PACKAGE_NAME "tesseract" | #define PACKAGE_VERSION "4.1.1" | #define PACKAGE_YEAR "2019" | #define PACKAGE_DATE "12/27" | /* end confdefs.h. */ | | #ifndef _OPENMP | #error "OpenMP not supported" | #endif | #include | int main (void) { return omp_get_num_threads (); } | configure:5352: g++ -c -g -O2 -qsmp=omp -I/opt/homebrew/opt/libarchive/include conftest.cpp >&5 clang: error: unknown argument: '-qsmp=omp' configure:5352: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "tesseract" | #define PACKAGE_TARNAME "tesseract" | #define PACKAGE_VERSION "4.1.1" | #define PACKAGE_STRING "tesseract 4.1.1" | #define PACKAGE_BUGREPORT "https://github.com/tesseract-ocr/tesseract/issues" | #define PACKAGE_URL "https://github.com/tesseract-ocr/tesseract/" | #define PACKAGE "tesseract" | #define VERSION "4.1.1" | #define PACKAGE_NAME "tesseract" | #define PACKAGE_VERSION "4.1.1" | #define PACKAGE_YEAR "2019" | #define PACKAGE_DATE "12/27" | /* end confdefs.h. */ | | #ifndef _OPENMP | #error "OpenMP not supported" | #endif | #include | int main (void) { return omp_get_num_threads (); } | configure:5352: g++ -c -g -O2 -homp -I/opt/homebrew/opt/libarchive/include conftest.cpp >&5 clang: error: unknown argument: '-homp' configure:5352: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "tesseract" | #define PACKAGE_TARNAME "tesseract" | #define PACKAGE_VERSION "4.1.1" | #define PACKAGE_STRING "tesseract 4.1.1" | #define PACKAGE_BUGREPORT "https://github.com/tesseract-ocr/tesseract/issues" | #define PACKAGE_URL "https://github.com/tesseract-ocr/tesseract/" | #define PACKAGE "tesseract" | #define VERSION "4.1.1" | #define PACKAGE_NAME "tesseract" | #define PACKAGE_VERSION "4.1.1" | #define PACKAGE_YEAR "2019" | #define PACKAGE_DATE "12/27" | /* end confdefs.h. */ | | #ifndef _OPENMP | #error "OpenMP not supported" | #endif | #include | int main (void) { return omp_get_num_threads (); } | configure:5352: g++ -c -g -O2 -Popenmp -I/opt/homebrew/opt/libarchive/include conftest.cpp >&5 clang: error: unknown argument '-Popenmp'; did you mean '-fopenmp'? configure:5352: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "tesseract" | #define PACKAGE_TARNAME "tesseract" | #define PACKAGE_VERSION "4.1.1" | #define PACKAGE_STRING "tesseract 4.1.1" | #define PACKAGE_BUGREPORT "https://github.com/tesseract-ocr/tesseract/issues" | #define PACKAGE_URL "https://github.com/tesseract-ocr/tesseract/" | #define PACKAGE "tesseract" | #define VERSION "4.1.1" | #define PACKAGE_NAME "tesseract" | #define PACKAGE_VERSION "4.1.1" | #define PACKAGE_YEAR "2019" | #define PACKAGE_DATE "12/27" | /* end confdefs.h. */ | | #ifndef _OPENMP | #error "OpenMP not supported" | #endif | #include | int main (void) { return omp_get_num_threads (); } | configure:5352: g++ -c -g -O2 --openmp -I/opt/homebrew/opt/libarchive/include conftest.cpp >&5 clang: error: unsupported option '--openmp'; did you mean '-fopenmp'? configure:5352: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "tesseract" | #define PACKAGE_TARNAME "tesseract" | #define PACKAGE_VERSION "4.1.1" | #define PACKAGE_STRING "tesseract 4.1.1" | #define PACKAGE_BUGREPORT "https://github.com/tesseract-ocr/tesseract/issues" | #define PACKAGE_URL "https://github.com/tesseract-ocr/tesseract/" | #define PACKAGE "tesseract" | #define VERSION "4.1.1" | #define PACKAGE_NAME "tesseract" | #define PACKAGE_VERSION "4.1.1" | #define PACKAGE_YEAR "2019" | #define PACKAGE_DATE "12/27" | /* end confdefs.h. */ | | #ifndef _OPENMP | #error "OpenMP not supported" | #endif | #include | int main (void) { return omp_get_num_threads (); } | configure:5387: result: unsupported configure:5403: checking for stdio.h configure:5403: g++ -c -g -O2 -I/opt/homebrew/opt/libarchive/include conftest.cpp >&5 configure:5403: $? = 0 configure:5403: result: yes configure:5403: checking for stdlib.h configure:5403: g++ -c -g -O2 -I/opt/homebrew/opt/libarchive/include conftest.cpp >&5 configure:5403: $? = 0 configure:5403: result: yes configure:5403: checking for string.h configure:5403: g++ -c -g -O2 -I/opt/homebrew/opt/libarchive/include conftest.cpp >&5 configure:5403: $? = 0 configure:5403: result: yes configure:5403: checking for inttypes.h configure:5403: g++ -c -g -O2 -I/opt/homebrew/opt/libarchive/include conftest.cpp >&5 configure:5403: $? = 0 configure:5403: result: yes configure:5403: checking for stdint.h configure:5403: g++ -c -g -O2 -I/opt/homebrew/opt/libarchive/include conftest.cpp >&5 configure:5403: $? = 0 configure:5403: result: yes configure:5403: checking for strings.h configure:5403: g++ -c -g -O2 -I/opt/homebrew/opt/libarchive/include conftest.cpp >&5 configure:5403: $? = 0 configure:5403: result: yes configure:5403: checking for sys/stat.h configure:5403: g++ -c -g -O2 -I/opt/homebrew/opt/libarchive/include conftest.cpp >&5 configure:5403: $? = 0 configure:5403: result: yes configure:5403: checking for sys/types.h configure:5403: g++ -c -g -O2 -I/opt/homebrew/opt/libarchive/include conftest.cpp >&5 configure:5403: $? = 0 configure:5403: result: yes configure:5403: checking for unistd.h configure:5403: g++ -c -g -O2 -I/opt/homebrew/opt/libarchive/include conftest.cpp >&5 configure:5403: $? = 0 configure:5403: result: yes configure:5403: checking for sys/time.h configure:5403: g++ -c -g -O2 -I/opt/homebrew/opt/libarchive/include conftest.cpp >&5 configure:5403: $? = 0 configure:5403: result: yes configure:5430: checking for tiffio.h configure:5430: g++ -c -g -O2 -I/opt/homebrew/opt/libarchive/include conftest.cpp >&5 conftest.cpp:54:10: fatal error: 'tiffio.h' file not found #include ^~~~~~~~~~ 1 error generated. configure:5430: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "tesseract" | #define PACKAGE_TARNAME "tesseract" | #define PACKAGE_VERSION "4.1.1" | #define PACKAGE_STRING "tesseract 4.1.1" | #define PACKAGE_BUGREPORT "https://github.com/tesseract-ocr/tesseract/issues" | #define PACKAGE_URL "https://github.com/tesseract-ocr/tesseract/" | #define PACKAGE "tesseract" | #define VERSION "4.1.1" | #define PACKAGE_NAME "tesseract" | #define PACKAGE_VERSION "4.1.1" | #define PACKAGE_YEAR "2019" | #define PACKAGE_DATE "12/27" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:5430: result: no configure:5442: checking --enable-opencl argument configure:5450: result: configure:5506: checking for tensorflow/core/framework/graph.pb.h configure:5506: g++ -c -g -O2 -I/opt/homebrew/opt/libarchive/include conftest.cpp >&5 conftest.cpp:54:10: fatal error: 'tensorflow/core/framework/graph.pb.h' file not found #include ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. configure:5506: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "tesseract" | #define PACKAGE_TARNAME "tesseract" | #define PACKAGE_VERSION "4.1.1" | #define PACKAGE_STRING "tesseract 4.1.1" | #define PACKAGE_BUGREPORT "https://github.com/tesseract-ocr/tesseract/issues" | #define PACKAGE_URL "https://github.com/tesseract-ocr/tesseract/" | #define PACKAGE "tesseract" | #define VERSION "4.1.1" | #define PACKAGE_NAME "tesseract" | #define PACKAGE_VERSION "4.1.1" | #define PACKAGE_YEAR "2019" | #define PACKAGE_DATE "12/27" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:5506: result: no configure:5546: checking if -framework OpenCL works configure:5565: g++ -o conftest -g -O2 -I/opt/homebrew/opt/libarchive/include -L/opt/homebrew/opt/libarchive/lib conftest.cpp -framework OpenCL >&5 configure:5565: $? = 0 configure:5576: result: yes configure:5668: checking --enable-visibility argument configure:5676: result: configure:5688: checking whether to use tessdata-prefix configure:5698: result: yes configure:5711: checking if compiling with clang configure:5728: g++ -c -g -O2 -I/opt/homebrew/opt/libarchive/include conftest.cpp >&5 configure:5728: $? = 0 configure:5735: result: yes configure:5739: checking whether to enable debugging configure:5747: result: configure:5783: checking whether byte ordering is bigendian configure:5799: g++ -c -g -O2 -I/opt/homebrew/opt/libarchive/include conftest.cpp >&5 configure:5799: $? = 0 configure:5845: g++ -c -g -O2 -I/opt/homebrew/opt/libarchive/include conftest.cpp >&5 configure:5845: $? = 0 configure:5864: g++ -c -g -O2 -I/opt/homebrew/opt/libarchive/include conftest.cpp >&5 conftest.cpp:34:11: error: expected ';' after expression not big endian ^ ; conftest.cpp:34:8: error: use of undeclared identifier 'big' not big endian ^ conftest.cpp:34:12: error: use of undeclared identifier 'endian' not big endian ^ 3 errors generated. configure:5864: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "tesseract" | #define PACKAGE_TARNAME "tesseract" | #define PACKAGE_VERSION "4.1.1" | #define PACKAGE_STRING "tesseract 4.1.1" | #define PACKAGE_BUGREPORT "https://github.com/tesseract-ocr/tesseract/issues" | #define PACKAGE_URL "https://github.com/tesseract-ocr/tesseract/" | #define PACKAGE "tesseract" | #define VERSION "4.1.1" | #define PACKAGE_NAME "tesseract" | #define PACKAGE_VERSION "4.1.1" | #define PACKAGE_YEAR "2019" | #define PACKAGE_DATE "12/27" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define HAVE_FRAMEWORK_OPENCL 1 | /* end confdefs.h. */ | #include | #include | | int | main (void) | { | #if BYTE_ORDER != BIG_ENDIAN | not big endian | #endif | | ; | return 0; | } configure:5998: result: no configure:6069: checking how to print strings configure:6096: result: printf configure:6179: checking for gcc configure:6200: found /usr/bin/gcc configure:6211: result: gcc configure:6564: checking for C compiler version configure:6573: gcc --version >&5 Apple clang version 14.0.0 (clang-1400.0.29.102) Target: arm64-apple-darwin22.1.0 Thread model: posix InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin configure:6584: $? = 0 configure:6573: gcc -v >&5 Apple clang version 14.0.0 (clang-1400.0.29.102) Target: arm64-apple-darwin22.1.0 Thread model: posix InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin configure:6584: $? = 0 configure:6573: gcc -V >&5 clang: error: argument to '-V' is missing (expected 1 value) clang: error: no input files configure:6584: $? = 1 configure:6573: gcc -qversion >&5 clang: error: unknown argument '-qversion'; did you mean '--version'? clang: error: no input files configure:6584: $? = 1 configure:6573: gcc -version >&5 clang: error: unknown argument '-version'; did you mean '--version'? clang: error: no input files configure:6584: $? = 1 configure:6588: checking whether the compiler supports GNU C configure:6608: gcc -c -I/opt/homebrew/opt/libarchive/include conftest.c >&5 configure:6608: $? = 0 configure:6618: result: yes configure:6629: checking whether gcc accepts -g configure:6650: gcc -c -g -I/opt/homebrew/opt/libarchive/include conftest.c >&5 configure:6650: $? = 0 configure:6694: result: yes configure:6714: checking for gcc option to enable C11 features configure:6729: gcc -c -g -O2 -I/opt/homebrew/opt/libarchive/include conftest.c >&5 configure:6729: $? = 0 configure:6747: result: none needed configure:6863: checking whether gcc understands -c and -o together configure:6886: gcc -c conftest.c -o conftest2.o configure:6889: $? = 0 configure:6886: gcc -c conftest.c -o conftest2.o configure:6889: $? = 0 configure:6901: result: yes configure:6920: checking dependency style of gcc configure:7032: result: gcc3 configure:7047: checking for a sed that does not truncate output configure:7117: result: /opt/homebrew/bin/gsed configure:7135: checking for grep that handles long lines and -e configure:7199: result: /usr/bin/grep configure:7204: checking for egrep configure:7272: result: /usr/bin/grep -E configure:7277: checking for fgrep configure:7345: result: /usr/bin/grep -F configure:7381: checking for ld used by gcc configure:7449: result: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld configure:7456: checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld configure:7472: result: no configure:7484: checking for BSD- or MS-compatible name lister (nm) configure:7539: result: /usr/bin/nm -B configure:7679: checking the name lister (/usr/bin/nm -B) interface configure:7687: g++ -c -g -O2 -I/opt/homebrew/opt/libarchive/include conftest.cpp >&5 configure:7690: /usr/bin/nm -B "conftest.o" configure:7693: output 000000000000025c S _some_variable 0000000000000000 t ltmp0 000000000000025c s ltmp1 configure:7700: result: BSD nm configure:7703: checking whether ln -s works configure:7707: result: yes configure:7715: checking the maximum length of command line arguments configure:7847: result: 786432 configure:7895: checking how to convert aarch64-apple-darwin22.1.0 file names to aarch64-apple-darwin22.1.0 format configure:7936: result: func_convert_file_noop configure:7943: checking how to convert aarch64-apple-darwin22.1.0 file names to toolchain format configure:7964: result: func_convert_file_noop configure:7971: checking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld option to reload object files configure:7979: result: -r configure:8058: checking for file configure:8079: found /usr/bin/file configure:8090: result: file configure:8166: checking for objdump configure:8187: found /usr/bin/objdump configure:8198: result: objdump configure:8230: checking how to recognize dependent libraries configure:8431: result: pass_all configure:8521: checking for dlltool configure:8556: result: no configure:8586: checking how to associate runtime and link libraries configure:8614: result: printf %s\n configure:8679: checking for ar configure:8700: found /usr/bin/ar configure:8711: result: ar configure:8764: checking for archiver @FILE support configure:8782: g++ -c -g -O2 -I/opt/homebrew/opt/libarchive/include conftest.cpp >&5 configure:8782: $? = 0 configure:8786: ar cr libconftest.a @conftest.lst >&5 ar: @conftest.lst: No such file or directory configure:8789: $? = 1 configure:8809: result: no configure:8872: checking for strip configure:8893: found /usr/bin/strip configure:8904: result: strip configure:8981: checking for ranlib configure:9002: found /usr/bin/ranlib configure:9013: result: ranlib configure:9115: checking command to parse /usr/bin/nm -B output from gcc object configure:9269: g++ -c -g -O2 -I/opt/homebrew/opt/libarchive/include conftest.cpp >&5 configure:9272: $? = 0 configure:9276: /usr/bin/nm -B conftest.o \| /opt/homebrew/bin/gsed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | /opt/homebrew/bin/gsed '/ __gnu_lto/d' \> conftest.nm configure:9279: $? = 0 cannot find nm_test_var in conftest.nm configure:9269: g++ -c -g -O2 -I/opt/homebrew/opt/libarchive/include conftest.cpp >&5 configure:9272: $? = 0 configure:9276: /usr/bin/nm -B conftest.o \| /opt/homebrew/bin/gsed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*_\([_A-Za-z][_A-Za-z0-9]*\)$/\1 _\2 \2/p' | /opt/homebrew/bin/gsed '/ __gnu_lto/d' \> conftest.nm configure:9279: $? = 0 configure:9345: g++ -o conftest -g -O2 -I/opt/homebrew/opt/libarchive/include -L/opt/homebrew/opt/libarchive/lib conftest.cpp conftstm.o >&5 configure:9348: $? = 0 configure:9386: result: ok configure:9433: checking for sysroot configure:9464: result: no configure:9471: checking for a working dd configure:9515: result: /bin/dd configure:9519: checking how to truncate binary pipes configure:9535: result: /bin/dd bs=4096 count=1 configure:9873: checking for mt configure:9908: result: no configure:9928: checking if : is a manifest tool configure:9935: : '-?' configure:9943: result: no configure:10004: checking for dsymutil configure:10025: found /usr/bin/dsymutil configure:10036: result: dsymutil configure:10106: checking for nmedit configure:10127: found /usr/bin/nmedit configure:10138: result: nmedit configure:10208: checking for lipo configure:10229: found /usr/bin/lipo configure:10240: result: lipo configure:10310: checking for otool configure:10331: found /usr/bin/otool configure:10342: result: otool configure:10412: checking for otool64 configure:10447: result: no configure:10492: checking for -single_module linker flag gcc -g -O2 -L/opt/homebrew/opt/libarchive/lib -o libconftest.dylib -dynamiclib -Wl,-single_module conftest.c configure:10526: result: yes configure:10529: checking for -exported_symbols_list linker flag configure:10550: g++ -o conftest -g -O2 -I/opt/homebrew/opt/libarchive/include -L/opt/homebrew/opt/libarchive/lib -Wl,-exported_symbols_list,conftest.sym conftest.cpp >&5 configure:10550: $? = 0 configure:10561: result: yes configure:10564: checking for -force_load linker flag gcc -g -O2 -c -o conftest.o conftest.c ar cr libconftest.a conftest.o ranlib libconftest.a gcc -g -O2 -L/opt/homebrew/opt/libarchive/lib -o conftest conftest.c -Wl,-force_load,./libconftest.a configure:10597: result: yes configure:10664: checking for dlfcn.h configure:10664: g++ -c -g -O2 -I/opt/homebrew/opt/libarchive/include conftest.cpp >&5 configure:10664: $? = 0 configure:10664: result: yes configure:10933: checking for objdir configure:10949: result: .libs configure:11209: checking if gcc supports -fno-rtti -fno-exceptions configure:11228: gcc -c -g -O2 -I/opt/homebrew/opt/libarchive/include -fno-rtti -fno-exceptions conftest.c >&5 configure:11232: $? = 0 configure:11245: result: yes configure:11603: checking for gcc option to produce PIC configure:11611: result: -fno-common -DPIC configure:11619: checking if gcc PIC flag -fno-common -DPIC works configure:11638: gcc -c -g -O2 -I/opt/homebrew/opt/libarchive/include -fno-common -DPIC -DPIC conftest.c >&5 configure:11642: $? = 0 configure:11655: result: yes configure:11684: checking if gcc static flag -static works configure:11713: result: no configure:11728: checking if gcc supports -c -o file.o configure:11750: gcc -c -g -O2 -I/opt/homebrew/opt/libarchive/include -o out/conftest2.o conftest.c >&5 configure:11754: $? = 0 configure:11776: result: yes configure:11784: checking if gcc supports -c -o file.o configure:11832: result: yes configure:11865: checking whether the gcc linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries configure:13133: result: yes configure:13374: checking dynamic linker characteristics configure:14195: result: darwin22.1.0 dyld configure:14317: checking how to hardcode library paths into programs configure:14342: result: immediate configure:14894: checking whether stripping libraries is possible configure:14911: result: yes configure:14945: checking if libtool supports shared libraries configure:14947: result: yes configure:14950: checking whether to build shared libraries configure:14975: result: yes configure:14978: checking whether to build static libraries configure:14982: result: yes configure:15005: checking how to run the C++ preprocessor configure:15027: g++ -E -I/opt/homebrew/opt/libarchive/include conftest.cpp configure:15027: $? = 0 configure:15042: g++ -E -I/opt/homebrew/opt/libarchive/include conftest.cpp conftest.cpp:29:10: fatal error: 'ac_nonexistent.h' file not found #include ^~~~~~~~~~~~~~~~~~ 1 error generated. configure:15042: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "tesseract" | #define PACKAGE_TARNAME "tesseract" | #define PACKAGE_VERSION "4.1.1" | #define PACKAGE_STRING "tesseract 4.1.1" | #define PACKAGE_BUGREPORT "https://github.com/tesseract-ocr/tesseract/issues" | #define PACKAGE_URL "https://github.com/tesseract-ocr/tesseract/" | #define PACKAGE "tesseract" | #define VERSION "4.1.1" | #define PACKAGE_NAME "tesseract" | #define PACKAGE_VERSION "4.1.1" | #define PACKAGE_YEAR "2019" | #define PACKAGE_DATE "12/27" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define HAVE_FRAMEWORK_OPENCL 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | /* end confdefs.h. */ | #include configure:15069: result: g++ -E configure:15083: g++ -E -I/opt/homebrew/opt/libarchive/include conftest.cpp configure:15083: $? = 0 configure:15098: g++ -E -I/opt/homebrew/opt/libarchive/include conftest.cpp conftest.cpp:29:10: fatal error: 'ac_nonexistent.h' file not found #include ^~~~~~~~~~~~~~~~~~ 1 error generated. configure:15098: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "tesseract" | #define PACKAGE_TARNAME "tesseract" | #define PACKAGE_VERSION "4.1.1" | #define PACKAGE_STRING "tesseract 4.1.1" | #define PACKAGE_BUGREPORT "https://github.com/tesseract-ocr/tesseract/issues" | #define PACKAGE_URL "https://github.com/tesseract-ocr/tesseract/" | #define PACKAGE "tesseract" | #define VERSION "4.1.1" | #define PACKAGE_NAME "tesseract" | #define PACKAGE_VERSION "4.1.1" | #define PACKAGE_YEAR "2019" | #define PACKAGE_DATE "12/27" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define HAVE_FRAMEWORK_OPENCL 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | /* end confdefs.h. */ | #include configure:15263: checking for ld used by g++ configure:15331: result: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld configure:15338: checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld configure:15354: result: no configure:15409: checking whether the g++ linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries configure:16487: result: yes configure:16523: g++ -c -g -O2 -I/opt/homebrew/opt/libarchive/include conftest.cpp >&5 configure:16526: $? = 0 configure:17007: checking for g++ option to produce PIC configure:17015: result: -fno-common -DPIC configure:17023: checking if g++ PIC flag -fno-common -DPIC works configure:17042: g++ -c -g -O2 -I/opt/homebrew/opt/libarchive/include -fno-common -DPIC -DPIC conftest.cpp >&5 configure:17046: $? = 0 configure:17059: result: yes configure:17082: checking if g++ static flag -static works configure:17111: result: no configure:17123: checking if g++ supports -c -o file.o configure:17145: g++ -c -g -O2 -I/opt/homebrew/opt/libarchive/include -o out/conftest2.o conftest.cpp >&5 configure:17149: $? = 0 configure:17171: result: yes configure:17176: checking if g++ supports -c -o file.o configure:17224: result: yes configure:17254: checking whether the g++ linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries configure:17294: result: yes configure:17436: checking dynamic linker characteristics configure:18184: result: darwin22.1.0 dyld configure:18249: checking how to hardcode library paths into programs configure:18274: result: immediate configure:18343: checking whether C++ compiler accepts -std=c++11 configure:18363: g++ -c -g -O2 -Werror=unused-command-line-argument -std=c++11 -I/opt/homebrew/opt/libarchive/include conftest.cpp >&5 configure:18363: $? = 0 configure:18373: result: yes configure:18383: checking whether C++ compiler accepts -std=c++14 configure:18403: g++ -c -g -O2 -Werror=unused-command-line-argument -std=c++14 -I/opt/homebrew/opt/libarchive/include conftest.cpp >&5 configure:18403: $? = 0 configure:18413: result: yes configure:18423: checking whether C++ compiler accepts -std=c++17 configure:18443: g++ -c -g -O2 -Werror=unused-command-line-argument -std=c++17 -I/opt/homebrew/opt/libarchive/include conftest.cpp >&5 configure:18443: $? = 0 configure:18453: result: yes configure:18490: checking for library containing pthread_create configure:18519: g++ -o conftest -g -O2 -std=c++17 -I/opt/homebrew/opt/libarchive/include -L/opt/homebrew/opt/libarchive/lib conftest.cpp >&5 configure:18519: $? = 0 configure:18539: result: none required configure:18557: checking for egrep configure:18625: result: /usr/bin/grep -E configure:18641: checking for sys/wait.h that is POSIX.1 compatible configure:18668: g++ -c -g -O2 -std=c++17 -I/opt/homebrew/opt/libarchive/include conftest.cpp >&5 configure:18668: $? = 0 configure:18676: result: yes configure:18684: checking for sys/ipc.h configure:18684: g++ -c -g -O2 -std=c++17 -I/opt/homebrew/opt/libarchive/include conftest.cpp >&5 configure:18684: $? = 0 configure:18684: result: yes configure:18690: checking for sys/shm.h configure:18690: g++ -c -g -O2 -std=c++17 -I/opt/homebrew/opt/libarchive/include conftest.cpp >&5 configure:18690: $? = 0 configure:18690: result: yes configure:18697: checking for limits.h configure:18697: g++ -c -g -O2 -std=c++17 -I/opt/homebrew/opt/libarchive/include conftest.cpp >&5 configure:18697: $? = 0 configure:18697: result: yes configure:18703: checking for malloc.h configure:18703: g++ -c -g -O2 -std=c++17 -I/opt/homebrew/opt/libarchive/include conftest.cpp >&5 conftest.cpp:62:10: fatal error: 'malloc.h' file not found #include ^~~~~~~~~~ 1 error generated. configure:18703: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "tesseract" | #define PACKAGE_TARNAME "tesseract" | #define PACKAGE_VERSION "4.1.1" | #define PACKAGE_STRING "tesseract 4.1.1" | #define PACKAGE_BUGREPORT "https://github.com/tesseract-ocr/tesseract/issues" | #define PACKAGE_URL "https://github.com/tesseract-ocr/tesseract/" | #define PACKAGE "tesseract" | #define VERSION "4.1.1" | #define PACKAGE_NAME "tesseract" | #define PACKAGE_VERSION "4.1.1" | #define PACKAGE_YEAR "2019" | #define PACKAGE_DATE "12/27" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define HAVE_FRAMEWORK_OPENCL 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SYS_IPC_H 1 | #define HAVE_SYS_SHM_H 1 | #define HAVE_LIMITS_H 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:18703: result: no configure:18711: checking for _Bool configure:18711: g++ -c -g -O2 -std=c++17 -I/opt/homebrew/opt/libarchive/include conftest.cpp >&5 conftest.cpp:65:13: error: use of undeclared identifier '_Bool' if (sizeof (_Bool)) ^ 1 error generated. configure:18711: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "tesseract" | #define PACKAGE_TARNAME "tesseract" | #define PACKAGE_VERSION "4.1.1" | #define PACKAGE_STRING "tesseract 4.1.1" | #define PACKAGE_BUGREPORT "https://github.com/tesseract-ocr/tesseract/issues" | #define PACKAGE_URL "https://github.com/tesseract-ocr/tesseract/" | #define PACKAGE "tesseract" | #define VERSION "4.1.1" | #define PACKAGE_NAME "tesseract" | #define PACKAGE_VERSION "4.1.1" | #define PACKAGE_YEAR "2019" | #define PACKAGE_DATE "12/27" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define HAVE_FRAMEWORK_OPENCL 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SYS_IPC_H 1 | #define HAVE_SYS_SHM_H 1 | #define HAVE_LIMITS_H 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | int | main (void) | { | if (sizeof (_Bool)) | return 0; | ; | return 0; | } configure:18711: result: no configure:18720: checking for stdbool.h that conforms to C99 configure:18836: g++ -c -g -O2 -std=c++17 -I/opt/homebrew/opt/libarchive/include conftest.cpp >&5 conftest.cpp:119:25: warning: address of 's' will always evaluate to 'true' [-Wpointer-bool-conversion] bool ps = &s; ~~ ^ conftest.cpp:132:40: warning: address of array 'o' will always evaluate to 'true' [-Wpointer-bool-conversion] ~^ conftest.cpp:132:35: warning: address of array 'n' will always evaluate to 'true' [-Wpointer-bool-conversion] ~^ conftest.cpp:132:30: warning: address of array 'm' will always evaluate to 'true' [-Wpointer-bool-conversion] ~^ conftest.cpp:132:25: warning: address of array 'l' will always evaluate to 'true' [-Wpointer-bool-conversion] ~^ conftest.cpp:131:73: warning: address of array 'k' will always evaluate to 'true' [-Wpointer-bool-conversion] return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !j + !k ~^ conftest.cpp:131:68: warning: address of array 'j' will always evaluate to 'true' [-Wpointer-bool-conversion] return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !j + !k ~^ conftest.cpp:131:63: warning: address of array 'i' will always evaluate to 'true' [-Wpointer-bool-conversion] return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !j + !k ~^ conftest.cpp:131:38: warning: address of array 'd' will always evaluate to 'true' [-Wpointer-bool-conversion] return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !j + !k ~^ conftest.cpp:131:33: warning: address of array 'c' will always evaluate to 'true' [-Wpointer-bool-conversion] return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !j + !k ~^ conftest.cpp:131:28: warning: address of array 'b' will always evaluate to 'true' [-Wpointer-bool-conversion] return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !j + !k ~^ conftest.cpp:131:23: warning: address of array 'a' will always evaluate to 'true' [-Wpointer-bool-conversion] return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !j + !k ~^ 12 warnings generated. configure:18836: $? = 0 configure:18844: result: yes configure:18860: checking for asciidoc configure:18881: found /opt/homebrew/bin/asciidoc configure:18893: result: true configure:18903: checking for xsltproc configure:18924: found /usr/bin/xsltproc configure:18936: result: true configure:18968: checking for wchar_t configure:18968: g++ -c -g -O2 -std=c++17 -I/opt/homebrew/opt/libarchive/include conftest.cpp >&5 configure:18968: $? = 0 configure:18968: g++ -c -g -O2 -std=c++17 -I/opt/homebrew/opt/libarchive/include conftest.cpp >&5 conftest.cpp:40:22: error: expected expression if (sizeof ((wchar_t))) ^ 1 error generated. configure:18968: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "tesseract" | #define PACKAGE_TARNAME "tesseract" | #define PACKAGE_VERSION "4.1.1" | #define PACKAGE_STRING "tesseract 4.1.1" | #define PACKAGE_BUGREPORT "https://github.com/tesseract-ocr/tesseract/issues" | #define PACKAGE_URL "https://github.com/tesseract-ocr/tesseract/" | #define PACKAGE "tesseract" | #define VERSION "4.1.1" | #define PACKAGE_NAME "tesseract" | #define PACKAGE_VERSION "4.1.1" | #define PACKAGE_YEAR "2019" | #define PACKAGE_DATE "12/27" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define HAVE_FRAMEWORK_OPENCL 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SYS_IPC_H 1 | #define HAVE_SYS_SHM_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDBOOL_H 1 | /* end confdefs.h. */ | #include "wchar.h" | | int | main (void) | { | if (sizeof ((wchar_t))) | return 0; | ; | return 0; | } configure:18968: result: yes configure:18978: checking for long long int configure:18978: g++ -c -g -O2 -std=c++17 -I/opt/homebrew/opt/libarchive/include conftest.cpp >&5 configure:18978: $? = 0 configure:18978: g++ -c -g -O2 -std=c++17 -I/opt/homebrew/opt/libarchive/include conftest.cpp >&5 conftest.cpp:67:28: error: expected expression if (sizeof ((long long int))) ^ 1 error generated. configure:18978: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "tesseract" | #define PACKAGE_TARNAME "tesseract" | #define PACKAGE_VERSION "4.1.1" | #define PACKAGE_STRING "tesseract 4.1.1" | #define PACKAGE_BUGREPORT "https://github.com/tesseract-ocr/tesseract/issues" | #define PACKAGE_URL "https://github.com/tesseract-ocr/tesseract/" | #define PACKAGE "tesseract" | #define VERSION "4.1.1" | #define PACKAGE_NAME "tesseract" | #define PACKAGE_VERSION "4.1.1" | #define PACKAGE_YEAR "2019" | #define PACKAGE_DATE "12/27" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define HAVE_FRAMEWORK_OPENCL 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SYS_IPC_H 1 | #define HAVE_SYS_SHM_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_WCHAR_T 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | int | main (void) | { | if (sizeof ((long long int))) | return 0; | ; | return 0; | } configure:18978: result: yes configure:18987: checking for off_t configure:18987: g++ -c -g -O2 -std=c++17 -I/opt/homebrew/opt/libarchive/include conftest.cpp >&5 configure:18987: $? = 0 configure:18987: g++ -c -g -O2 -std=c++17 -I/opt/homebrew/opt/libarchive/include conftest.cpp >&5 conftest.cpp:42:20: error: expected expression if (sizeof ((off_t))) ^ 1 error generated. configure:18987: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "tesseract" | #define PACKAGE_TARNAME "tesseract" | #define PACKAGE_VERSION "4.1.1" | #define PACKAGE_STRING "tesseract 4.1.1" | #define PACKAGE_BUGREPORT "https://github.com/tesseract-ocr/tesseract/issues" | #define PACKAGE_URL "https://github.com/tesseract-ocr/tesseract/" | #define PACKAGE "tesseract" | #define VERSION "4.1.1" | #define PACKAGE_NAME "tesseract" | #define PACKAGE_VERSION "4.1.1" | #define PACKAGE_YEAR "2019" | #define PACKAGE_DATE "12/27" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define HAVE_FRAMEWORK_OPENCL 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SYS_IPC_H 1 | #define HAVE_SYS_SHM_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_WCHAR_T 1 | #define HAVE_LONG_LONG_INT 1 | /* end confdefs.h. */ | #include "sys/types.h" | | int | main (void) | { | if (sizeof ((off_t))) | return 0; | ; | return 0; | } configure:18987: result: yes configure:18997: checking for mbstate_t configure:18997: g++ -c -g -O2 -std=c++17 -I/opt/homebrew/opt/libarchive/include conftest.cpp >&5 configure:18997: $? = 0 configure:18997: g++ -c -g -O2 -std=c++17 -I/opt/homebrew/opt/libarchive/include conftest.cpp >&5 conftest.cpp:43:24: error: expected expression if (sizeof ((mbstate_t))) ^ 1 error generated. configure:18997: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "tesseract" | #define PACKAGE_TARNAME "tesseract" | #define PACKAGE_VERSION "4.1.1" | #define PACKAGE_STRING "tesseract 4.1.1" | #define PACKAGE_BUGREPORT "https://github.com/tesseract-ocr/tesseract/issues" | #define PACKAGE_URL "https://github.com/tesseract-ocr/tesseract/" | #define PACKAGE "tesseract" | #define VERSION "4.1.1" | #define PACKAGE_NAME "tesseract" | #define PACKAGE_VERSION "4.1.1" | #define PACKAGE_YEAR "2019" | #define PACKAGE_DATE "12/27" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define HAVE_FRAMEWORK_OPENCL 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SYS_IPC_H 1 | #define HAVE_SYS_SHM_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_WCHAR_T 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_OFF_T 1 | /* end confdefs.h. */ | #include "wchar.h" | | int | main (void) | { | if (sizeof ((mbstate_t))) | return 0; | ; | return 0; | } configure:18997: result: yes configure:19071: checking for pkg-config configure:19094: found /opt/homebrew/bin/pkg-config configure:19106: result: /opt/homebrew/bin/pkg-config configure:19131: checking pkg-config is at least version 0.9.0 configure:19134: result: yes configure:19144: checking for libcurl configure:19151: $PKG_CONFIG --exists --print-errors "libcurl" configure:19154: $? = 0 configure:19168: $PKG_CONFIG --exists --print-errors "libcurl" configure:19171: $? = 0 configure:19209: result: yes configure:19224: checking for lept >= 1.74 configure:19231: $PKG_CONFIG --exists --print-errors "lept >= 1.74" configure:19234: $? = 0 configure:19248: $PKG_CONFIG --exists --print-errors "lept >= 1.74" configure:19251: $? = 0 configure:19289: result: yes configure:19301: checking for libarchive configure:19308: $PKG_CONFIG --exists --print-errors "libarchive" Package libarchive was not found in the pkg-config search path. Perhaps you should add the directory containing `libarchive.pc' to the PKG_CONFIG_PATH environment variable No package 'libarchive' found configure:19311: $? = 1 configure:19325: $PKG_CONFIG --exists --print-errors "libarchive" Package libarchive was not found in the pkg-config search path. Perhaps you should add the directory containing `libarchive.pc' to the PKG_CONFIG_PATH environment variable No package 'libarchive' found configure:19328: $? = 1 configure:19342: result: no No package 'libarchive' found configure:19397: checking for icu-uc >= 52.1 configure:19404: $PKG_CONFIG --exists --print-errors "icu-uc >= 52.1" configure:19407: $? = 0 configure:19421: $PKG_CONFIG --exists --print-errors "icu-uc >= 52.1" configure:19424: $? = 0 configure:19462: result: yes configure:19468: checking for icu-i18n >= 52.1 configure:19475: $PKG_CONFIG --exists --print-errors "icu-i18n >= 52.1" configure:19478: $? = 0 configure:19492: $PKG_CONFIG --exists --print-errors "icu-i18n >= 52.1" configure:19495: $? = 0 configure:19533: result: yes configure:19559: checking for pango >= 1.22.0 configure:19566: $PKG_CONFIG --exists --print-errors "pango >= 1.22.0" configure:19569: $? = 0 configure:19583: $PKG_CONFIG --exists --print-errors "pango >= 1.22.0" configure:19586: $? = 0 configure:19624: result: yes configure:19650: checking for cairo configure:19657: $PKG_CONFIG --exists --print-errors "cairo" configure:19660: $? = 0 configure:19674: $PKG_CONFIG --exists --print-errors "cairo" configure:19677: $? = 0 configure:19715: result: yes configure:19907: checking that generated files are newer than configure configure:19913: result: done configure:20061: creating ./config.status ## ---------------------- ## ## Running config.status. ## ## ---------------------- ## This file was extended by tesseract config.status 4.1.1, which was generated by GNU Autoconf 2.71. Invocation command line was CONFIG_FILES = CONFIG_HEADERS = CONFIG_LINKS = CONFIG_COMMANDS = $ ./config.status on guojianhengdeMacBook-Pro-2.local config.status:1289: creating Makefile config.status:1289: creating tesseract.pc config.status:1289: creating src/api/Makefile config.status:1289: creating src/api/tess_version.h config.status:1289: creating src/arch/Makefile config.status:1289: creating src/ccmain/Makefile config.status:1289: creating src/opencl/Makefile config.status:1289: creating src/ccstruct/Makefile config.status:1289: creating src/ccutil/Makefile config.status:1289: creating src/classify/Makefile config.status:1289: creating src/cutil/Makefile config.status:1289: creating src/dict/Makefile config.status:1289: creating src/lstm/Makefile config.status:1289: creating src/textord/Makefile config.status:1289: creating src/viewer/Makefile config.status:1289: creating src/wordrec/Makefile config.status:1289: creating tessdata/Makefile config.status:1289: creating tessdata/configs/Makefile config.status:1289: creating tessdata/tessconfigs/Makefile config.status:1289: creating unittest/Makefile config.status:1289: creating java/Makefile config.status:1289: creating java/com/Makefile config.status:1289: creating java/com/google/Makefile config.status:1289: creating java/com/google/scrollview/Makefile config.status:1289: creating java/com/google/scrollview/events/Makefile config.status:1289: creating java/com/google/scrollview/ui/Makefile config.status:1289: creating doc/Makefile config.status:1289: creating src/training/Makefile config.status:1289: creating config_auto.h config.status:1503: executing depfiles commands config.status:1580: cd src/api && sed -e '/# am--include-marker/d' Makefile | make -f - am--depfiles config.status:1585: $? = 0 config.status:1580: cd src/arch && sed -e '/# am--include-marker/d' Makefile | make -f - am--depfiles config.status:1585: $? = 0 config.status:1580: cd src/ccmain && sed -e '/# am--include-marker/d' Makefile | make -f - am--depfiles config.status:1585: $? = 0 config.status:1580: cd src/opencl && sed -e '/# am--include-marker/d' Makefile | make -f - am--depfiles config.status:1585: $? = 0 config.status:1580: cd src/ccstruct && sed -e '/# am--include-marker/d' Makefile | make -f - am--depfiles config.status:1585: $? = 0 config.status:1580: cd src/ccutil && sed -e '/# am--include-marker/d' Makefile | make -f - am--depfiles config.status:1585: $? = 0 config.status:1580: cd src/classify && sed -e '/# am--include-marker/d' Makefile | make -f - am--depfiles config.status:1585: $? = 0 config.status:1580: cd src/cutil && sed -e '/# am--include-marker/d' Makefile | make -f - am--depfiles config.status:1585: $? = 0 config.status:1580: cd src/dict && sed -e '/# am--include-marker/d' Makefile | make -f - am--depfiles config.status:1585: $? = 0 config.status:1580: cd src/lstm && sed -e '/# am--include-marker/d' Makefile | make -f - am--depfiles config.status:1585: $? = 0 config.status:1580: cd src/textord && sed -e '/# am--include-marker/d' Makefile | make -f - am--depfiles config.status:1585: $? = 0 config.status:1580: cd src/viewer && sed -e '/# am--include-marker/d' Makefile | make -f - am--depfiles config.status:1585: $? = 0 config.status:1580: cd src/wordrec && sed -e '/# am--include-marker/d' Makefile | make -f - am--depfiles config.status:1585: $? = 0 config.status:1580: cd unittest && sed -e '/# am--include-marker/d' Makefile | make -f - am--depfiles config.status:1585: $? = 0 config.status:1580: cd src/training && sed -e '/# am--include-marker/d' Makefile | make -f - am--depfiles config.status:1585: $? = 0 config.status:1503: executing libtool commands ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=aarch64-apple-darwin22.1.0 ac_cv_c_bigendian=no ac_cv_c_compiler_gnu=yes ac_cv_cxx_compiler_gnu=yes ac_cv_env_CCC_set= ac_cv_env_CCC_value= ac_cv_env_CC_set= ac_cv_env_CC_value= ac_cv_env_CFLAGS_set= ac_cv_env_CFLAGS_value= ac_cv_env_CPPFLAGS_set=set ac_cv_env_CPPFLAGS_value=-I/opt/homebrew/opt/libarchive/include ac_cv_env_CXXCPP_set= ac_cv_env_CXXCPP_value= ac_cv_env_CXXFLAGS_set= ac_cv_env_CXXFLAGS_value= ac_cv_env_CXX_set= ac_cv_env_CXX_value= ac_cv_env_ICU_I18N_CFLAGS_set= ac_cv_env_ICU_I18N_CFLAGS_value= ac_cv_env_ICU_I18N_LIBS_set= ac_cv_env_ICU_I18N_LIBS_value= ac_cv_env_ICU_UC_CFLAGS_set= ac_cv_env_ICU_UC_CFLAGS_value= ac_cv_env_ICU_UC_LIBS_set= ac_cv_env_ICU_UC_LIBS_value= ac_cv_env_LDFLAGS_set=set ac_cv_env_LDFLAGS_value=-L/opt/homebrew/opt/libarchive/lib ac_cv_env_LEPTONICA_CFLAGS_set= ac_cv_env_LEPTONICA_CFLAGS_value= ac_cv_env_LEPTONICA_LIBS_set= ac_cv_env_LEPTONICA_LIBS_value= ac_cv_env_LIBS_set= ac_cv_env_LIBS_value= ac_cv_env_LT_SYS_LIBRARY_PATH_set= ac_cv_env_LT_SYS_LIBRARY_PATH_value= ac_cv_env_PKG_CONFIG_LIBDIR_set= ac_cv_env_PKG_CONFIG_LIBDIR_value= ac_cv_env_PKG_CONFIG_PATH_set=set ac_cv_env_PKG_CONFIG_PATH_value=/usr/local/opt/icu4c/lib/pkgconfig:/usr/local/opt/libarchive/lib/pkgconfig:/usr/local/opt/libffi/lib/pkgconfig ac_cv_env_PKG_CONFIG_set= ac_cv_env_PKG_CONFIG_value= ac_cv_env_build_alias_set= ac_cv_env_build_alias_value= ac_cv_env_cairo_CFLAGS_set= ac_cv_env_cairo_CFLAGS_value= ac_cv_env_cairo_LIBS_set= ac_cv_env_cairo_LIBS_value= ac_cv_env_host_alias_set= ac_cv_env_host_alias_value= ac_cv_env_libarchive_CFLAGS_set= ac_cv_env_libarchive_CFLAGS_value= ac_cv_env_libarchive_LIBS_set= ac_cv_env_libarchive_LIBS_value= ac_cv_env_libcurl_CFLAGS_set= ac_cv_env_libcurl_CFLAGS_value= ac_cv_env_libcurl_LIBS_set= ac_cv_env_libcurl_LIBS_value= ac_cv_env_pango_CFLAGS_set= ac_cv_env_pango_CFLAGS_value= ac_cv_env_pango_LIBS_set= ac_cv_env_pango_LIBS_value= ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_header_dlfcn_h=yes ac_cv_header_inttypes_h=yes ac_cv_header_limits_h=yes ac_cv_header_malloc_h=no ac_cv_header_stdbool_h=yes ac_cv_header_stdint_h=yes ac_cv_header_stdio_h=yes ac_cv_header_stdlib_h=yes ac_cv_header_string_h=yes ac_cv_header_strings_h=yes ac_cv_header_sys_ipc_h=yes ac_cv_header_sys_shm_h=yes ac_cv_header_sys_stat_h=yes ac_cv_header_sys_time_h=yes ac_cv_header_sys_types_h=yes ac_cv_header_sys_wait_h=yes ac_cv_header_tensorflow_core_framework_graph_pb_h=no ac_cv_header_tiffio_h=no ac_cv_header_unistd_h=yes ac_cv_host=aarch64-apple-darwin22.1.0 ac_cv_objext=o ac_cv_path_EGREP='/usr/bin/grep -E' ac_cv_path_FGREP='/usr/bin/grep -F' ac_cv_path_GREP=/usr/bin/grep ac_cv_path_SED=/opt/homebrew/bin/gsed ac_cv_path_ac_pt_PKG_CONFIG=/opt/homebrew/bin/pkg-config ac_cv_path_install='/opt/homebrew/bin/ginstall -c' ac_cv_path_lt_DD=/bin/dd ac_cv_path_mkdir=/opt/homebrew/bin/gmkdir ac_cv_prog_AWK=awk ac_cv_prog_CXXCPP='g++ -E' ac_cv_prog_ac_ct_AR=ar ac_cv_prog_ac_ct_CC=gcc ac_cv_prog_ac_ct_CXX=g++ ac_cv_prog_ac_ct_DSYMUTIL=dsymutil ac_cv_prog_ac_ct_FILECMD=file ac_cv_prog_ac_ct_LIPO=lipo ac_cv_prog_ac_ct_NMEDIT=nmedit ac_cv_prog_ac_ct_OBJDUMP=objdump ac_cv_prog_ac_ct_OTOOL=otool ac_cv_prog_ac_ct_RANLIB=ranlib ac_cv_prog_ac_ct_STRIP=strip ac_cv_prog_cc_c11= ac_cv_prog_cc_g=yes ac_cv_prog_cc_stdc= ac_cv_prog_cxx_11=no ac_cv_prog_cxx_g=yes ac_cv_prog_cxx_openmp=unsupported ac_cv_prog_cxx_stdcxx= ac_cv_prog_have_asciidoc=true ac_cv_prog_have_xsltproc=true ac_cv_prog_make_make_set=yes ac_cv_search_pthread_create='none required' ac_cv_type__Bool=no ac_cv_type_long_long_int=yes ac_cv_type_mbstate_t=yes ac_cv_type_off_t=yes ac_cv_type_wchar_t=yes am_cv_CC_dependencies_compiler_type=gcc3 am_cv_CXX_dependencies_compiler_type=gcc3 am_cv_make_support_nested_variables=yes am_cv_prog_cc_c_o=yes ax_cv_check_cxxflags___Werror_unused_command_line_argument=yes ax_cv_check_cxxflags__march_native=no ax_cv_check_cxxflags__mavx2=no ax_cv_check_cxxflags__mavx=no ax_cv_check_cxxflags__mfma=no ax_cv_check_cxxflags__msse4_1=no ax_cv_check_cxxflags__std_cpp11=yes ax_cv_check_cxxflags__std_cpp14=yes ax_cv_check_cxxflags__std_cpp17=yes lt_cv_apple_cc_single_mod=yes lt_cv_ar_at_file=no lt_cv_deplibs_check_method=pass_all lt_cv_file_magic_cmd='$MAGIC_CMD' lt_cv_file_magic_test_file= lt_cv_ld_exported_symbols_list=yes lt_cv_ld_force_load=yes lt_cv_ld_reload_flag=-r lt_cv_nm_interface='BSD nm' lt_cv_objdir=.libs lt_cv_path_LD=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld lt_cv_path_LDCXX=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld lt_cv_path_NM='/usr/bin/nm -B' lt_cv_path_mainfest_tool=no lt_cv_prog_compiler_c_o=yes lt_cv_prog_compiler_c_o_CXX=yes lt_cv_prog_compiler_pic='-fno-common -DPIC' lt_cv_prog_compiler_pic_CXX='-fno-common -DPIC' lt_cv_prog_compiler_pic_works=yes lt_cv_prog_compiler_pic_works_CXX=yes lt_cv_prog_compiler_rtti_exceptions=yes lt_cv_prog_compiler_static_works=no lt_cv_prog_compiler_static_works_CXX=no lt_cv_prog_gnu_ld=no lt_cv_prog_gnu_ldcxx=no lt_cv_sharedlib_from_linklib_cmd='printf %s\n' lt_cv_sys_global_symbol_pipe='/opt/homebrew/bin/gsed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*_\([_A-Za-z][_A-Za-z0-9]*\)$/\1 _\2 \2/p'\'' | /opt/homebrew/bin/gsed '\''/ __gnu_lto/d'\''' lt_cv_sys_global_symbol_to_c_name_address='/opt/homebrew/bin/gsed -n -e '\''s/^: \(.*\) .*$/ {"\1", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/ {"\1", (void *) \&\1},/p'\''' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='/opt/homebrew/bin/gsed -n -e '\''s/^: \(.*\) .*$/ {"\1", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(lib.*\)$/ {"\1", (void *) \&\1},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/ {"lib\1", (void *) \&\1},/p'\''' lt_cv_sys_global_symbol_to_cdecl='/opt/homebrew/bin/gsed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\''' lt_cv_sys_global_symbol_to_import= lt_cv_sys_max_cmd_len=786432 lt_cv_to_host_file_cmd=func_convert_file_noop lt_cv_to_tool_file_cmd=func_convert_file_noop lt_cv_truncate_bin='/bin/dd bs=4096 count=1' my_cv_framework_OpenCL=yes pkg_cv_ICU_I18N_CFLAGS=-I/opt/homebrew/Cellar/icu4c/72.1/include pkg_cv_ICU_I18N_LIBS='-L/opt/homebrew/Cellar/icu4c/72.1/lib -licui18n -licuuc -licudata' pkg_cv_ICU_UC_CFLAGS=-I/opt/homebrew/Cellar/icu4c/72.1/include pkg_cv_ICU_UC_LIBS='-L/opt/homebrew/Cellar/icu4c/72.1/lib -licuuc -licudata' pkg_cv_LEPTONICA_CFLAGS=-I/opt/homebrew/Cellar/leptonica/1.82.0_1/include/leptonica pkg_cv_LEPTONICA_LIBS='-L/opt/homebrew/Cellar/leptonica/1.82.0_1/lib -llept' pkg_cv_cairo_CFLAGS='-I/opt/homebrew/Cellar/cairo/1.16.0_5/include/cairo -I/opt/homebrew/Cellar/glib/2.74.6/include -I/opt/homebrew/Cellar/glib/2.74.6/include/glib-2.0 -I/opt/homebrew/Cellar/glib/2.74.6/lib/glib-2.0/include -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/Cellar/pcre2/10.42/include -I/opt/homebrew/Cellar/pixman/0.42.2/include/pixman-1 -I/opt/homebrew/Cellar/fontconfig/2.14.2/include -I/opt/homebrew/opt/freetype/include/freetype2 -I/opt/homebrew/Cellar/libpng/1.6.39/include/libpng16 -I/opt/homebrew/Cellar/libxcb/1.15_1/include -I/opt/homebrew/Cellar/libxrender/0.9.11/include -I/opt/homebrew/Cellar/libxext/1.3.5/include -I/opt/homebrew/Cellar/libx11/1.8.4/include -I/opt/homebrew/Cellar/libxcb/1.15_1/include -I/opt/homebrew/Cellar/libxau/1.0.11/include -I/opt/homebrew/Cellar/libxdmcp/1.1.4/include -I/opt/homebrew/Cellar/xorgproto/2022.2/include -I/usr/local/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/ffi' pkg_cv_cairo_LIBS='-L/opt/homebrew/Cellar/cairo/1.16.0_5/lib -lcairo' pkg_cv_libcurl_CFLAGS= pkg_cv_libcurl_LIBS=-lcurl pkg_cv_pango_CFLAGS='-I/opt/homebrew/Cellar/pango/1.50.13/include/pango-1.0 -I/opt/homebrew/Cellar/glib/2.74.6/include -I/opt/homebrew/Cellar/fribidi/1.0.12/include/fribidi -I/opt/homebrew/Cellar/cairo/1.16.0_5/include/cairo -I/opt/homebrew/Cellar/pixman/0.42.2/include/pixman-1 -I/opt/homebrew/Cellar/fontconfig/2.14.2/include -I/opt/homebrew/Cellar/libpng/1.6.39/include/libpng16 -I/opt/homebrew/Cellar/libxcb/1.15_1/include -I/opt/homebrew/Cellar/libxrender/0.9.11/include -I/opt/homebrew/Cellar/libxext/1.3.5/include -I/opt/homebrew/Cellar/libx11/1.8.4/include -I/opt/homebrew/Cellar/libxcb/1.15_1/include -I/opt/homebrew/Cellar/libxau/1.0.11/include -I/opt/homebrew/Cellar/libxdmcp/1.1.4/include -I/opt/homebrew/Cellar/glib/2.74.6/include -I/opt/homebrew/Cellar/harfbuzz/7.0.1/include/harfbuzz -I/opt/homebrew/opt/freetype/include/freetype2 -I/opt/homebrew/Cellar/glib/2.74.6/include/glib-2.0 -I/opt/homebrew/Cellar/glib/2.74.6/lib/glib-2.0/include -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/Cellar/pcre2/10.42/include -I/opt/homebrew/Cellar/graphite2/1.3.14/include -I/opt/homebrew/Cellar/xorgproto/2022.2/include -I/usr/local/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/ffi' pkg_cv_pango_LIBS='-L/opt/homebrew/Cellar/pango/1.50.13/lib -L/opt/homebrew/Cellar/glib/2.74.6/lib -L/opt/homebrew/opt/gettext/lib -L/opt/homebrew/Cellar/harfbuzz/7.0.1/lib -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lintl -lharfbuzz' ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='${SHELL} '\''/Users/guojianheng/Desktop/tesseract-4.1.1/config/missing'\'' aclocal-1.16' ADD_RT_FALSE='' ADD_RT_TRUE='#' AMDEPBACKSLASH='\' AMDEP_FALSE='#' AMDEP_TRUE='' AMTAR='$${TAR-tar}' AM_BACKSLASH='\' AM_CPPFLAGS=' -O2 -DNDEBUG' AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' AM_DEFAULT_VERBOSITY='1' AM_LDFLAGS='' AM_V='$(V)' AR='ar' ASCIIDOC_FALSE='#' ASCIIDOC_TRUE='' AUTOCONF='${SHELL} '\''/Users/guojianheng/Desktop/tesseract-4.1.1/config/missing'\'' autoconf' AUTOHEADER='${SHELL} '\''/Users/guojianheng/Desktop/tesseract-4.1.1/config/missing'\'' autoheader' AUTOMAKE='${SHELL} '\''/Users/guojianheng/Desktop/tesseract-4.1.1/config/missing'\'' automake-1.16' AVX2_OPT_FALSE='' AVX2_OPT_TRUE='#' AVX_OPT_FALSE='' AVX_OPT_TRUE='#' AWK='awk' CC='gcc' CCDEPMODE='depmode=gcc3' CFLAGS='-g -O2' CPPFLAGS='-I/opt/homebrew/opt/libarchive/include -I/opt/homebrew/Cellar/leptonica/1.82.0_1/include/leptonica -I/opt/homebrew/Cellar/icu4c/72.1/include -I/opt/homebrew/Cellar/icu4c/72.1/include -I/opt/homebrew/Cellar/pango/1.50.13/include/pango-1.0 -I/opt/homebrew/Cellar/glib/2.74.6/include -I/opt/homebrew/Cellar/fribidi/1.0.12/include/fribidi -I/opt/homebrew/Cellar/cairo/1.16.0_5/include/cairo -I/opt/homebrew/Cellar/pixman/0.42.2/include/pixman-1 -I/opt/homebrew/Cellar/fontconfig/2.14.2/include -I/opt/homebrew/Cellar/libpng/1.6.39/include/libpng16 -I/opt/homebrew/Cellar/libxcb/1.15_1/include -I/opt/homebrew/Cellar/libxrender/0.9.11/include -I/opt/homebrew/Cellar/libxext/1.3.5/include -I/opt/homebrew/Cellar/libx11/1.8.4/include -I/opt/homebrew/Cellar/libxcb/1.15_1/include -I/opt/homebrew/Cellar/libxau/1.0.11/include -I/opt/homebrew/Cellar/libxdmcp/1.1.4/include -I/opt/homebrew/Cellar/glib/2.74.6/include -I/opt/homebrew/Cellar/harfbuzz/7.0.1/include/harfbuzz -I/opt/homebrew/opt/freetype/include/freetype2 -I/opt/homebrew/Cellar/glib/2.74.6/include/glib-2.0 -I/opt/homebrew/Cellar/glib/2.74.6/lib/glib-2.0/include -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/Cellar/pcre2/10.42/include -I/opt/homebrew/Cellar/graphite2/1.3.14/include -I/opt/homebrew/Cellar/xorgproto/2022.2/include -I/usr/local/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/ffi -I/opt/homebrew/Cellar/cairo/1.16.0_5/include/cairo -I/opt/homebrew/Cellar/glib/2.74.6/include -I/opt/homebrew/Cellar/glib/2.74.6/include/glib-2.0 -I/opt/homebrew/Cellar/glib/2.74.6/lib/glib-2.0/include -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/Cellar/pcre2/10.42/include -I/opt/homebrew/Cellar/pixman/0.42.2/include/pixman-1 -I/opt/homebrew/Cellar/fontconfig/2.14.2/include -I/opt/homebrew/opt/freetype/include/freetype2 -I/opt/homebrew/Cellar/libpng/1.6.39/include/libpng16 -I/opt/homebrew/Cellar/libxcb/1.15_1/include -I/opt/homebrew/Cellar/libxrender/0.9.11/include -I/opt/homebrew/Cellar/libxext/1.3.5/include -I/opt/homebrew/Cellar/libx11/1.8.4/include -I/opt/homebrew/Cellar/libxcb/1.15_1/include -I/opt/homebrew/Cellar/libxau/1.0.11/include -I/opt/homebrew/Cellar/libxdmcp/1.1.4/include -I/opt/homebrew/Cellar/xorgproto/2022.2/include -I/usr/local/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/ffi' CSCOPE='cscope' CTAGS='ctags' CXX='g++' CXXCPP='g++ -E' CXXDEPMODE='depmode=gcc3' CXXFLAGS='-g -O2 -std=c++17' CYGPATH_W='echo' DEFS='-DHAVE_CONFIG_H' DEPDIR='.deps' DISABLED_LEGACY_ENGINE_FALSE='' DISABLED_LEGACY_ENGINE_TRUE='#' DLLTOOL='false' DSYMUTIL='dsymutil' DUMPBIN='' ECHO_C='\c' ECHO_N='' ECHO_T='' EGREP='/usr/bin/grep -E' ENABLE_TRAINING_FALSE='#' ENABLE_TRAINING_TRUE='' ETAGS='etags' EXEEXT='' FGREP='/usr/bin/grep -F' FILECMD='file' FMA_OPT_FALSE='' FMA_OPT_TRUE='#' FRAMEWORK_OPENCL='-framework OpenCL' GENERIC_API_VERSION='4.1' GENERIC_LIBRARY_NAME='tesseract' GENERIC_LIBRARY_VERSION='4:1' GENERIC_MAJOR_VERSION='4' GENERIC_MICRO_VERSION='1' GENERIC_MINOR_VERSION='1' GENERIC_RELEASE='4.1' GENERIC_VERSION='4.1.1' GRAPHICS_DISABLED_FALSE='' GRAPHICS_DISABLED_TRUE='#' GREP='/usr/bin/grep' HAVE_LIBARCHIVE_FALSE='' HAVE_LIBARCHIVE_TRUE='#' HAVE_LIBCURL_FALSE='#' HAVE_LIBCURL_TRUE='' ICU_I18N_CFLAGS='-I/opt/homebrew/Cellar/icu4c/72.1/include' ICU_I18N_LIBS='-L/opt/homebrew/Cellar/icu4c/72.1/lib -licui18n -licuuc -licudata' ICU_UC_CFLAGS='-I/opt/homebrew/Cellar/icu4c/72.1/include' ICU_UC_LIBS='-L/opt/homebrew/Cellar/icu4c/72.1/lib -licuuc -licudata' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' LD='/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld' LDFLAGS='-L/opt/homebrew/opt/libarchive/lib' LEPTONICA_CFLAGS='-I/opt/homebrew/Cellar/leptonica/1.82.0_1/include/leptonica' LEPTONICA_LIBS='-L/opt/homebrew/Cellar/leptonica/1.82.0_1/lib -llept' LIBOBJS='' LIBS='' LIBTOOL='$(SHELL) $(top_builddir)/libtool' LIPO='lipo' LN_S='ln -s' LTLIBOBJS='' LT_SYS_LIBRARY_PATH='' MAKEINFO='${SHELL} '\''/Users/guojianheng/Desktop/tesseract-4.1.1/config/missing'\'' makeinfo' MANIFEST_TOOL=':' MARCH_NATIVE_OPT_FALSE='' MARCH_NATIVE_OPT_TRUE='#' MKDIR_P='/opt/homebrew/bin/gmkdir -p' NM='/usr/bin/nm -B' NMEDIT='nmedit' NOUNDEFINED='' NO_TESSDATA_PREFIX_FALSE='' NO_TESSDATA_PREFIX_TRUE='#' OBJDUMP='objdump' OBJEXT='o' OPENCL_CPPFLAGS='' OPENCL_LDFLAGS='' OPENMP_CXXFLAGS='' OSX_FALSE='' OSX_TRUE='#' OTOOL64=':' OTOOL='otool' PACKAGE='tesseract' PACKAGE_BUGREPORT='https://github.com/tesseract-ocr/tesseract/issues' PACKAGE_DATE='12/27' PACKAGE_NAME='tesseract' PACKAGE_STRING='tesseract 4.1.1' PACKAGE_TARNAME='tesseract' PACKAGE_URL='https://github.com/tesseract-ocr/tesseract/' PACKAGE_VERSION='4.1.1' PACKAGE_YEAR='2019' PATH_SEPARATOR=':' PKG_CONFIG='/opt/homebrew/bin/pkg-config' PKG_CONFIG_LIBDIR='' PKG_CONFIG_PATH='/usr/local/opt/icu4c/lib/pkgconfig:/usr/local/opt/libarchive/lib/pkgconfig:/usr/local/opt/libffi/lib/pkgconfig' RANLIB='ranlib' SED='/opt/homebrew/bin/gsed' SET_MAKE='' SHELL='/bin/sh' SSE41_OPT_FALSE='' SSE41_OPT_TRUE='#' STRIP='strip' TENSORFLOW_FALSE='' TENSORFLOW_LIBS='' TENSORFLOW_TRUE='#' T_WIN_FALSE='' T_WIN_TRUE='#' USE_OPENCL_FALSE='' USE_OPENCL_TRUE='#' VERSION='4.1.1' VISIBILITY_FALSE='' VISIBILITY_TRUE='#' ac_ct_AR='ar' ac_ct_CC='gcc' ac_ct_CXX='g++' ac_ct_DUMPBIN='' am__EXEEXT_FALSE='' am__EXEEXT_TRUE='#' am__fastdepCC_FALSE='#' am__fastdepCC_TRUE='' am__fastdepCXX_FALSE='#' am__fastdepCXX_TRUE='' am__include='include' am__isrc=' -I$(srcdir)' am__leading_dot='.' am__nodep='_no' am__quote='' am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' bindir='${exec_prefix}/bin' build='aarch64-apple-darwin22.1.0' build_alias='' build_cpu='aarch64' build_os='darwin22.1.0' build_vendor='apple' cairo_CFLAGS='-I/opt/homebrew/Cellar/cairo/1.16.0_5/include/cairo -I/opt/homebrew/Cellar/glib/2.74.6/include -I/opt/homebrew/Cellar/glib/2.74.6/include/glib-2.0 -I/opt/homebrew/Cellar/glib/2.74.6/lib/glib-2.0/include -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/Cellar/pcre2/10.42/include -I/opt/homebrew/Cellar/pixman/0.42.2/include/pixman-1 -I/opt/homebrew/Cellar/fontconfig/2.14.2/include -I/opt/homebrew/opt/freetype/include/freetype2 -I/opt/homebrew/Cellar/libpng/1.6.39/include/libpng16 -I/opt/homebrew/Cellar/libxcb/1.15_1/include -I/opt/homebrew/Cellar/libxrender/0.9.11/include -I/opt/homebrew/Cellar/libxext/1.3.5/include -I/opt/homebrew/Cellar/libx11/1.8.4/include -I/opt/homebrew/Cellar/libxcb/1.15_1/include -I/opt/homebrew/Cellar/libxau/1.0.11/include -I/opt/homebrew/Cellar/libxdmcp/1.1.4/include -I/opt/homebrew/Cellar/xorgproto/2022.2/include -I/usr/local/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/ffi' cairo_LIBS='-L/opt/homebrew/Cellar/cairo/1.16.0_5/lib -lcairo' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' exec_prefix='${prefix}' have_asciidoc='true' have_xsltproc='true' host='aarch64-apple-darwin22.1.0' host_alias='' host_cpu='aarch64' host_os='darwin22.1.0' host_vendor='apple' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' install_sh='${SHELL} /Users/guojianheng/Desktop/tesseract-4.1.1/config/install-sh' libarchive_CFLAGS='' libarchive_LIBS='' libcurl_CFLAGS='' libcurl_LIBS='-lcurl' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='${prefix}/var' mandir='${datarootdir}/man' mkdir_p='$(MKDIR_P)' oldincludedir='/usr/include' pango_CFLAGS='-I/opt/homebrew/Cellar/pango/1.50.13/include/pango-1.0 -I/opt/homebrew/Cellar/glib/2.74.6/include -I/opt/homebrew/Cellar/fribidi/1.0.12/include/fribidi -I/opt/homebrew/Cellar/cairo/1.16.0_5/include/cairo -I/opt/homebrew/Cellar/pixman/0.42.2/include/pixman-1 -I/opt/homebrew/Cellar/fontconfig/2.14.2/include -I/opt/homebrew/Cellar/libpng/1.6.39/include/libpng16 -I/opt/homebrew/Cellar/libxcb/1.15_1/include -I/opt/homebrew/Cellar/libxrender/0.9.11/include -I/opt/homebrew/Cellar/libxext/1.3.5/include -I/opt/homebrew/Cellar/libx11/1.8.4/include -I/opt/homebrew/Cellar/libxcb/1.15_1/include -I/opt/homebrew/Cellar/libxau/1.0.11/include -I/opt/homebrew/Cellar/libxdmcp/1.1.4/include -I/opt/homebrew/Cellar/glib/2.74.6/include -I/opt/homebrew/Cellar/harfbuzz/7.0.1/include/harfbuzz -I/opt/homebrew/opt/freetype/include/freetype2 -I/opt/homebrew/Cellar/glib/2.74.6/include/glib-2.0 -I/opt/homebrew/Cellar/glib/2.74.6/lib/glib-2.0/include -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/Cellar/pcre2/10.42/include -I/opt/homebrew/Cellar/graphite2/1.3.14/include -I/opt/homebrew/Cellar/xorgproto/2022.2/include -I/usr/local/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/ffi' pango_LIBS='-L/opt/homebrew/Cellar/pango/1.50.13/lib -L/opt/homebrew/Cellar/glib/2.74.6/lib -L/opt/homebrew/opt/gettext/lib -L/opt/homebrew/Cellar/harfbuzz/7.0.1/lib -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lintl -lharfbuzz' pdfdir='${docdir}' prefix='/usr/local' program_transform_name='s,x,x,' psdir='${docdir}' runstatedir='${localstatedir}/run' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target_alias='' ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "tesseract" #define PACKAGE_TARNAME "tesseract" #define PACKAGE_VERSION "4.1.1" #define PACKAGE_STRING "tesseract 4.1.1" #define PACKAGE_BUGREPORT "https://github.com/tesseract-ocr/tesseract/issues" #define PACKAGE_URL "https://github.com/tesseract-ocr/tesseract/" #define PACKAGE "tesseract" #define VERSION "4.1.1" #define PACKAGE_NAME "tesseract" #define PACKAGE_VERSION "4.1.1" #define PACKAGE_YEAR "2019" #define PACKAGE_DATE "12/27" #define HAVE_STDIO_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STRING_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_STRINGS_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_UNISTD_H 1 #define HAVE_SYS_TIME_H 1 #define STDC_HEADERS 1 #define HAVE_FRAMEWORK_OPENCL 1 #define HAVE_DLFCN_H 1 #define LT_OBJDIR ".libs/" #define TIME_WITH_SYS_TIME 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_LIMITS_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_WCHAR_T 1 #define HAVE_LONG_LONG_INT 1 #define HAVE_OFF_T 1 #define HAVE_MBSTATE_T 1 configure: exit 0