Ticket #55394: config.log

File config.log, 68.4 KB (added by cvdenzen, 6 years ago)

logfile with error message

Line 
1This file contains any messages produced by compilers while
2running configure, to aid debugging if configure makes a mistake.
3
4It was created by tesseract configure 3.04.01, which was
5generated by GNU Autoconf 2.69.  Invocation command line was
6
7  $ ./configure --prefix=/opt/local
8
9## --------- ##
10## Platform. ##
11## --------- ##
12
13hostname = imac3.vandenzen.nl.home
14uname -m = x86_64
15uname -r = 17.2.0
16uname -s = Darwin
17uname -v = Darwin Kernel Version 17.2.0: Fri Sep 29 18:27:05 PDT 2017; root:xnu-4570.20.62~3/RELEASE_X86_64
18
19/usr/bin/uname -p = i386
20/bin/uname -X     = unknown
21
22/bin/arch              = unknown
23/usr/bin/arch -k       = unknown
24/usr/convex/getsysinfo = unknown
25/usr/bin/hostinfo      = Mach kernel version:
26         Darwin Kernel Version 17.2.0: Fri Sep 29 18:27:05 PDT 2017; root:xnu-4570.20.62~3/RELEASE_X86_64
27Kernel configured for up to 4 processors.
284 processors are physically available.
294 processors are logically available.
30Processor type: x86_64h (Intel x86-64h Haswell)
31Processors active: 0 1 2 3
32Primary memory available: 16.00 gigabytes
33Default processor set: 335 tasks, 1491 threads, 4 processors
34Load average: 9.71, Mach factor: 1.04
35/bin/machine           = unknown
36/usr/bin/oslevel       = unknown
37/bin/universe          = unknown
38
39PATH: /opt/local/bin
40PATH: /opt/local/sbin
41PATH: /bin
42PATH: /sbin
43PATH: /usr/bin
44PATH: /usr/sbin
45
46
47## ----------- ##
48## Core tests. ##
49## ----------- ##
50
51configure:2647: checking for C++ compiler version
52configure:2656: /usr/bin/clang++ --version >&5
53Apple LLVM version 9.0.0 (clang-900.0.38)
54Target: x86_64-apple-darwin17.2.0
55Thread model: posix
56InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
57configure:2667: $? = 0
58configure:2656: /usr/bin/clang++ -v >&5
59Apple LLVM version 9.0.0 (clang-900.0.38)
60Target: x86_64-apple-darwin17.2.0
61Thread model: posix
62InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
63configure:2667: $? = 0
64configure:2656: /usr/bin/clang++ -V >&5
65clang: error: argument to '-V' is missing (expected 1 value)
66clang: error: no input files
67configure:2667: $? = 1
68configure:2656: /usr/bin/clang++ -qversion >&5
69clang: error: unknown argument: '-qversion'
70clang: error: no input files
71configure:2667: $? = 1
72configure:2687: checking whether the C++ compiler works
73configure:2709: /usr/bin/clang++ -pipe -Os -stdlib=libc++ -arch x86_64 -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.cpp  >&5
74configure:2713: $? = 0
75configure:2761: result: yes
76configure:2764: checking for C++ compiler default output file name
77configure:2766: result: a.out
78configure:2772: checking for suffix of executables
79configure:2779: /usr/bin/clang++ -o conftest -pipe -Os -stdlib=libc++ -arch x86_64 -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.cpp  >&5
80configure:2783: $? = 0
81configure:2805: result:
82configure:2827: checking whether we are cross compiling
83configure:2835: /usr/bin/clang++ -o conftest -pipe -Os -stdlib=libc++ -arch x86_64 -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.cpp  >&5
84configure:2839: $? = 0
85configure:2846: ./conftest
86configure:2850: $? = 0
87configure:2865: result: no
88configure:2870: checking for suffix of object files
89configure:2892: /usr/bin/clang++ -c -pipe -Os -stdlib=libc++ -arch x86_64 -I/opt/local/include conftest.cpp >&5
90configure:2896: $? = 0
91configure:2917: result: o
92configure:2921: checking whether we are using the GNU C++ compiler
93configure:2940: /usr/bin/clang++ -c -pipe -Os -stdlib=libc++ -arch x86_64 -I/opt/local/include conftest.cpp >&5
94configure:2940: $? = 0
95configure:2949: result: yes
96configure:2958: checking whether /usr/bin/clang++ accepts -g
97configure:2978: /usr/bin/clang++ -c -g -I/opt/local/include conftest.cpp >&5
98configure:2978: $? = 0
99configure:3019: result: yes
100configure:3192: checking for a BSD-compatible install
101configure:3260: result: /usr/bin/install -c
102configure:3271: checking whether build environment is sane
103configure:3326: result: yes
104configure:3477: checking for a thread-safe mkdir -p
105configure:3516: result: config/install-sh -c -d
106configure:3523: checking for gawk
107configure:3553: result: no
108configure:3523: checking for mawk
109configure:3553: result: no
110configure:3523: checking for nawk
111configure:3553: result: no
112configure:3523: checking for awk
113configure:3539: found /usr/bin/awk
114configure:3550: result: awk
115configure:3561: checking whether make sets $(MAKE)
116configure:3583: result: yes
117configure:3613: checking for style of include used by make
118configure:3641: result: GNU
119configure:3675: checking whether make supports nested variables
120configure:3692: result: yes
121configure:3777: checking dependency style of /usr/bin/clang++
122configure:3888: result: gcc3
123configure:3907: checking whether to enable maintainer-specific portions of Makefiles
124configure:3916: result: no
125configure:3975: checking build system type
126configure:3989: result: x86_64-apple-darwin17.2.0
127configure:4009: checking host system type
128configure:4022: result: x86_64-apple-darwin17.2.0
129configure:4159: checking --enable-graphics argument
130configure:4168: result: yes
131configure:4185: checking whether to disable cube
132configure:4194: result: no
133configure:4210: checking --enable-embedded argument
134configure:4219: result: no
135configure:4251: checking for /usr/bin/clang++ option to support OpenMP
136configure:4266: /usr/bin/clang++ -o conftest -pipe -Os -stdlib=libc++ -arch x86_64 -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.cpp  >&5
137conftest.cpp:17:2: error: unknown type name 'choke'
138 choke me
139 ^
140conftest.cpp:19:10: fatal error: 'omp.h' file not found
141#include <omp.h>
142         ^~~~~~~
1432 errors generated.
144configure:4266: $? = 1
145configure: failed program was:
146| /* confdefs.h */
147| #define PACKAGE_NAME "tesseract"
148| #define PACKAGE_TARNAME "tesseract"
149| #define PACKAGE_VERSION "3.04.01"
150| #define PACKAGE_STRING "tesseract 3.04.01"
151| #define PACKAGE_BUGREPORT "https://github.com/tesseract-ocr/tesseract/issues"
152| #define PACKAGE_URL ""
153| #define PACKAGE_NAME "tesseract"
154| #define PACKAGE_VERSION "3.04.01"
155| #define PACKAGE_YEAR "2016"
156| #define PACKAGE_DATE "02/12"
157| #define PACKAGE "tesseract"
158| #define VERSION "3.04.01"
159| /* end confdefs.h.  */
160|
161| #ifndef _OPENMP
162|  choke me
163| #endif
164| #include <omp.h>
165| int main () { return omp_get_num_threads (); }
166|
167configure:4284: /usr/bin/clang++ -o conftest -pipe -Os -stdlib=libc++ -arch x86_64 -fopenmp -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.cpp  >&5
168clang: error: unsupported option '-fopenmp'
169clang: error: unsupported option '-fopenmp'
170configure:4284: $? = 1
171configure: failed program was:
172| /* confdefs.h */
173| #define PACKAGE_NAME "tesseract"
174| #define PACKAGE_TARNAME "tesseract"
175| #define PACKAGE_VERSION "3.04.01"
176| #define PACKAGE_STRING "tesseract 3.04.01"
177| #define PACKAGE_BUGREPORT "https://github.com/tesseract-ocr/tesseract/issues"
178| #define PACKAGE_URL ""
179| #define PACKAGE_NAME "tesseract"
180| #define PACKAGE_VERSION "3.04.01"
181| #define PACKAGE_YEAR "2016"
182| #define PACKAGE_DATE "02/12"
183| #define PACKAGE "tesseract"
184| #define VERSION "3.04.01"
185| /* end confdefs.h.  */
186|
187| #ifndef _OPENMP
188|  choke me
189| #endif
190| #include <omp.h>
191| int main () { return omp_get_num_threads (); }
192|
193configure:4284: /usr/bin/clang++ -o conftest -pipe -Os -stdlib=libc++ -arch x86_64 -xopenmp -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.cpp  >&5
194clang: error: language not recognized: 'openmp'
195configure:4284: $? = 1
196configure: failed program was:
197| /* confdefs.h */
198| #define PACKAGE_NAME "tesseract"
199| #define PACKAGE_TARNAME "tesseract"
200| #define PACKAGE_VERSION "3.04.01"
201| #define PACKAGE_STRING "tesseract 3.04.01"
202| #define PACKAGE_BUGREPORT "https://github.com/tesseract-ocr/tesseract/issues"
203| #define PACKAGE_URL ""
204| #define PACKAGE_NAME "tesseract"
205| #define PACKAGE_VERSION "3.04.01"
206| #define PACKAGE_YEAR "2016"
207| #define PACKAGE_DATE "02/12"
208| #define PACKAGE "tesseract"
209| #define VERSION "3.04.01"
210| /* end confdefs.h.  */
211|
212| #ifndef _OPENMP
213|  choke me
214| #endif
215| #include <omp.h>
216| int main () { return omp_get_num_threads (); }
217|
218configure:4284: /usr/bin/clang++ -o conftest -pipe -Os -stdlib=libc++ -arch x86_64 -openmp -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.cpp  >&5
219conftest.cpp:17:2: error: unknown type name 'choke'
220 choke me
221 ^
222conftest.cpp:19:10: fatal error: 'omp.h' file not found
223#include <omp.h>
224         ^~~~~~~
2252 errors generated.
226configure:4284: $? = 1
227configure: failed program was:
228| /* confdefs.h */
229| #define PACKAGE_NAME "tesseract"
230| #define PACKAGE_TARNAME "tesseract"
231| #define PACKAGE_VERSION "3.04.01"
232| #define PACKAGE_STRING "tesseract 3.04.01"
233| #define PACKAGE_BUGREPORT "https://github.com/tesseract-ocr/tesseract/issues"
234| #define PACKAGE_URL ""
235| #define PACKAGE_NAME "tesseract"
236| #define PACKAGE_VERSION "3.04.01"
237| #define PACKAGE_YEAR "2016"
238| #define PACKAGE_DATE "02/12"
239| #define PACKAGE "tesseract"
240| #define VERSION "3.04.01"
241| /* end confdefs.h.  */
242|
243| #ifndef _OPENMP
244|  choke me
245| #endif
246| #include <omp.h>
247| int main () { return omp_get_num_threads (); }
248|
249configure:4284: /usr/bin/clang++ -o conftest -pipe -Os -stdlib=libc++ -arch x86_64 -mp -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.cpp  >&5
250clang: error: unknown argument: '-mp'
251configure:4284: $? = 1
252configure: failed program was:
253| /* confdefs.h */
254| #define PACKAGE_NAME "tesseract"
255| #define PACKAGE_TARNAME "tesseract"
256| #define PACKAGE_VERSION "3.04.01"
257| #define PACKAGE_STRING "tesseract 3.04.01"
258| #define PACKAGE_BUGREPORT "https://github.com/tesseract-ocr/tesseract/issues"
259| #define PACKAGE_URL ""
260| #define PACKAGE_NAME "tesseract"
261| #define PACKAGE_VERSION "3.04.01"
262| #define PACKAGE_YEAR "2016"
263| #define PACKAGE_DATE "02/12"
264| #define PACKAGE "tesseract"
265| #define VERSION "3.04.01"
266| /* end confdefs.h.  */
267|
268| #ifndef _OPENMP
269|  choke me
270| #endif
271| #include <omp.h>
272| int main () { return omp_get_num_threads (); }
273|
274configure:4284: /usr/bin/clang++ -o conftest -pipe -Os -stdlib=libc++ -arch x86_64 -omp -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.cpp  >&5
275conftest.cpp:17:2: error: unknown type name 'choke'
276 choke me
277 ^
278conftest.cpp:19:10: fatal error: 'omp.h' file not found
279#include <omp.h>
280         ^~~~~~~
2812 errors generated.
282configure:4284: $? = 1
283configure: failed program was:
284| /* confdefs.h */
285| #define PACKAGE_NAME "tesseract"
286| #define PACKAGE_TARNAME "tesseract"
287| #define PACKAGE_VERSION "3.04.01"
288| #define PACKAGE_STRING "tesseract 3.04.01"
289| #define PACKAGE_BUGREPORT "https://github.com/tesseract-ocr/tesseract/issues"
290| #define PACKAGE_URL ""
291| #define PACKAGE_NAME "tesseract"
292| #define PACKAGE_VERSION "3.04.01"
293| #define PACKAGE_YEAR "2016"
294| #define PACKAGE_DATE "02/12"
295| #define PACKAGE "tesseract"
296| #define VERSION "3.04.01"
297| /* end confdefs.h.  */
298|
299| #ifndef _OPENMP
300|  choke me
301| #endif
302| #include <omp.h>
303| int main () { return omp_get_num_threads (); }
304|
305configure:4284: /usr/bin/clang++ -o conftest -pipe -Os -stdlib=libc++ -arch x86_64 -qsmp=omp -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.cpp  >&5
306clang: error: unknown argument: '-qsmp=omp'
307configure:4284: $? = 1
308configure: failed program was:
309| /* confdefs.h */
310| #define PACKAGE_NAME "tesseract"
311| #define PACKAGE_TARNAME "tesseract"
312| #define PACKAGE_VERSION "3.04.01"
313| #define PACKAGE_STRING "tesseract 3.04.01"
314| #define PACKAGE_BUGREPORT "https://github.com/tesseract-ocr/tesseract/issues"
315| #define PACKAGE_URL ""
316| #define PACKAGE_NAME "tesseract"
317| #define PACKAGE_VERSION "3.04.01"
318| #define PACKAGE_YEAR "2016"
319| #define PACKAGE_DATE "02/12"
320| #define PACKAGE "tesseract"
321| #define VERSION "3.04.01"
322| /* end confdefs.h.  */
323|
324| #ifndef _OPENMP
325|  choke me
326| #endif
327| #include <omp.h>
328| int main () { return omp_get_num_threads (); }
329|
330configure:4284: /usr/bin/clang++ -o conftest -pipe -Os -stdlib=libc++ -arch x86_64 -homp -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.cpp  >&5
331clang: error: unknown argument: '-homp'
332configure:4284: $? = 1
333configure: failed program was:
334| /* confdefs.h */
335| #define PACKAGE_NAME "tesseract"
336| #define PACKAGE_TARNAME "tesseract"
337| #define PACKAGE_VERSION "3.04.01"
338| #define PACKAGE_STRING "tesseract 3.04.01"
339| #define PACKAGE_BUGREPORT "https://github.com/tesseract-ocr/tesseract/issues"
340| #define PACKAGE_URL ""
341| #define PACKAGE_NAME "tesseract"
342| #define PACKAGE_VERSION "3.04.01"
343| #define PACKAGE_YEAR "2016"
344| #define PACKAGE_DATE "02/12"
345| #define PACKAGE "tesseract"
346| #define VERSION "3.04.01"
347| /* end confdefs.h.  */
348|
349| #ifndef _OPENMP
350|  choke me
351| #endif
352| #include <omp.h>
353| int main () { return omp_get_num_threads (); }
354|
355configure:4284: /usr/bin/clang++ -o conftest -pipe -Os -stdlib=libc++ -arch x86_64 -Popenmp -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.cpp  >&5
356clang: error: unknown argument: '-Popenmp'
357configure:4284: $? = 1
358configure: failed program was:
359| /* confdefs.h */
360| #define PACKAGE_NAME "tesseract"
361| #define PACKAGE_TARNAME "tesseract"
362| #define PACKAGE_VERSION "3.04.01"
363| #define PACKAGE_STRING "tesseract 3.04.01"
364| #define PACKAGE_BUGREPORT "https://github.com/tesseract-ocr/tesseract/issues"
365| #define PACKAGE_URL ""
366| #define PACKAGE_NAME "tesseract"
367| #define PACKAGE_VERSION "3.04.01"
368| #define PACKAGE_YEAR "2016"
369| #define PACKAGE_DATE "02/12"
370| #define PACKAGE "tesseract"
371| #define VERSION "3.04.01"
372| /* end confdefs.h.  */
373|
374| #ifndef _OPENMP
375|  choke me
376| #endif
377| #include <omp.h>
378| int main () { return omp_get_num_threads (); }
379|
380configure:4284: /usr/bin/clang++ -o conftest -pipe -Os -stdlib=libc++ -arch x86_64 --openmp -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.cpp  >&5
381clang: error: unsupported option '--openmp'
382configure:4284: $? = 1
383configure: failed program was:
384| /* confdefs.h */
385| #define PACKAGE_NAME "tesseract"
386| #define PACKAGE_TARNAME "tesseract"
387| #define PACKAGE_VERSION "3.04.01"
388| #define PACKAGE_STRING "tesseract 3.04.01"
389| #define PACKAGE_BUGREPORT "https://github.com/tesseract-ocr/tesseract/issues"
390| #define PACKAGE_URL ""
391| #define PACKAGE_NAME "tesseract"
392| #define PACKAGE_VERSION "3.04.01"
393| #define PACKAGE_YEAR "2016"
394| #define PACKAGE_DATE "02/12"
395| #define PACKAGE "tesseract"
396| #define VERSION "3.04.01"
397| /* end confdefs.h.  */
398|
399| #ifndef _OPENMP
400|  choke me
401| #endif
402| #include <omp.h>
403| int main () { return omp_get_num_threads (); }
404|
405configure:4298: result: unsupported
406configure:4328: checking --enable-opencl argument
407configure:4337: result: no
408configure:4346: checking how to run the C++ preprocessor
409configure:4373: /usr/bin/clang++ -E -I/opt/local/include conftest.cpp
410configure:4373: $? = 0
411configure:4387: /usr/bin/clang++ -E -I/opt/local/include conftest.cpp
412conftest.cpp:15:10: fatal error: 'ac_nonexistent.h' file not found
413#include <ac_nonexistent.h>
414         ^~~~~~~~~~~~~~~~~~
4151 error generated.
416configure:4387: $? = 1
417configure: failed program was:
418| /* confdefs.h */
419| #define PACKAGE_NAME "tesseract"
420| #define PACKAGE_TARNAME "tesseract"
421| #define PACKAGE_VERSION "3.04.01"
422| #define PACKAGE_STRING "tesseract 3.04.01"
423| #define PACKAGE_BUGREPORT "https://github.com/tesseract-ocr/tesseract/issues"
424| #define PACKAGE_URL ""
425| #define PACKAGE_NAME "tesseract"
426| #define PACKAGE_VERSION "3.04.01"
427| #define PACKAGE_YEAR "2016"
428| #define PACKAGE_DATE "02/12"
429| #define PACKAGE "tesseract"
430| #define VERSION "3.04.01"
431| /* end confdefs.h.  */
432| #include <ac_nonexistent.h>
433configure:4412: result: /usr/bin/clang++ -E
434configure:4432: /usr/bin/clang++ -E -I/opt/local/include conftest.cpp
435configure:4432: $? = 0
436configure:4446: /usr/bin/clang++ -E -I/opt/local/include conftest.cpp
437conftest.cpp:15:10: fatal error: 'ac_nonexistent.h' file not found
438#include <ac_nonexistent.h>
439         ^~~~~~~~~~~~~~~~~~
4401 error generated.
441configure:4446: $? = 1
442configure: failed program was:
443| /* confdefs.h */
444| #define PACKAGE_NAME "tesseract"
445| #define PACKAGE_TARNAME "tesseract"
446| #define PACKAGE_VERSION "3.04.01"
447| #define PACKAGE_STRING "tesseract 3.04.01"
448| #define PACKAGE_BUGREPORT "https://github.com/tesseract-ocr/tesseract/issues"
449| #define PACKAGE_URL ""
450| #define PACKAGE_NAME "tesseract"
451| #define PACKAGE_VERSION "3.04.01"
452| #define PACKAGE_YEAR "2016"
453| #define PACKAGE_DATE "02/12"
454| #define PACKAGE "tesseract"
455| #define VERSION "3.04.01"
456| /* end confdefs.h.  */
457| #include <ac_nonexistent.h>
458configure:4475: checking for grep that handles long lines and -e
459configure:4533: result: /usr/bin/grep
460configure:4538: checking for egrep
461configure:4600: result: /usr/bin/grep -E
462configure:4605: checking for ANSI C header files
463configure:4625: /usr/bin/clang++ -c -pipe -Os -stdlib=libc++ -arch x86_64 -I/opt/local/include conftest.cpp >&5
464configure:4625: $? = 0
465configure:4698: /usr/bin/clang++ -o conftest -pipe -Os -stdlib=libc++ -arch x86_64 -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.cpp  >&5
466configure:4698: $? = 0
467configure:4698: ./conftest
468configure:4698: $? = 0
469configure:4709: result: yes
470configure:4722: checking for sys/types.h
471configure:4722: /usr/bin/clang++ -c -pipe -Os -stdlib=libc++ -arch x86_64 -I/opt/local/include conftest.cpp >&5
472configure:4722: $? = 0
473configure:4722: result: yes
474configure:4722: checking for sys/stat.h
475configure:4722: /usr/bin/clang++ -c -pipe -Os -stdlib=libc++ -arch x86_64 -I/opt/local/include conftest.cpp >&5
476configure:4722: $? = 0
477configure:4722: result: yes
478configure:4722: checking for stdlib.h
479configure:4722: /usr/bin/clang++ -c -pipe -Os -stdlib=libc++ -arch x86_64 -I/opt/local/include conftest.cpp >&5
480configure:4722: $? = 0
481configure:4722: result: yes
482configure:4722: checking for string.h
483configure:4722: /usr/bin/clang++ -c -pipe -Os -stdlib=libc++ -arch x86_64 -I/opt/local/include conftest.cpp >&5
484configure:4722: $? = 0
485configure:4722: result: yes
486configure:4722: checking for memory.h
487configure:4722: /usr/bin/clang++ -c -pipe -Os -stdlib=libc++ -arch x86_64 -I/opt/local/include conftest.cpp >&5
488configure:4722: $? = 0
489configure:4722: result: yes
490configure:4722: checking for strings.h
491configure:4722: /usr/bin/clang++ -c -pipe -Os -stdlib=libc++ -arch x86_64 -I/opt/local/include conftest.cpp >&5
492configure:4722: $? = 0
493configure:4722: result: yes
494configure:4722: checking for inttypes.h
495configure:4722: /usr/bin/clang++ -c -pipe -Os -stdlib=libc++ -arch x86_64 -I/opt/local/include conftest.cpp >&5
496configure:4722: $? = 0
497configure:4722: result: yes
498configure:4722: checking for stdint.h
499configure:4722: /usr/bin/clang++ -c -pipe -Os -stdlib=libc++ -arch x86_64 -I/opt/local/include conftest.cpp >&5
500configure:4722: $? = 0
501configure:4722: result: yes
502configure:4722: checking for unistd.h
503configure:4722: /usr/bin/clang++ -c -pipe -Os -stdlib=libc++ -arch x86_64 -I/opt/local/include conftest.cpp >&5
504configure:4722: $? = 0
505configure:4722: result: yes
506configure:4736: checking CL/cl.h usability
507configure:4736: /usr/bin/clang++ -c -pipe -Os -stdlib=libc++ -arch x86_64 -I/opt/local/include conftest.cpp >&5
508conftest.cpp:58:10: fatal error: 'CL/cl.h' file not found
509#include <CL/cl.h>
510         ^~~~~~~~~
5111 error generated.
512configure:4736: $? = 1
513configure: failed program was:
514| /* confdefs.h */
515| #define PACKAGE_NAME "tesseract"
516| #define PACKAGE_TARNAME "tesseract"
517| #define PACKAGE_VERSION "3.04.01"
518| #define PACKAGE_STRING "tesseract 3.04.01"
519| #define PACKAGE_BUGREPORT "https://github.com/tesseract-ocr/tesseract/issues"
520| #define PACKAGE_URL ""
521| #define PACKAGE_NAME "tesseract"
522| #define PACKAGE_VERSION "3.04.01"
523| #define PACKAGE_YEAR "2016"
524| #define PACKAGE_DATE "02/12"
525| #define PACKAGE "tesseract"
526| #define VERSION "3.04.01"
527| #define STDC_HEADERS 1
528| #define HAVE_SYS_TYPES_H 1
529| #define HAVE_SYS_STAT_H 1
530| #define HAVE_STDLIB_H 1
531| #define HAVE_STRING_H 1
532| #define HAVE_MEMORY_H 1
533| #define HAVE_STRINGS_H 1
534| #define HAVE_INTTYPES_H 1
535| #define HAVE_STDINT_H 1
536| #define HAVE_UNISTD_H 1
537| /* end confdefs.h.  */
538| #include <stdio.h>
539| #ifdef HAVE_SYS_TYPES_H
540| # include <sys/types.h>
541| #endif
542| #ifdef HAVE_SYS_STAT_H
543| # include <sys/stat.h>
544| #endif
545| #ifdef STDC_HEADERS
546| # include <stdlib.h>
547| # include <stddef.h>
548| #else
549| # ifdef HAVE_STDLIB_H
550| #  include <stdlib.h>
551| # endif
552| #endif
553| #ifdef HAVE_STRING_H
554| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
555| #  include <memory.h>
556| # endif
557| # include <string.h>
558| #endif
559| #ifdef HAVE_STRINGS_H
560| # include <strings.h>
561| #endif
562| #ifdef HAVE_INTTYPES_H
563| # include <inttypes.h>
564| #endif
565| #ifdef HAVE_STDINT_H
566| # include <stdint.h>
567| #endif
568| #ifdef HAVE_UNISTD_H
569| # include <unistd.h>
570| #endif
571| #include <CL/cl.h>
572configure:4736: result: no
573configure:4736: checking CL/cl.h presence
574configure:4736: /usr/bin/clang++ -E -I/opt/local/include conftest.cpp
575conftest.cpp:25:10: fatal error: 'CL/cl.h' file not found
576#include <CL/cl.h>
577         ^~~~~~~~~
5781 error generated.
579configure:4736: $? = 1
580configure: failed program was:
581| /* confdefs.h */
582| #define PACKAGE_NAME "tesseract"
583| #define PACKAGE_TARNAME "tesseract"
584| #define PACKAGE_VERSION "3.04.01"
585| #define PACKAGE_STRING "tesseract 3.04.01"
586| #define PACKAGE_BUGREPORT "https://github.com/tesseract-ocr/tesseract/issues"
587| #define PACKAGE_URL ""
588| #define PACKAGE_NAME "tesseract"
589| #define PACKAGE_VERSION "3.04.01"
590| #define PACKAGE_YEAR "2016"
591| #define PACKAGE_DATE "02/12"
592| #define PACKAGE "tesseract"
593| #define VERSION "3.04.01"
594| #define STDC_HEADERS 1
595| #define HAVE_SYS_TYPES_H 1
596| #define HAVE_SYS_STAT_H 1
597| #define HAVE_STDLIB_H 1
598| #define HAVE_STRING_H 1
599| #define HAVE_MEMORY_H 1
600| #define HAVE_STRINGS_H 1
601| #define HAVE_INTTYPES_H 1
602| #define HAVE_STDINT_H 1
603| #define HAVE_UNISTD_H 1
604| /* end confdefs.h.  */
605| #include <CL/cl.h>
606configure:4736: result: no
607configure:4736: checking for CL/cl.h
608configure:4736: result: no
609configure:4746: checking OpenCL/cl.h usability
610configure:4746: /usr/bin/clang++ -c -pipe -Os -stdlib=libc++ -arch x86_64 -I/opt/local/include conftest.cpp >&5
611configure:4746: $? = 0
612configure:4746: result: yes
613configure:4746: checking OpenCL/cl.h presence
614configure:4746: /usr/bin/clang++ -E -I/opt/local/include conftest.cpp
615configure:4746: $? = 0
616configure:4746: result: yes
617configure:4746: checking for OpenCL/cl.h
618configure:4746: result: yes
619configure:4767: checking tiffio.h usability
620configure:4767: /usr/bin/clang++ -c -pipe -Os -stdlib=libc++ -arch x86_64 -I/opt/local/include conftest.cpp >&5
621configure:4767: $? = 0
622configure:4767: result: yes
623configure:4767: checking tiffio.h presence
624configure:4767: /usr/bin/clang++ -E -I/opt/local/include conftest.cpp
625configure:4767: $? = 0
626configure:4767: result: yes
627configure:4767: checking for tiffio.h
628configure:4767: result: yes
629configure:4789: checking if -framework OpenCL works
630configure:4807: /usr/bin/clang++ -o conftest -pipe -Os -stdlib=libc++ -arch x86_64 -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.cpp  -framework OpenCL >&5
631configure:4807: $? = 0
632configure:4817: result: yes
633configure:4915: checking --enable-visibility argument
634configure:4924: result: no
635configure:4936: checking --enable-multiple-libraries argument
636configure:4945: result: no
637configure:4957: checking whether to use tessdata-prefix
638configure:4966: result: yes
639configure:4978: checking whether to enable debugging
640configure:4987: result: no
641configure:5060: checking how to print strings
642configure:5087: result: printf
643configure:5156: checking for gcc
644configure:5183: result: /usr/bin/clang
645configure:5412: checking for C compiler version
646configure:5421: /usr/bin/clang --version >&5
647Apple LLVM version 9.0.0 (clang-900.0.38)
648Target: x86_64-apple-darwin17.2.0
649Thread model: posix
650InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
651configure:5432: $? = 0
652configure:5421: /usr/bin/clang -v >&5
653Apple LLVM version 9.0.0 (clang-900.0.38)
654Target: x86_64-apple-darwin17.2.0
655Thread model: posix
656InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
657configure:5432: $? = 0
658configure:5421: /usr/bin/clang -V >&5
659clang: error: argument to '-V' is missing (expected 1 value)
660clang: error: no input files
661configure:5432: $? = 1
662configure:5421: /usr/bin/clang -qversion >&5
663clang: error: unknown argument: '-qversion'
664clang: error: no input files
665configure:5432: $? = 1
666configure:5436: checking whether we are using the GNU C compiler
667configure:5455: /usr/bin/clang -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
668configure:5455: $? = 0
669configure:5464: result: yes
670configure:5473: checking whether /usr/bin/clang accepts -g
671configure:5493: /usr/bin/clang -c -g -I/opt/local/include conftest.c >&5
672configure:5493: $? = 0
673configure:5534: result: yes
674configure:5551: checking for /usr/bin/clang option to accept ISO C89
675configure:5614: /usr/bin/clang  -c -pipe -Os -arch x86_64 -I/opt/local/include conftest.c >&5
676configure:5614: $? = 0
677configure:5627: result: none needed
678configure:5649: checking dependency style of /usr/bin/clang
679configure:5760: result: gcc3
680configure:5775: checking for a sed that does not truncate output
681configure:5839: result: /usr/bin/sed
682configure:5857: checking for fgrep
683configure:5919: result: /usr/bin/grep -F
684configure:5954: checking for ld used by /usr/bin/clang
685configure:6021: result: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
686configure:6028: checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld
687configure:6043: result: no
688configure:6055: checking for BSD- or MS-compatible name lister (nm)
689configure:6104: result: /usr/bin/nm -B
690configure:6234: checking the name lister (/usr/bin/nm -B) interface
691configure:6241: /usr/bin/clang++ -c -pipe -Os -stdlib=libc++ -arch x86_64 -I/opt/local/include conftest.cpp >&5
692configure:6244: /usr/bin/nm -B "conftest.o"
693configure:6247: output
6940000000000000000 S _some_variable
695configure:6254: result: BSD nm
696configure:6257: checking whether ln -s works
697configure:6261: result: yes
698configure:6269: checking the maximum length of command line arguments
699configure:6399: result: 196608
700configure:6416: checking whether the shell understands some XSI constructs
701configure:6426: result: yes
702configure:6430: checking whether the shell understands "+="
703configure:6436: result: yes
704configure:6471: checking how to convert x86_64-apple-darwin17.2.0 file names to x86_64-apple-darwin17.2.0 format
705configure:6511: result: func_convert_file_noop
706configure:6518: checking how to convert x86_64-apple-darwin17.2.0 file names to toolchain format
707configure:6538: result: func_convert_file_noop
708configure:6545: checking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld option to reload object files
709configure:6552: result: -r
710configure:6626: checking for objdump
711configure:6642: found /usr/bin/objdump
712configure:6653: result: objdump
713configure:6685: checking how to recognize dependent libraries
714configure:6887: result: pass_all
715configure:6972: checking for dlltool
716configure:7002: result: no
717configure:7032: checking how to associate runtime and link libraries
718configure:7059: result: printf %s\n
719configure:7119: checking for ar
720configure:7135: found /usr/bin/ar
721configure:7146: result: ar
722configure:7183: checking for archiver @FILE support
723configure:7200: /usr/bin/clang++ -c -pipe -Os -stdlib=libc++ -arch x86_64 -I/opt/local/include conftest.cpp >&5
724configure:7200: $? = 0
725configure:7203: ar cru libconftest.a @conftest.lst >&5
726ar: @conftest.lst: No such file or directory
727configure:7206: $? = 1
728configure:7226: result: no
729configure:7284: checking for strip
730configure:7300: found /usr/bin/strip
731configure:7311: result: strip
732configure:7383: checking for ranlib
733configure:7399: found /usr/bin/ranlib
734configure:7410: result: ranlib
735configure:7512: checking command to parse /usr/bin/nm -B output from /usr/bin/clang object
736configure:7632: /usr/bin/clang++ -c -pipe -Os -stdlib=libc++ -arch x86_64 -I/opt/local/include conftest.cpp >&5
737configure:7635: $? = 0
738configure:7639: /usr/bin/nm -B conftest.o \| sed -n -e 's/^.*[ ]\([BCDEGRST][BCDEGRST]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' \> conftest.nm
739configure:7642: $? = 0
740cannot find nm_test_var in conftest.nm
741configure:7632: /usr/bin/clang++ -c -pipe -Os -stdlib=libc++ -arch x86_64 -I/opt/local/include conftest.cpp >&5
742configure:7635: $? = 0
743configure:7639: /usr/bin/nm -B conftest.o \| sed -n -e 's/^.*[ ]\([BCDEGRST][BCDEGRST]*\)[ ][ ]*_\([_A-Za-z][_A-Za-z0-9]*\)$/\1 _\2 \2/p' | sed '/ __gnu_lto/d' \> conftest.nm
744configure:7642: $? = 0
745configure:7708: /usr/bin/clang++ -o conftest -pipe -Os -stdlib=libc++ -arch x86_64 -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.cpp conftstm.o >&5
746configure:7711: $? = 0
747configure:7749: result: ok
748configure:7786: checking for sysroot
749configure:7816: result: no
750configure:8079: checking for mt
751configure:8109: result: no
752configure:8129: checking if : is a manifest tool
753configure:8135: : '-?'
754configure:8143: result: no
755configure:8199: checking for dsymutil
756configure:8215: found /usr/bin/dsymutil
757configure:8226: result: dsymutil
758configure:8291: checking for nmedit
759configure:8307: found /usr/bin/nmedit
760configure:8318: result: nmedit
761configure:8383: checking for lipo
762configure:8399: found /usr/bin/lipo
763configure:8410: result: lipo
764configure:8475: checking for otool
765configure:8491: found /usr/bin/otool
766configure:8502: result: otool
767configure:8567: checking for otool64
768configure:8597: result: no
769configure:8642: checking for -single_module linker flag
770/usr/bin/clang -pipe -Os -arch x86_64 -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -o libconftest.dylib -dynamiclib -Wl,-single_module conftest.c
771configure:8675: result: yes
772configure:8678: checking for -exported_symbols_list linker flag
773configure:8698: /usr/bin/clang++ -o conftest -pipe -Os -stdlib=libc++ -arch x86_64 -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-exported_symbols_list,conftest.sym conftest.cpp  >&5
774configure:8698: $? = 0
775configure:8708: result: yes
776configure:8711: checking for -force_load linker flag
777/usr/bin/clang -pipe -Os -arch x86_64 -c -o conftest.o conftest.c
778ar cru libconftest.a conftest.o
779ranlib libconftest.a
780/usr/bin/clang -pipe -Os -arch x86_64 -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -o conftest conftest.c -Wl,-force_load,./libconftest.a
781configure:8743: result: yes
782configure:8782: checking for dlfcn.h
783configure:8782: /usr/bin/clang++ -c -pipe -Os -stdlib=libc++ -arch x86_64 -I/opt/local/include conftest.cpp >&5
784configure:8782: $? = 0
785configure:8782: result: yes
786configure:8998: checking for objdir
787configure:9013: result: .libs
788configure:9284: checking if /usr/bin/clang supports -fno-rtti -fno-exceptions
789configure:9302: /usr/bin/clang -c -pipe -Os -arch x86_64 -I/opt/local/include -fno-rtti -fno-exceptions conftest.c >&5
790configure:9306: $? = 0
791configure:9319: result: yes
792configure:9646: checking for /usr/bin/clang option to produce PIC
793configure:9653: result: -fno-common -DPIC
794configure:9661: checking if /usr/bin/clang PIC flag -fno-common -DPIC works
795configure:9679: /usr/bin/clang -c -pipe -Os -arch x86_64 -I/opt/local/include -fno-common -DPIC -DPIC conftest.c >&5
796configure:9683: $? = 0
797configure:9696: result: yes
798configure:9725: checking if /usr/bin/clang static flag -static works
799configure:9753: result: no
800configure:9768: checking if /usr/bin/clang supports -c -o file.o
801configure:9789: /usr/bin/clang -c -pipe -Os -arch x86_64 -I/opt/local/include -o out/conftest2.o conftest.c >&5
802configure:9793: $? = 0
803configure:9815: result: yes
804configure:9823: checking if /usr/bin/clang supports -c -o file.o
805configure:9870: result: yes
806configure:9903: checking whether the /usr/bin/clang linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries
807configure:11056: result: yes
808configure:11296: checking dynamic linker characteristics
809configure:12029: result: darwin17.2.0 dyld
810configure:12136: checking how to hardcode library paths into programs
811configure:12161: result: immediate
812configure:12701: checking whether stripping libraries is possible
813configure:12715: result: yes
814configure:12741: checking if libtool supports shared libraries
815configure:12743: result: yes
816configure:12746: checking whether to build shared libraries
817configure:12767: result: yes
818configure:12770: checking whether to build static libraries
819configure:12774: result: yes
820configure:12797: checking how to run the C++ preprocessor
821configure:12863: result: /usr/bin/clang++ -E
822configure:12883: /usr/bin/clang++ -E -I/opt/local/include conftest.cpp
823configure:12883: $? = 0
824configure:12897: /usr/bin/clang++ -E -I/opt/local/include conftest.cpp
825conftest.cpp:30:10: fatal error: 'ac_nonexistent.h' file not found
826#include <ac_nonexistent.h>
827         ^~~~~~~~~~~~~~~~~~
8281 error generated.
829configure:12897: $? = 1
830configure: failed program was:
831| /* confdefs.h */
832| #define PACKAGE_NAME "tesseract"
833| #define PACKAGE_TARNAME "tesseract"
834| #define PACKAGE_VERSION "3.04.01"
835| #define PACKAGE_STRING "tesseract 3.04.01"
836| #define PACKAGE_BUGREPORT "https://github.com/tesseract-ocr/tesseract/issues"
837| #define PACKAGE_URL ""
838| #define PACKAGE_NAME "tesseract"
839| #define PACKAGE_VERSION "3.04.01"
840| #define PACKAGE_YEAR "2016"
841| #define PACKAGE_DATE "02/12"
842| #define PACKAGE "tesseract"
843| #define VERSION "3.04.01"
844| #define STDC_HEADERS 1
845| #define HAVE_SYS_TYPES_H 1
846| #define HAVE_SYS_STAT_H 1
847| #define HAVE_STDLIB_H 1
848| #define HAVE_STRING_H 1
849| #define HAVE_MEMORY_H 1
850| #define HAVE_STRINGS_H 1
851| #define HAVE_INTTYPES_H 1
852| #define HAVE_STDINT_H 1
853| #define HAVE_UNISTD_H 1
854| #define HAVE_OPENCL_CL_H 1
855| #define HAVE_TIFFIO_H 1
856| #define HAVE_FRAMEWORK_OPENCL 1
857| #define HAVE_DLFCN_H 1
858| #define LT_OBJDIR ".libs/"
859| /* end confdefs.h.  */
860| #include <ac_nonexistent.h>
861configure:13066: checking for ld used by /usr/bin/clang++
862configure:13133: result: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
863configure:13140: checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld
864configure:13155: result: no
865configure:13210: checking whether the /usr/bin/clang++ linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries
866configure:14215: result: yes
867configure:14251: /usr/bin/clang++ -c -pipe -Os -stdlib=libc++ -arch x86_64 -I/opt/local/include conftest.cpp >&5
868configure:14254: $? = 0
869configure:14774: checking for /usr/bin/clang++ option to produce PIC
870configure:14781: result: -fno-common -DPIC
871configure:14789: checking if /usr/bin/clang++ PIC flag -fno-common -DPIC works
872configure:14807: /usr/bin/clang++ -c -pipe -Os -stdlib=libc++ -arch x86_64 -I/opt/local/include -fno-common -DPIC -DPIC conftest.cpp >&5
873configure:14811: $? = 0
874configure:14824: result: yes
875configure:14847: checking if /usr/bin/clang++ static flag -static works
876configure:14875: result: no
877configure:14887: checking if /usr/bin/clang++ supports -c -o file.o
878configure:14908: /usr/bin/clang++ -c -pipe -Os -stdlib=libc++ -arch x86_64 -I/opt/local/include -o out/conftest2.o conftest.cpp >&5
879configure:14912: $? = 0
880configure:14934: result: yes
881configure:14939: checking if /usr/bin/clang++ supports -c -o file.o
882configure:14986: result: yes
883configure:15016: checking whether the /usr/bin/clang++ linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries
884configure:15052: result: yes
885configure:15193: checking dynamic linker characteristics
886configure:15860: result: darwin17.2.0 dyld
887configure:15913: checking how to hardcode library paths into programs
888configure:15938: result: immediate
889configure:16007: checking whether byte ordering is bigendian
890configure:16022: /usr/bin/clang++ -c -pipe -Os -stdlib=libc++ -arch x86_64 -I/opt/local/include conftest.cpp >&5
891configure:16022: $? = 0
892configure:16067: /usr/bin/clang++ -c -pipe -Os -stdlib=libc++ -arch x86_64 -I/opt/local/include conftest.cpp >&5
893configure:16067: $? = 0
894configure:16085: /usr/bin/clang++ -c -pipe -Os -stdlib=libc++ -arch x86_64 -I/opt/local/include conftest.cpp >&5
895conftest.cpp:37:11: error: expected ';' after expression
896                 not big endian
897                        ^
898                        ;
899conftest.cpp:37:8: error: use of undeclared identifier 'big'
900                 not big endian
901                     ^
902conftest.cpp:37:12: error: use of undeclared identifier 'endian'
903                 not big endian
904                         ^
9053 errors generated.
906configure:16085: $? = 1
907configure: failed program was:
908| /* confdefs.h */
909| #define PACKAGE_NAME "tesseract"
910| #define PACKAGE_TARNAME "tesseract"
911| #define PACKAGE_VERSION "3.04.01"
912| #define PACKAGE_STRING "tesseract 3.04.01"
913| #define PACKAGE_BUGREPORT "https://github.com/tesseract-ocr/tesseract/issues"
914| #define PACKAGE_URL ""
915| #define PACKAGE_NAME "tesseract"
916| #define PACKAGE_VERSION "3.04.01"
917| #define PACKAGE_YEAR "2016"
918| #define PACKAGE_DATE "02/12"
919| #define PACKAGE "tesseract"
920| #define VERSION "3.04.01"
921| #define STDC_HEADERS 1
922| #define HAVE_SYS_TYPES_H 1
923| #define HAVE_SYS_STAT_H 1
924| #define HAVE_STDLIB_H 1
925| #define HAVE_STRING_H 1
926| #define HAVE_MEMORY_H 1
927| #define HAVE_STRINGS_H 1
928| #define HAVE_INTTYPES_H 1
929| #define HAVE_STDINT_H 1
930| #define HAVE_UNISTD_H 1
931| #define HAVE_OPENCL_CL_H 1
932| #define HAVE_TIFFIO_H 1
933| #define HAVE_FRAMEWORK_OPENCL 1
934| #define HAVE_DLFCN_H 1
935| #define LT_OBJDIR ".libs/"
936| /* end confdefs.h.  */
937| #include <sys/types.h>
938|               #include <sys/param.h>
939|
940| int
941| main ()
942| {
943| #if BYTE_ORDER != BIG_ENDIAN
944|                not big endian
945|               #endif
946|
947|   ;
948|   return 0;
949| }
950configure:16213: result: no
951configure:16253: checking if compiling with clang
952configure:16270: /usr/bin/clang++ -c -pipe -Os -stdlib=libc++ -arch x86_64 -I/opt/local/include conftest.cpp >&5
953configure:16270: $? = 0
954configure:16277: result: yes
955configure:16282: checking whether compiler supports C++11
956configure:16296: /usr/bin/clang++ -c -pipe -Os -stdlib=libc++ -arch x86_64 -std=c++11 -I/opt/local/include conftest.cpp >&5
957configure:16296: $? = 0
958configure:16298: result: yes
959configure:16312: checking for snprintf
960configure:16312: /usr/bin/clang++ -o conftest -pipe -Os -stdlib=libc++ -arch x86_64 -std=c++11 -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.cpp  >&5
961configure:16312: $? = 0
962configure:16312: result: yes
963configure:16329: checking for library containing sem_init
964configure:16360: /usr/bin/clang++ -o conftest -pipe -Os -stdlib=libc++ -arch x86_64 -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.cpp  >&5
965configure:16360: $? = 0
966configure:16377: result: none required
967configure:16391: checking for ANSI C header files
968configure:16495: result: yes
969configure:16503: checking whether time.h and sys/time.h may both be included
970configure:16523: /usr/bin/clang++ -c -pipe -Os -stdlib=libc++ -arch x86_64 -I/opt/local/include conftest.cpp >&5
971configure:16523: $? = 0
972configure:16530: result: yes
973configure:16538: checking for sys/wait.h that is POSIX.1 compatible
974configure:16564: /usr/bin/clang++ -c -pipe -Os -stdlib=libc++ -arch x86_64 -I/opt/local/include conftest.cpp >&5
975configure:16564: $? = 0
976configure:16571: result: yes
977configure:16582: checking sys/ipc.h usability
978configure:16582: /usr/bin/clang++ -c -pipe -Os -stdlib=libc++ -arch x86_64 -I/opt/local/include conftest.cpp >&5
979configure:16582: $? = 0
980configure:16582: result: yes
981configure:16582: checking sys/ipc.h presence
982configure:16582: /usr/bin/clang++ -E -I/opt/local/include conftest.cpp
983configure:16582: $? = 0
984configure:16582: result: yes
985configure:16582: checking for sys/ipc.h
986configure:16582: result: yes
987configure:16582: checking sys/shm.h usability
988configure:16582: /usr/bin/clang++ -c -pipe -Os -stdlib=libc++ -arch x86_64 -I/opt/local/include conftest.cpp >&5
989configure:16582: $? = 0
990configure:16582: result: yes
991configure:16582: checking sys/shm.h presence
992configure:16582: /usr/bin/clang++ -E -I/opt/local/include conftest.cpp
993configure:16582: $? = 0
994configure:16582: result: yes
995configure:16582: checking for sys/shm.h
996configure:16582: result: yes
997configure:16595: checking limits.h usability
998configure:16595: /usr/bin/clang++ -c -pipe -Os -stdlib=libc++ -arch x86_64 -I/opt/local/include conftest.cpp >&5
999configure:16595: $? = 0
1000configure:16595: result: yes
1001configure:16595: checking limits.h presence
1002configure:16595: /usr/bin/clang++ -E -I/opt/local/include conftest.cpp
1003configure:16595: $? = 0
1004configure:16595: result: yes
1005configure:16595: checking for limits.h
1006configure:16595: result: yes
1007configure:16595: checking malloc.h usability
1008configure:16595: /usr/bin/clang++ -c -pipe -Os -stdlib=libc++ -arch x86_64 -I/opt/local/include conftest.cpp >&5
1009conftest.cpp:70:10: fatal error: 'malloc.h' file not found
1010#include <malloc.h>
1011         ^~~~~~~~~~
10121 error generated.
1013configure:16595: $? = 1
1014configure: failed program was:
1015| /* confdefs.h */
1016| #define PACKAGE_NAME "tesseract"
1017| #define PACKAGE_TARNAME "tesseract"
1018| #define PACKAGE_VERSION "3.04.01"
1019| #define PACKAGE_STRING "tesseract 3.04.01"
1020| #define PACKAGE_BUGREPORT "https://github.com/tesseract-ocr/tesseract/issues"
1021| #define PACKAGE_URL ""
1022| #define PACKAGE_NAME "tesseract"
1023| #define PACKAGE_VERSION "3.04.01"
1024| #define PACKAGE_YEAR "2016"
1025| #define PACKAGE_DATE "02/12"
1026| #define PACKAGE "tesseract"
1027| #define VERSION "3.04.01"
1028| #define STDC_HEADERS 1
1029| #define HAVE_SYS_TYPES_H 1
1030| #define HAVE_SYS_STAT_H 1
1031| #define HAVE_STDLIB_H 1
1032| #define HAVE_STRING_H 1
1033| #define HAVE_MEMORY_H 1
1034| #define HAVE_STRINGS_H 1
1035| #define HAVE_INTTYPES_H 1
1036| #define HAVE_STDINT_H 1
1037| #define HAVE_UNISTD_H 1
1038| #define HAVE_OPENCL_CL_H 1
1039| #define HAVE_TIFFIO_H 1
1040| #define HAVE_FRAMEWORK_OPENCL 1
1041| #define HAVE_DLFCN_H 1
1042| #define LT_OBJDIR ".libs/"
1043| #define HAVE_SNPRINTF 1
1044| #define STDC_HEADERS 1
1045| #define TIME_WITH_SYS_TIME 1
1046| #define HAVE_SYS_WAIT_H 1
1047| #define HAVE_SYS_IPC_H 1
1048| #define HAVE_SYS_SHM_H 1
1049| #define HAVE_LIMITS_H 1
1050| /* end confdefs.h.  */
1051| #include <stdio.h>
1052| #ifdef HAVE_SYS_TYPES_H
1053| # include <sys/types.h>
1054| #endif
1055| #ifdef HAVE_SYS_STAT_H
1056| # include <sys/stat.h>
1057| #endif
1058| #ifdef STDC_HEADERS
1059| # include <stdlib.h>
1060| # include <stddef.h>
1061| #else
1062| # ifdef HAVE_STDLIB_H
1063| #  include <stdlib.h>
1064| # endif
1065| #endif
1066| #ifdef HAVE_STRING_H
1067| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
1068| #  include <memory.h>
1069| # endif
1070| # include <string.h>
1071| #endif
1072| #ifdef HAVE_STRINGS_H
1073| # include <strings.h>
1074| #endif
1075| #ifdef HAVE_INTTYPES_H
1076| # include <inttypes.h>
1077| #endif
1078| #ifdef HAVE_STDINT_H
1079| # include <stdint.h>
1080| #endif
1081| #ifdef HAVE_UNISTD_H
1082| # include <unistd.h>
1083| #endif
1084| #include <malloc.h>
1085configure:16595: result: no
1086configure:16595: checking malloc.h presence
1087configure:16595: /usr/bin/clang++ -E -I/opt/local/include conftest.cpp
1088conftest.cpp:37:10: fatal error: 'malloc.h' file not found
1089#include <malloc.h>
1090         ^~~~~~~~~~
10911 error generated.
1092configure:16595: $? = 1
1093configure: failed program was:
1094| /* confdefs.h */
1095| #define PACKAGE_NAME "tesseract"
1096| #define PACKAGE_TARNAME "tesseract"
1097| #define PACKAGE_VERSION "3.04.01"
1098| #define PACKAGE_STRING "tesseract 3.04.01"
1099| #define PACKAGE_BUGREPORT "https://github.com/tesseract-ocr/tesseract/issues"
1100| #define PACKAGE_URL ""
1101| #define PACKAGE_NAME "tesseract"
1102| #define PACKAGE_VERSION "3.04.01"
1103| #define PACKAGE_YEAR "2016"
1104| #define PACKAGE_DATE "02/12"
1105| #define PACKAGE "tesseract"
1106| #define VERSION "3.04.01"
1107| #define STDC_HEADERS 1
1108| #define HAVE_SYS_TYPES_H 1
1109| #define HAVE_SYS_STAT_H 1
1110| #define HAVE_STDLIB_H 1
1111| #define HAVE_STRING_H 1
1112| #define HAVE_MEMORY_H 1
1113| #define HAVE_STRINGS_H 1
1114| #define HAVE_INTTYPES_H 1
1115| #define HAVE_STDINT_H 1
1116| #define HAVE_UNISTD_H 1
1117| #define HAVE_OPENCL_CL_H 1
1118| #define HAVE_TIFFIO_H 1
1119| #define HAVE_FRAMEWORK_OPENCL 1
1120| #define HAVE_DLFCN_H 1
1121| #define LT_OBJDIR ".libs/"
1122| #define HAVE_SNPRINTF 1
1123| #define STDC_HEADERS 1
1124| #define TIME_WITH_SYS_TIME 1
1125| #define HAVE_SYS_WAIT_H 1
1126| #define HAVE_SYS_IPC_H 1
1127| #define HAVE_SYS_SHM_H 1
1128| #define HAVE_LIMITS_H 1
1129| /* end confdefs.h.  */
1130| #include <malloc.h>
1131configure:16595: result: no
1132configure:16595: checking for malloc.h
1133configure:16595: result: no
1134configure:16606: checking for stdbool.h that conforms to C99
1135configure:16673: /usr/bin/clang++ -c -pipe -Os -stdlib=libc++ -arch x86_64 -I/opt/local/include conftest.cpp >&5
1136conftest.cpp:40:15: error: expected unqualified-id
1137              "error: bool is not defined"
1138              ^
1139conftest.cpp:58:48: error: C++ requires a type specifier for all declarations
1140             struct s { _Bool s: 1; _Bool t; } s;
1141                                               ^
11422 errors generated.
1143configure:16673: $? = 1
1144configure: failed program was:
1145| /* confdefs.h */
1146| #define PACKAGE_NAME "tesseract"
1147| #define PACKAGE_TARNAME "tesseract"
1148| #define PACKAGE_VERSION "3.04.01"
1149| #define PACKAGE_STRING "tesseract 3.04.01"
1150| #define PACKAGE_BUGREPORT "https://github.com/tesseract-ocr/tesseract/issues"
1151| #define PACKAGE_URL ""
1152| #define PACKAGE_NAME "tesseract"
1153| #define PACKAGE_VERSION "3.04.01"
1154| #define PACKAGE_YEAR "2016"
1155| #define PACKAGE_DATE "02/12"
1156| #define PACKAGE "tesseract"
1157| #define VERSION "3.04.01"
1158| #define STDC_HEADERS 1
1159| #define HAVE_SYS_TYPES_H 1
1160| #define HAVE_SYS_STAT_H 1
1161| #define HAVE_STDLIB_H 1
1162| #define HAVE_STRING_H 1
1163| #define HAVE_MEMORY_H 1
1164| #define HAVE_STRINGS_H 1
1165| #define HAVE_INTTYPES_H 1
1166| #define HAVE_STDINT_H 1
1167| #define HAVE_UNISTD_H 1
1168| #define HAVE_OPENCL_CL_H 1
1169| #define HAVE_TIFFIO_H 1
1170| #define HAVE_FRAMEWORK_OPENCL 1
1171| #define HAVE_DLFCN_H 1
1172| #define LT_OBJDIR ".libs/"
1173| #define HAVE_SNPRINTF 1
1174| #define STDC_HEADERS 1
1175| #define TIME_WITH_SYS_TIME 1
1176| #define HAVE_SYS_WAIT_H 1
1177| #define HAVE_SYS_IPC_H 1
1178| #define HAVE_SYS_SHM_H 1
1179| #define HAVE_LIMITS_H 1
1180| /* end confdefs.h.  */
1181|
1182|              #include <stdbool.h>
1183|              #ifndef bool
1184|               "error: bool is not defined"
1185|              #endif
1186|              #ifndef false
1187|               "error: false is not defined"
1188|              #endif
1189|              #if false
1190|               "error: false is not 0"
1191|              #endif
1192|              #ifndef true
1193|               "error: true is not defined"
1194|              #endif
1195|              #if true != 1
1196|               "error: true is not 1"
1197|              #endif
1198|              #ifndef __bool_true_false_are_defined
1199|               "error: __bool_true_false_are_defined is not defined"
1200|              #endif
1201|
1202|              struct s { _Bool s: 1; _Bool t; } s;
1203|
1204|              char a[true == 1 ? 1 : -1];
1205|              char b[false == 0 ? 1 : -1];
1206|              char c[__bool_true_false_are_defined == 1 ? 1 : -1];
1207|              char d[(bool) 0.5 == true ? 1 : -1];
1208|              /* See body of main program for 'e'.  */
1209|              char f[(_Bool) 0.0 == false ? 1 : -1];
1210|              char g[true];
1211|              char h[sizeof (_Bool)];
1212|              char i[sizeof s.t];
1213|              enum { j = false, k = true, l = false * true, m = true * 256 };
1214|              /* The following fails for
1215|                 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
1216|              _Bool n[m];
1217|              char o[sizeof n == m * sizeof n[0] ? 1 : -1];
1218|              char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
1219|              /* Catch a bug in an HP-UX C compiler.  See
1220|                 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
1221|                 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
1222|               */
1223|              _Bool q = true;
1224|              _Bool *pq = &q;
1225|
1226| int
1227| main ()
1228| {
1229|
1230|              bool e = &s;
1231|              *pq |= q;
1232|              *pq |= ! q;
1233|              /* Refer to every declared value, to avoid compiler optimizations.  */
1234|              return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
1235|                      + !m + !n + !o + !p + !q + !pq);
1236|
1237|   ;
1238|   return 0;
1239| }
1240configure:16680: result: no
1241configure:16682: checking for _Bool
1242configure:16682: /usr/bin/clang++ -c -pipe -Os -stdlib=libc++ -arch x86_64 -I/opt/local/include conftest.cpp >&5
1243conftest.cpp:73:13: error: use of undeclared identifier '_Bool'
1244if (sizeof (_Bool))
1245            ^
12461 error generated.
1247configure:16682: $? = 1
1248configure: failed program was:
1249| /* confdefs.h */
1250| #define PACKAGE_NAME "tesseract"
1251| #define PACKAGE_TARNAME "tesseract"
1252| #define PACKAGE_VERSION "3.04.01"
1253| #define PACKAGE_STRING "tesseract 3.04.01"
1254| #define PACKAGE_BUGREPORT "https://github.com/tesseract-ocr/tesseract/issues"
1255| #define PACKAGE_URL ""
1256| #define PACKAGE_NAME "tesseract"
1257| #define PACKAGE_VERSION "3.04.01"
1258| #define PACKAGE_YEAR "2016"
1259| #define PACKAGE_DATE "02/12"
1260| #define PACKAGE "tesseract"
1261| #define VERSION "3.04.01"
1262| #define STDC_HEADERS 1
1263| #define HAVE_SYS_TYPES_H 1
1264| #define HAVE_SYS_STAT_H 1
1265| #define HAVE_STDLIB_H 1
1266| #define HAVE_STRING_H 1
1267| #define HAVE_MEMORY_H 1
1268| #define HAVE_STRINGS_H 1
1269| #define HAVE_INTTYPES_H 1
1270| #define HAVE_STDINT_H 1
1271| #define HAVE_UNISTD_H 1
1272| #define HAVE_OPENCL_CL_H 1
1273| #define HAVE_TIFFIO_H 1
1274| #define HAVE_FRAMEWORK_OPENCL 1
1275| #define HAVE_DLFCN_H 1
1276| #define LT_OBJDIR ".libs/"
1277| #define HAVE_SNPRINTF 1
1278| #define STDC_HEADERS 1
1279| #define TIME_WITH_SYS_TIME 1
1280| #define HAVE_SYS_WAIT_H 1
1281| #define HAVE_SYS_IPC_H 1
1282| #define HAVE_SYS_SHM_H 1
1283| #define HAVE_LIMITS_H 1
1284| /* end confdefs.h.  */
1285| #include <stdio.h>
1286| #ifdef HAVE_SYS_TYPES_H
1287| # include <sys/types.h>
1288| #endif
1289| #ifdef HAVE_SYS_STAT_H
1290| # include <sys/stat.h>
1291| #endif
1292| #ifdef STDC_HEADERS
1293| # include <stdlib.h>
1294| # include <stddef.h>
1295| #else
1296| # ifdef HAVE_STDLIB_H
1297| #  include <stdlib.h>
1298| # endif
1299| #endif
1300| #ifdef HAVE_STRING_H
1301| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
1302| #  include <memory.h>
1303| # endif
1304| # include <string.h>
1305| #endif
1306| #ifdef HAVE_STRINGS_H
1307| # include <strings.h>
1308| #endif
1309| #ifdef HAVE_INTTYPES_H
1310| # include <inttypes.h>
1311| #endif
1312| #ifdef HAVE_STDINT_H
1313| # include <stdint.h>
1314| #endif
1315| #ifdef HAVE_UNISTD_H
1316| # include <unistd.h>
1317| #endif
1318| int
1319| main ()
1320| {
1321| if (sizeof (_Bool))
1322|        return 0;
1323|   ;
1324|   return 0;
1325| }
1326configure:16682: result: no
1327configure:16701: checking whether #! works in shell scripts
1328configure:16718: result: yes
1329configure:16729: checking for special C compiler options needed for large files
1330configure:16774: result: no
1331configure:16780: checking for _FILE_OFFSET_BITS value needed for large files
1332configure:16805: /usr/bin/clang++ -c -pipe -Os -stdlib=libc++ -arch x86_64 -I/opt/local/include conftest.cpp >&5
1333configure:16805: $? = 0
1334configure:16837: result: no
1335configure:16925: checking for getline
1336configure:16925: /usr/bin/clang++ -o conftest -pipe -Os -stdlib=libc++ -arch x86_64 -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.cpp  >&5
1337configure:16925: $? = 0
1338configure:16925: result: yes
1339configure:16939: checking for wchar_t
1340configure:16939: /usr/bin/clang++ -c -pipe -Os -stdlib=libc++ -arch x86_64 -I/opt/local/include conftest.cpp >&5
1341configure:16939: $? = 0
1342configure:16939: /usr/bin/clang++ -c -pipe -Os -stdlib=libc++ -arch x86_64 -I/opt/local/include conftest.cpp >&5
1343conftest.cpp:43:22: error: expected expression
1344if (sizeof ((wchar_t)))
1345                     ^
13461 error generated.
1347configure:16939: $? = 1
1348configure: failed program was:
1349| /* confdefs.h */
1350| #define PACKAGE_NAME "tesseract"
1351| #define PACKAGE_TARNAME "tesseract"
1352| #define PACKAGE_VERSION "3.04.01"
1353| #define PACKAGE_STRING "tesseract 3.04.01"
1354| #define PACKAGE_BUGREPORT "https://github.com/tesseract-ocr/tesseract/issues"
1355| #define PACKAGE_URL ""
1356| #define PACKAGE_NAME "tesseract"
1357| #define PACKAGE_VERSION "3.04.01"
1358| #define PACKAGE_YEAR "2016"
1359| #define PACKAGE_DATE "02/12"
1360| #define PACKAGE "tesseract"
1361| #define VERSION "3.04.01"
1362| #define STDC_HEADERS 1
1363| #define HAVE_SYS_TYPES_H 1
1364| #define HAVE_SYS_STAT_H 1
1365| #define HAVE_STDLIB_H 1
1366| #define HAVE_STRING_H 1
1367| #define HAVE_MEMORY_H 1
1368| #define HAVE_STRINGS_H 1
1369| #define HAVE_INTTYPES_H 1
1370| #define HAVE_STDINT_H 1
1371| #define HAVE_UNISTD_H 1
1372| #define HAVE_OPENCL_CL_H 1
1373| #define HAVE_TIFFIO_H 1
1374| #define HAVE_FRAMEWORK_OPENCL 1
1375| #define HAVE_DLFCN_H 1
1376| #define LT_OBJDIR ".libs/"
1377| #define HAVE_SNPRINTF 1
1378| #define STDC_HEADERS 1
1379| #define TIME_WITH_SYS_TIME 1
1380| #define HAVE_SYS_WAIT_H 1
1381| #define HAVE_SYS_IPC_H 1
1382| #define HAVE_SYS_SHM_H 1
1383| #define HAVE_LIMITS_H 1
1384| #define HAVE_GETLINE 1
1385| /* end confdefs.h.  */
1386| #include "wchar.h"
1387|
1388| int
1389| main ()
1390| {
1391| if (sizeof ((wchar_t)))
1392|           return 0;
1393|   ;
1394|   return 0;
1395| }
1396configure:16939: result: yes
1397configure:16950: checking for long long int
1398configure:16950: /usr/bin/clang++ -c -pipe -Os -stdlib=libc++ -arch x86_64 -I/opt/local/include conftest.cpp >&5
1399configure:16950: $? = 0
1400configure:16950: /usr/bin/clang++ -c -pipe -Os -stdlib=libc++ -arch x86_64 -I/opt/local/include conftest.cpp >&5
1401conftest.cpp:75:28: error: expected expression
1402if (sizeof ((long long int)))
1403                           ^
14041 error generated.
1405configure:16950: $? = 1
1406configure: failed program was:
1407| /* confdefs.h */
1408| #define PACKAGE_NAME "tesseract"
1409| #define PACKAGE_TARNAME "tesseract"
1410| #define PACKAGE_VERSION "3.04.01"
1411| #define PACKAGE_STRING "tesseract 3.04.01"
1412| #define PACKAGE_BUGREPORT "https://github.com/tesseract-ocr/tesseract/issues"
1413| #define PACKAGE_URL ""
1414| #define PACKAGE_NAME "tesseract"
1415| #define PACKAGE_VERSION "3.04.01"
1416| #define PACKAGE_YEAR "2016"
1417| #define PACKAGE_DATE "02/12"
1418| #define PACKAGE "tesseract"
1419| #define VERSION "3.04.01"
1420| #define STDC_HEADERS 1
1421| #define HAVE_SYS_TYPES_H 1
1422| #define HAVE_SYS_STAT_H 1
1423| #define HAVE_STDLIB_H 1
1424| #define HAVE_STRING_H 1
1425| #define HAVE_MEMORY_H 1
1426| #define HAVE_STRINGS_H 1
1427| #define HAVE_INTTYPES_H 1
1428| #define HAVE_STDINT_H 1
1429| #define HAVE_UNISTD_H 1
1430| #define HAVE_OPENCL_CL_H 1
1431| #define HAVE_TIFFIO_H 1
1432| #define HAVE_FRAMEWORK_OPENCL 1
1433| #define HAVE_DLFCN_H 1
1434| #define LT_OBJDIR ".libs/"
1435| #define HAVE_SNPRINTF 1
1436| #define STDC_HEADERS 1
1437| #define TIME_WITH_SYS_TIME 1
1438| #define HAVE_SYS_WAIT_H 1
1439| #define HAVE_SYS_IPC_H 1
1440| #define HAVE_SYS_SHM_H 1
1441| #define HAVE_LIMITS_H 1
1442| #define HAVE_GETLINE 1
1443| #define HAVE_WCHAR_T 1
1444| /* end confdefs.h.  */
1445| #include <stdio.h>
1446| #ifdef HAVE_SYS_TYPES_H
1447| # include <sys/types.h>
1448| #endif
1449| #ifdef HAVE_SYS_STAT_H
1450| # include <sys/stat.h>
1451| #endif
1452| #ifdef STDC_HEADERS
1453| # include <stdlib.h>
1454| # include <stddef.h>
1455| #else
1456| # ifdef HAVE_STDLIB_H
1457| #  include <stdlib.h>
1458| # endif
1459| #endif
1460| #ifdef HAVE_STRING_H
1461| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
1462| #  include <memory.h>
1463| # endif
1464| # include <string.h>
1465| #endif
1466| #ifdef HAVE_STRINGS_H
1467| # include <strings.h>
1468| #endif
1469| #ifdef HAVE_INTTYPES_H
1470| # include <inttypes.h>
1471| #endif
1472| #ifdef HAVE_STDINT_H
1473| # include <stdint.h>
1474| #endif
1475| #ifdef HAVE_UNISTD_H
1476| # include <unistd.h>
1477| #endif
1478| int
1479| main ()
1480| {
1481| if (sizeof ((long long int)))
1482|           return 0;
1483|   ;
1484|   return 0;
1485| }
1486configure:16950: result: yes
1487configure:16960: checking for off_t
1488configure:16960: /usr/bin/clang++ -c -pipe -Os -stdlib=libc++ -arch x86_64 -I/opt/local/include conftest.cpp >&5
1489configure:16960: $? = 0
1490configure:16960: /usr/bin/clang++ -c -pipe -Os -stdlib=libc++ -arch x86_64 -I/opt/local/include conftest.cpp >&5
1491conftest.cpp:45:20: error: expected expression
1492if (sizeof ((off_t)))
1493                   ^
14941 error generated.
1495configure:16960: $? = 1
1496configure: failed program was:
1497| /* confdefs.h */
1498| #define PACKAGE_NAME "tesseract"
1499| #define PACKAGE_TARNAME "tesseract"
1500| #define PACKAGE_VERSION "3.04.01"
1501| #define PACKAGE_STRING "tesseract 3.04.01"
1502| #define PACKAGE_BUGREPORT "https://github.com/tesseract-ocr/tesseract/issues"
1503| #define PACKAGE_URL ""
1504| #define PACKAGE_NAME "tesseract"
1505| #define PACKAGE_VERSION "3.04.01"
1506| #define PACKAGE_YEAR "2016"
1507| #define PACKAGE_DATE "02/12"
1508| #define PACKAGE "tesseract"
1509| #define VERSION "3.04.01"
1510| #define STDC_HEADERS 1
1511| #define HAVE_SYS_TYPES_H 1
1512| #define HAVE_SYS_STAT_H 1
1513| #define HAVE_STDLIB_H 1
1514| #define HAVE_STRING_H 1
1515| #define HAVE_MEMORY_H 1
1516| #define HAVE_STRINGS_H 1
1517| #define HAVE_INTTYPES_H 1
1518| #define HAVE_STDINT_H 1
1519| #define HAVE_UNISTD_H 1
1520| #define HAVE_OPENCL_CL_H 1
1521| #define HAVE_TIFFIO_H 1
1522| #define HAVE_FRAMEWORK_OPENCL 1
1523| #define HAVE_DLFCN_H 1
1524| #define LT_OBJDIR ".libs/"
1525| #define HAVE_SNPRINTF 1
1526| #define STDC_HEADERS 1
1527| #define TIME_WITH_SYS_TIME 1
1528| #define HAVE_SYS_WAIT_H 1
1529| #define HAVE_SYS_IPC_H 1
1530| #define HAVE_SYS_SHM_H 1
1531| #define HAVE_LIMITS_H 1
1532| #define HAVE_GETLINE 1
1533| #define HAVE_WCHAR_T 1
1534| #define HAVE_LONG_LONG_INT 1
1535| /* end confdefs.h.  */
1536| #include "sys/types.h"
1537|
1538| int
1539| main ()
1540| {
1541| if (sizeof ((off_t)))
1542|           return 0;
1543|   ;
1544|   return 0;
1545| }
1546configure:16960: result: yes
1547configure:16971: checking for mbstate_t
1548configure:16971: /usr/bin/clang++ -c -pipe -Os -stdlib=libc++ -arch x86_64 -I/opt/local/include conftest.cpp >&5
1549configure:16971: $? = 0
1550configure:16971: /usr/bin/clang++ -c -pipe -Os -stdlib=libc++ -arch x86_64 -I/opt/local/include conftest.cpp >&5
1551conftest.cpp:46:24: error: expected expression
1552if (sizeof ((mbstate_t)))
1553                       ^
15541 error generated.
1555configure:16971: $? = 1
1556configure: failed program was:
1557| /* confdefs.h */
1558| #define PACKAGE_NAME "tesseract"
1559| #define PACKAGE_TARNAME "tesseract"
1560| #define PACKAGE_VERSION "3.04.01"
1561| #define PACKAGE_STRING "tesseract 3.04.01"
1562| #define PACKAGE_BUGREPORT "https://github.com/tesseract-ocr/tesseract/issues"
1563| #define PACKAGE_URL ""
1564| #define PACKAGE_NAME "tesseract"
1565| #define PACKAGE_VERSION "3.04.01"
1566| #define PACKAGE_YEAR "2016"
1567| #define PACKAGE_DATE "02/12"
1568| #define PACKAGE "tesseract"
1569| #define VERSION "3.04.01"
1570| #define STDC_HEADERS 1
1571| #define HAVE_SYS_TYPES_H 1
1572| #define HAVE_SYS_STAT_H 1
1573| #define HAVE_STDLIB_H 1
1574| #define HAVE_STRING_H 1
1575| #define HAVE_MEMORY_H 1
1576| #define HAVE_STRINGS_H 1
1577| #define HAVE_INTTYPES_H 1
1578| #define HAVE_STDINT_H 1
1579| #define HAVE_UNISTD_H 1
1580| #define HAVE_OPENCL_CL_H 1
1581| #define HAVE_TIFFIO_H 1
1582| #define HAVE_FRAMEWORK_OPENCL 1
1583| #define HAVE_DLFCN_H 1
1584| #define LT_OBJDIR ".libs/"
1585| #define HAVE_SNPRINTF 1
1586| #define STDC_HEADERS 1
1587| #define TIME_WITH_SYS_TIME 1
1588| #define HAVE_SYS_WAIT_H 1
1589| #define HAVE_SYS_IPC_H 1
1590| #define HAVE_SYS_SHM_H 1
1591| #define HAVE_LIMITS_H 1
1592| #define HAVE_GETLINE 1
1593| #define HAVE_WCHAR_T 1
1594| #define HAVE_LONG_LONG_INT 1
1595| #define HAVE_OFF_T 1
1596| /* end confdefs.h.  */
1597| #include "wchar.h"
1598|
1599| int
1600| main ()
1601| {
1602| if (sizeof ((mbstate_t)))
1603|           return 0;
1604|   ;
1605|   return 0;
1606| }
1607configure:16971: result: yes
1608configure:16988: checking for leptonica
1609configure:17057: error: leptonica not found
1610
1611## ---------------- ##
1612## Cache variables. ##
1613## ---------------- ##
1614
1615ac_cv_build=x86_64-apple-darwin17.2.0
1616ac_cv_c_bigendian=no
1617ac_cv_c_compiler_gnu=yes
1618ac_cv_cxx_compiler_gnu=yes
1619ac_cv_env_CCC_set=
1620ac_cv_env_CCC_value=
1621ac_cv_env_CC_set=set
1622ac_cv_env_CC_value=/usr/bin/clang
1623ac_cv_env_CFLAGS_set=set
1624ac_cv_env_CFLAGS_value='-pipe -Os -arch x86_64'
1625ac_cv_env_CPPFLAGS_set=set
1626ac_cv_env_CPPFLAGS_value=-I/opt/local/include
1627ac_cv_env_CXXCPP_set=
1628ac_cv_env_CXXCPP_value=
1629ac_cv_env_CXXFLAGS_set=set
1630ac_cv_env_CXXFLAGS_value='-pipe -Os -stdlib=libc++ -arch x86_64'
1631ac_cv_env_CXX_set=set
1632ac_cv_env_CXX_value=/usr/bin/clang++
1633ac_cv_env_LDFLAGS_set=set
1634ac_cv_env_LDFLAGS_value='-L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64'
1635ac_cv_env_LIBLEPT_HEADERSDIR_set=set
1636ac_cv_env_LIBLEPT_HEADERSDIR_value=/opt/local/include/leptonica
1637ac_cv_env_LIBS_set=
1638ac_cv_env_LIBS_value=
1639ac_cv_env_build_alias_set=
1640ac_cv_env_build_alias_value=
1641ac_cv_env_host_alias_set=
1642ac_cv_env_host_alias_value=
1643ac_cv_env_target_alias_set=
1644ac_cv_env_target_alias_value=
1645ac_cv_func_getline=yes
1646ac_cv_func_snprintf=yes
1647ac_cv_header_CL_cl_h=no
1648ac_cv_header_OpenCL_cl_h=yes
1649ac_cv_header_dlfcn_h=yes
1650ac_cv_header_inttypes_h=yes
1651ac_cv_header_limits_h=yes
1652ac_cv_header_malloc_h=no
1653ac_cv_header_memory_h=yes
1654ac_cv_header_stdbool_h=no
1655ac_cv_header_stdc=yes
1656ac_cv_header_stdint_h=yes
1657ac_cv_header_stdlib_h=yes
1658ac_cv_header_string_h=yes
1659ac_cv_header_strings_h=yes
1660ac_cv_header_sys_ipc_h=yes
1661ac_cv_header_sys_shm_h=yes
1662ac_cv_header_sys_stat_h=yes
1663ac_cv_header_sys_types_h=yes
1664ac_cv_header_sys_wait_h=yes
1665ac_cv_header_tiffio_h=yes
1666ac_cv_header_time=yes
1667ac_cv_header_unistd_h=yes
1668ac_cv_host=x86_64-apple-darwin17.2.0
1669ac_cv_objext=o
1670ac_cv_path_EGREP='/usr/bin/grep -E'
1671ac_cv_path_FGREP='/usr/bin/grep -F'
1672ac_cv_path_GREP=/usr/bin/grep
1673ac_cv_path_SED=/usr/bin/sed
1674ac_cv_prog_AWK=awk
1675ac_cv_prog_CXXCPP='/usr/bin/clang++ -E'
1676ac_cv_prog_ac_ct_AR=ar
1677ac_cv_prog_ac_ct_CC=/usr/bin/clang
1678ac_cv_prog_ac_ct_DSYMUTIL=dsymutil
1679ac_cv_prog_ac_ct_LIPO=lipo
1680ac_cv_prog_ac_ct_NMEDIT=nmedit
1681ac_cv_prog_ac_ct_OBJDUMP=objdump
1682ac_cv_prog_ac_ct_OTOOL=otool
1683ac_cv_prog_ac_ct_RANLIB=ranlib
1684ac_cv_prog_ac_ct_STRIP=strip
1685ac_cv_prog_cc_c89=
1686ac_cv_prog_cc_g=yes
1687ac_cv_prog_cxx_g=yes
1688ac_cv_prog_cxx_openmp=unsupported
1689ac_cv_prog_make_make_set=yes
1690ac_cv_search_sem_init='none required'
1691ac_cv_sys_file_offset_bits=no
1692ac_cv_sys_interpreter=yes
1693ac_cv_sys_largefile_CC=no
1694ac_cv_type__Bool=no
1695ac_cv_type_long_long_int=yes
1696ac_cv_type_mbstate_t=yes
1697ac_cv_type_off_t=yes
1698ac_cv_type_wchar_t=yes
1699am_cv_CC_dependencies_compiler_type=gcc3
1700am_cv_CXX_dependencies_compiler_type=gcc3
1701am_cv_make_support_nested_variables=yes
1702lt_cv_apple_cc_single_mod=yes
1703lt_cv_ar_at_file=no
1704lt_cv_deplibs_check_method=pass_all
1705lt_cv_file_magic_cmd='$MAGIC_CMD'
1706lt_cv_file_magic_test_file=
1707lt_cv_ld_exported_symbols_list=yes
1708lt_cv_ld_force_load=yes
1709lt_cv_ld_reload_flag=-r
1710lt_cv_nm_interface='BSD nm'
1711lt_cv_objdir=.libs
1712lt_cv_path_LD=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
1713lt_cv_path_LDCXX=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
1714lt_cv_path_NM='/usr/bin/nm -B'
1715lt_cv_path_mainfest_tool=no
1716lt_cv_prog_compiler_c_o=yes
1717lt_cv_prog_compiler_c_o_CXX=yes
1718lt_cv_prog_compiler_pic='-fno-common -DPIC'
1719lt_cv_prog_compiler_pic_CXX='-fno-common -DPIC'
1720lt_cv_prog_compiler_pic_works=yes
1721lt_cv_prog_compiler_pic_works_CXX=yes
1722lt_cv_prog_compiler_rtti_exceptions=yes
1723lt_cv_prog_compiler_static_works=no
1724lt_cv_prog_compiler_static_works_CXX=no
1725lt_cv_prog_gnu_ld=no
1726lt_cv_prog_gnu_ldcxx=no
1727lt_cv_sharedlib_from_linklib_cmd='printf %s\n'
1728lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[       ]\([BCDEGRST][BCDEGRST]*\)[     ][      ]*_\([_A-Za-z][_A-Za-z0-9]*\)$/\1 _\2 \2/p'\'' | sed '\''/ __gnu_lto/d'\'''
1729lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/  {\"\1\", (void *) 0},/p'\'' -e '\''s/^[BCDEGRST]* \([^ ]*\) \([^ ]*\)$/  {"\2", (void *) \&\2},/p'\'''
1730lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/  {\"\1\", (void *) 0},/p'\'' -e '\''s/^[BCDEGRST]* \([^ ]*\) \(lib[^ ]*\)$/  {"\2", (void *) \&\2},/p'\'' -e '\''s/^[BCDEGRST]* \([^ ]*\) \([^ ]*\)$/  {"lib\2", (void *) \&\2},/p'\'''
1731lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[BCDEGRST]* .* \(.*\)$/extern char \1;/p'\'''
1732lt_cv_sys_max_cmd_len=196608
1733lt_cv_to_host_file_cmd=func_convert_file_noop
1734lt_cv_to_tool_file_cmd=func_convert_file_noop
1735my_cv_framework_OpenCL=yes
1736
1737## ----------------- ##
1738## Output variables. ##
1739## ----------------- ##
1740
1741ACLOCAL='${SHELL} /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_tesseract/tesseract/work/tesseract-3.04.01/config/missing aclocal-1.13'
1742ADD_RT_FALSE=''
1743ADD_RT_TRUE='#'
1744AMDEPBACKSLASH='\'
1745AMDEP_FALSE='#'
1746AMDEP_TRUE=''
1747AMTAR='$${TAR-tar}'
1748AM_BACKSLASH='\'
1749AM_CPPFLAGS=' -O2 -DNDEBUG'
1750AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
1751AM_DEFAULT_VERBOSITY='1'
1752AM_LDFLAGS=''
1753AM_V='$(V)'
1754AR='ar'
1755AUTOCONF='${SHELL} /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_tesseract/tesseract/work/tesseract-3.04.01/config/missing autoconf'
1756AUTOHEADER='${SHELL} /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_tesseract/tesseract/work/tesseract-3.04.01/config/missing autoheader'
1757AUTOMAKE='${SHELL} /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_tesseract/tesseract/work/tesseract-3.04.01/config/missing automake-1.13'
1758AWK='awk'
1759CC='/usr/bin/clang'
1760CCDEPMODE='depmode=gcc3'
1761CFLAGS='-pipe -Os -arch x86_64'
1762CPPFLAGS='-I/opt/local/include'
1763CXX='/usr/bin/clang++'
1764CXXCPP='/usr/bin/clang++ -E'
1765CXXDEPMODE='depmode=gcc3'
1766CXXFLAGS='-pipe -Os -stdlib=libc++ -arch x86_64'
1767CYGPATH_W='echo'
1768DEFS=''
1769DEPDIR='.deps'
1770DLLTOOL='false'
1771DSYMUTIL='dsymutil'
1772DUMPBIN=''
1773ECHO_C='\c'
1774ECHO_N=''
1775ECHO_T=''
1776EGREP='/usr/bin/grep -E'
1777EMBEDDED_FALSE=''
1778EMBEDDED_TRUE='#'
1779ENABLE_TRAINING_FALSE=''
1780ENABLE_TRAINING_TRUE=''
1781EXEEXT=''
1782FGREP='/usr/bin/grep -F'
1783FRAMEWORK_OPENCL='-framework OpenCL'
1784GENERIC_API_VERSION='3.4'
1785GENERIC_LIBRARY_NAME='tesseract'
1786GENERIC_LIBRARY_VERSION='3:4'
1787GENERIC_MAJOR_VERSION='3'
1788GENERIC_RELEASE='3.4'
1789GENERIC_VERSION='3.4.1'
1790GRAPHICS_DISABLED_FALSE=''
1791GRAPHICS_DISABLED_TRUE='#'
1792GREP='/usr/bin/grep'
1793INSTALL_DATA='${INSTALL} -m 644'
1794INSTALL_PROGRAM='${INSTALL}'
1795INSTALL_SCRIPT='${INSTALL}'
1796INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
1797LD='/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld'
1798LDFLAGS='-L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64'
1799LIBLEPT_HEADERSDIR='/opt/local/include/leptonica'
1800LIBOBJS=''
1801LIBS=''
1802LIBTOOL='$(SHELL) $(top_builddir)/libtool'
1803LIPO='lipo'
1804LN_S='ln -s'
1805LTLIBOBJS=''
1806MAINT='#'
1807MAINTAINER_MODE_FALSE=''
1808MAINTAINER_MODE_TRUE='#'
1809MAKEINFO='${SHELL} /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_tesseract/tesseract/work/tesseract-3.04.01/config/missing makeinfo'
1810MANIFEST_TOOL=':'
1811MINGW_FALSE=''
1812MINGW_TRUE='#'
1813MKDIR_P='config/install-sh -c -d'
1814NM='/usr/bin/nm -B'
1815NMEDIT='nmedit'
1816NO_CUBE_BUILD_FALSE=''
1817NO_CUBE_BUILD_TRUE='#'
1818NO_TESSDATA_PREFIX_FALSE=''
1819NO_TESSDATA_PREFIX_TRUE='#'
1820OBJDUMP='objdump'
1821OBJEXT='o'
1822OPENCL_CPPFLAGS=''
1823OPENCL_LDFLAGS=''
1824OPENMP_CXXFLAGS=''
1825OPENMP_FALSE=''
1826OPENMP_TRUE='#'
1827OSX_FALSE=''
1828OSX_TRUE='#'
1829OTOOL64=':'
1830OTOOL='otool'
1831PACKAGE='tesseract'
1832PACKAGE_BUGREPORT='https://github.com/tesseract-ocr/tesseract/issues'
1833PACKAGE_DATE='02/12'
1834PACKAGE_NAME='tesseract'
1835PACKAGE_STRING='tesseract 3.04.01'
1836PACKAGE_TARNAME='tesseract'
1837PACKAGE_URL=''
1838PACKAGE_VERSION='3.04.01'
1839PACKAGE_YEAR='2016'
1840PATH_SEPARATOR=':'
1841RANLIB='ranlib'
1842SED='/usr/bin/sed'
1843SET_MAKE=''
1844SHELL='/bin/sh'
1845STRIP='strip'
1846T_WIN_FALSE=''
1847T_WIN_TRUE='#'
1848USE_OPENCL_FALSE=''
1849USE_OPENCL_TRUE='#'
1850USING_MULTIPLELIBS_FALSE=''
1851USING_MULTIPLELIBS_TRUE='#'
1852VERSION='3.04.01'
1853VISIBILITY_FALSE=''
1854VISIBILITY_TRUE='#'
1855ac_ct_AR='ar'
1856ac_ct_CC='/usr/bin/clang'
1857ac_ct_CXX=''
1858ac_ct_DUMPBIN=''
1859am__EXEEXT_FALSE=''
1860am__EXEEXT_TRUE=''
1861am__fastdepCC_FALSE='#'
1862am__fastdepCC_TRUE=''
1863am__fastdepCXX_FALSE='#'
1864am__fastdepCXX_TRUE=''
1865am__include='include'
1866am__isrc=''
1867am__leading_dot='.'
1868am__nodep='_no'
1869am__quote=''
1870am__tar='$${TAR-tar} chof - "$$tardir"'
1871am__untar='$${TAR-tar} xf -'
1872bindir='${exec_prefix}/bin'
1873build='x86_64-apple-darwin17.2.0'
1874build_alias=''
1875build_cpu='x86_64'
1876build_os='darwin17.2.0'
1877build_vendor='apple'
1878datadir='${datarootdir}'
1879datarootdir='${prefix}/share'
1880docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1881dvidir='${docdir}'
1882exec_prefix='NONE'
1883host='x86_64-apple-darwin17.2.0'
1884host_alias=''
1885host_cpu='x86_64'
1886host_os='darwin17.2.0'
1887host_vendor='apple'
1888htmldir='${docdir}'
1889includedir='${prefix}/include/tesseract'
1890infodir='${datarootdir}/info'
1891install_sh='${SHELL} /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_tesseract/tesseract/work/tesseract-3.04.01/config/install-sh'
1892libdir='${exec_prefix}/lib'
1893libexecdir='${exec_prefix}/libexec'
1894localedir='${datarootdir}/locale'
1895localstatedir='${prefix}/var'
1896mandir='${datarootdir}/man'
1897mkdir_p='$(MKDIR_P)'
1898oldincludedir='/usr/include'
1899pdfdir='${docdir}'
1900prefix='/opt/local'
1901program_transform_name='s,x,x,'
1902psdir='${docdir}'
1903sbindir='${exec_prefix}/sbin'
1904sharedstatedir='${prefix}/com'
1905sysconfdir='${prefix}/etc'
1906target_alias=''
1907
1908## ----------- ##
1909## confdefs.h. ##
1910## ----------- ##
1911
1912/* confdefs.h */
1913#define PACKAGE_NAME "tesseract"
1914#define PACKAGE_TARNAME "tesseract"
1915#define PACKAGE_VERSION "3.04.01"
1916#define PACKAGE_STRING "tesseract 3.04.01"
1917#define PACKAGE_BUGREPORT "https://github.com/tesseract-ocr/tesseract/issues"
1918#define PACKAGE_URL ""
1919#define PACKAGE_NAME "tesseract"
1920#define PACKAGE_VERSION "3.04.01"
1921#define PACKAGE_YEAR "2016"
1922#define PACKAGE_DATE "02/12"
1923#define PACKAGE "tesseract"
1924#define VERSION "3.04.01"
1925#define STDC_HEADERS 1
1926#define HAVE_SYS_TYPES_H 1
1927#define HAVE_SYS_STAT_H 1
1928#define HAVE_STDLIB_H 1
1929#define HAVE_STRING_H 1
1930#define HAVE_MEMORY_H 1
1931#define HAVE_STRINGS_H 1
1932#define HAVE_INTTYPES_H 1
1933#define HAVE_STDINT_H 1
1934#define HAVE_UNISTD_H 1
1935#define HAVE_OPENCL_CL_H 1
1936#define HAVE_TIFFIO_H 1
1937#define HAVE_FRAMEWORK_OPENCL 1
1938#define HAVE_DLFCN_H 1
1939#define LT_OBJDIR ".libs/"
1940#define HAVE_SNPRINTF 1
1941#define STDC_HEADERS 1
1942#define TIME_WITH_SYS_TIME 1
1943#define HAVE_SYS_WAIT_H 1
1944#define HAVE_SYS_IPC_H 1
1945#define HAVE_SYS_SHM_H 1
1946#define HAVE_LIMITS_H 1
1947#define HAVE_GETLINE 1
1948#define HAVE_WCHAR_T 1
1949#define HAVE_LONG_LONG_INT 1
1950#define HAVE_OFF_T 1
1951#define HAVE_MBSTATE_T 1
1952
1953configure: exit 1