Hello, I'm having a problem installed v2.04 and I'm not having a lot of luck in finding a solution
I'm trying to install on CentOS 5, These are the errors I've found in config.log (after configure) /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = i686 /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /usr/kerberos/sbin PATH: /usr/kerberos/bin PATH: /usr/local/bin PATH: /bin PATH: /usr/bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:1825: checking build system type configure:1843: result: i686-pc-linux-gnu configure:1865: checking host system type configure:1880: result: i686-pc-linux-gnu configure:2050: checking for cl.exe configure:2080: result: no configure:2050: checking for g++ configure:2066: found /usr/bin/g++ configure:2077: result: g++ configure:2108: checking for C++ compiler version configure:2115: g++ --version >&5 g++ (GCC) 4.1.2 20080704 (Red Hat 4.1.2-46) Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:2118: $? = 0 configure:2125: g++ -v >&5 Using built-in specs. Target: i386-redhat-linux Configured with: ../configure --prefix=/usr --mandir=/usr/share/man -- infodir=/usr/share/info --enable-shared --enable-threads=posix -- enable-checking=release --with-system-zlib --enable-__cxa_atexit -- disable-libunwind-exceptions --enable-libgcj-multifile --enable- languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk -- disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-1.4.2- gcj-1.4.2.0/jre --with-cpu=generic --host=i386-redhat-linux Thread model: posix gcc version 4.1.2 20080704 (Red Hat 4.1.2-46) configure:2128: $? = 0 configure:2135: g++ -V >&5 g++: '-V' option must have argument configure:2138: $? = 1 configure:2161: checking for C++ compiler default output file name configure:2188: g++ conftest.cpp >&5 configure:2191: $? = 0 configure:2229: result: a.out configure:2246: checking whether the C++ compiler works configure:2256: ./a.out configure:2259: $? = 0 configure:2276: result: yes configure:2283: checking whether we are cross compiling configure:2285: result: no configure:2288: checking for suffix of executables configure:2295: g++ -o conftest conftest.cpp >&5 configure:2298: $? = 0 configure:2322: result: configure:2328: checking for suffix of object files configure:2354: g++ -c conftest.cpp >&5 configure:2357: $? = 0 configure:2380: result: o configure:2384: checking whether we are using the GNU C++ compiler configure:2413: g++ -c conftest.cpp >&5 configure:2419: $? = 0 configure:2436: result: yes configure:2441: checking whether g++ accepts -g configure:2471: g++ -c -g conftest.cpp >&5 configure:2477: $? = 0 configure:2576: result: yes configure:2625: checking for a BSD-compatible install configure:2681: result: /usr/bin/install -c configure:2692: checking whether build environment is sane configure:2735: result: yes configure:2759: WARNING: `missing' script is too old or missing configure:2763: checking for a thread-safe mkdir -p configure:2802: result: /bin/mkdir -p configure:2815: checking for gawk configure:2831: found /bin/gawk configure:2842: result: gawk configure:2853: checking whether make sets $(MAKE) configure:2874: result: yes configure:2904: checking for style of include used by make configure:2932: result: GNU configure:3125: checking dependency style of g++ configure:3216: result: gcc3 configure:3235: checking whether to enable maintainer-specific portions of Makefiles configure:3244: result: no configure:3321: checking for gcc configure:3337: found /usr/bin/gcc configure:3348: result: gcc configure:3586: checking for C compiler version configure:3593: gcc --version >&5 gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-46) Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:3596: $? = 0 configure:3603: gcc -v >&5 Using built-in specs. Target: i386-redhat-linux Configured with: ../configure --prefix=/usr --mandir=/usr/share/man -- infodir=/usr/share/info --enable-shared --enable-threads=posix -- enable-checking=release --with-system-zlib --enable-__cxa_atexit -- disable-libunwind-exceptions --enable-libgcj-multifile --enable- languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk -- disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-1.4.2- gcj-1.4.2.0/jre --with-cpu=generic --host=i386-redhat-linux Thread model: posix gcc version 4.1.2 20080704 (Red Hat 4.1.2-46) configure:3606: $? = 0 configure:3613: gcc -V >&5 gcc: '-V' option must have argument configure:3616: $? = 1 configure:3619: checking whether we are using the GNU C compiler configure:3648: gcc -c conftest.c >&5 configure:3654: $? = 0 configure:3671: result: yes configure:3676: checking whether gcc accepts -g configure:3706: gcc -c -g conftest.c >&5 configure:3712: $? = 0 configure:3811: result: yes configure:3828: checking for gcc option to accept ISO C89 configure:3902: gcc -c -g -O2 conftest.c >&5 configure:3908: $? = 0 configure:3931: result: none needed configure:3951: checking dependency style of gcc configure:4042: result: gcc3 configure:4063: checking how to run the C preprocessor configure:4103: gcc -E conftest.c configure:4109: $? = 0 configure:4140: gcc -E conftest.c conftest.c:14:28: error: ac_nonexistent.h: No such file or directory configure:4146: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "tesseract" | #define PACKAGE_TARNAME "tesseract" | #define PACKAGE_VERSION "2.04" | #define PACKAGE_STRING "tesseract 2.04" | #define PACKAGE_BUGREPORT "[email protected]" | #define PACKAGE_NAME "tesseract" | #define PACKAGE_VERSION "2.04" | #define PACKAGE_YEAR "2009" | #define PACKAGE_DATE "05/29" | #define PACKAGE "tesseract" | #define VERSION "2.04" | /* end confdefs.h. */ | #include <ac_nonexistent.h> configure:4179: result: gcc -E configure:4208: gcc -E conftest.c configure:4214: $? = 0 configure:4245: gcc -E conftest.c conftest.c:14:28: error: ac_nonexistent.h: No such file or directory configure:4251: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "tesseract" | #define PACKAGE_TARNAME "tesseract" | #define PACKAGE_VERSION "2.04" | #define PACKAGE_STRING "tesseract 2.04" | #define PACKAGE_BUGREPORT "[email protected]" | #define PACKAGE_NAME "tesseract" | #define PACKAGE_VERSION "2.04" | #define PACKAGE_YEAR "2009" | #define PACKAGE_DATE "05/29" | #define PACKAGE "tesseract" | #define VERSION "2.04" | /* end confdefs.h. */ | #include <ac_nonexistent.h> configure:4289: checking for grep that handles long lines and -e configure:4363: result: /bin/grep configure:4368: checking for egrep configure:4446: result: /bin/grep -E configure:4451: checking for ANSI C header files configure:4481: gcc -c -g -O2 conftest.c >&5 configure:4487: $? = 0 configure:4586: gcc -o conftest -g -O2 conftest.c >&5 configure:4589: $? = 0 configure:4595: ./conftest configure:4598: $? = 0 configure:4615: result: yes configure:4639: checking for sys/types.h configure:4660: gcc -c -g -O2 conftest.c >&5 configure:4666: $? = 0 configure:4682: result: yes configure:4639: checking for sys/stat.h configure:4660: gcc -c -g -O2 conftest.c >&5 configure:4666: $? = 0 configure:4682: result: yes configure:4639: checking for stdlib.h configure:4660: gcc -c -g -O2 conftest.c >&5 configure:4666: $? = 0 configure:4682: result: yes configure:4639: checking for string.h configure:4660: gcc -c -g -O2 conftest.c >&5 configure:4666: $? = 0 configure:4682: result: yes configure:4639: checking for memory.h configure:4660: gcc -c -g -O2 conftest.c >&5 configure:4666: $? = 0 configure:4682: result: yes configure:4639: checking for strings.h configure:4660: gcc -c -g -O2 conftest.c >&5 configure:4666: $? = 0 configure:4682: result: yes configure:4639: checking for inttypes.h configure:4660: gcc -c -g -O2 conftest.c >&5 configure:4666: $? = 0 configure:4682: result: yes configure:4639: checking for stdint.h configure:4660: gcc -c -g -O2 conftest.c >&5 configure:4666: $? = 0 configure:4682: result: yes configure:4639: checking for unistd.h configure:4660: gcc -c -g -O2 conftest.c >&5 configure:4666: $? = 0 configure:4682: result: yes configure:4694: checking whether byte ordering is bigendian configure:4727: gcc -c -g -O2 conftest.c >&5 configure:4733: $? = 0 configure:4765: gcc -c -g -O2 conftest.c >&5 conftest.c: In function 'main': conftest.c:31: error: 'not' undeclared (first use in this function) conftest.c:31: error: (Each undeclared identifier is reported only once conftest.c:31: error: for each function it appears in.) conftest.c:31: error: expected ';' before 'big' configure:4771: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "tesseract" | #define PACKAGE_TARNAME "tesseract" | #define PACKAGE_VERSION "2.04" | #define PACKAGE_STRING "tesseract 2.04" | #define PACKAGE_BUGREPORT "[email protected]" | #define PACKAGE_NAME "tesseract" | #define PACKAGE_VERSION "2.04" | #define PACKAGE_YEAR "2009" | #define PACKAGE_DATE "05/29" | #define PACKAGE "tesseract" | #define VERSION "2.04" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | /* end confdefs.h. */ | #include <sys/types.h> | #include <sys/param.h> | | int | main () | { | #if BYTE_ORDER != BIG_ENDIAN | not big endian | #endif | | ; | return 0; | } configure:4911: result: no configure:4981: checking for ranlib configure:4997: found /usr/bin/ranlib configure:5008: result: ranlib configure:5140: checking for deflate in -lz configure:5175: g++ -o conftest -g -O2 conftest.cpp -lz >&5 configure:5181: $? = 0 configure:5199: result: yes configure:5211: checking for png_read_png in -lpng configure:5246: g++ -o conftest -g -O2 conftest.cpp -lpng -lz >&5 configure:5252: $? = 0 configure:5270: result: yes configure:5282: checking for jpeg_read_scanlines in -ljpeg configure:5317: g++ -o conftest -g -O2 conftest.cpp -ljpeg -lpng - lz >&5 configure:5323: $? = 0 configure:5341: result: yes configure:5353: checking for sem_init in -lpthread configure:5388: g++ -o conftest -g -O2 conftest.cpp -lpthread - ljpeg -lpng -lz >&5 configure:5394: $? = 0 configure:5412: result: yes configure:5519: checking how to run the C++ preprocessor configure:5555: g++ -E conftest.cpp configure:5561: $? = 0 configure:5592: g++ -E conftest.cpp conftest.cpp:28:28: error: ac_nonexistent.h: No such file or directory configure:5598: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "tesseract" | #define PACKAGE_TARNAME "tesseract" | #define PACKAGE_VERSION "2.04" | #define PACKAGE_STRING "tesseract 2.04" | #define PACKAGE_BUGREPORT "[email protected]" | #define PACKAGE_NAME "tesseract" | #define PACKAGE_VERSION "2.04" | #define PACKAGE_YEAR "2009" | #define PACKAGE_DATE "05/29" | #define PACKAGE "tesseract" | #define VERSION "2.04" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBPNG 1 | #define HAVE_LIBJPEG 1 | #define HAVE_LIBPTHREAD 1 | /* end confdefs.h. */ | #include <ac_nonexistent.h> configure:5631: result: g++ -E configure:5660: g++ -E conftest.cpp configure:5666: $? = 0 configure:5697: g++ -E conftest.cpp conftest.cpp:28:28: error: ac_nonexistent.h: No such file or directory configure:5703: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "tesseract" | #define PACKAGE_TARNAME "tesseract" | #define PACKAGE_VERSION "2.04" | #define PACKAGE_STRING "tesseract 2.04" | #define PACKAGE_BUGREPORT "[email protected]" | #define PACKAGE_NAME "tesseract" | #define PACKAGE_VERSION "2.04" | #define PACKAGE_YEAR "2009" | #define PACKAGE_DATE "05/29" | #define PACKAGE "tesseract" | #define VERSION "2.04" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBPNG 1 | #define HAVE_LIBJPEG 1 | #define HAVE_LIBPTHREAD 1 | /* end confdefs.h. */ | #include <ac_nonexistent.h> configure:5741: checking for ANSI C header files configure:5905: result: yes configure:5915: checking whether time.h and sys/time.h may both be included configure:5945: g++ -c -g -O2 conftest.cpp >&5 configure:5951: $? = 0 configure:5966: result: yes configure:5976: checking for sys/wait.h that is POSIX.1 compatible configure:6012: g++ -c -g -O2 conftest.cpp >&5 configure:6018: $? = 0 configure:6033: result: yes configure:6059: checking sys/ipc.h usability configure:6076: g++ -c -g -O2 conftest.cpp >&5 configure:6082: $? = 0 configure:6096: result: yes configure:6100: checking sys/ipc.h presence configure:6115: g++ -E conftest.cpp configure:6121: $? = 0 configure:6135: result: yes configure:6168: checking for sys/ipc.h configure:6176: result: yes configure:6059: checking sys/shm.h usability configure:6076: g++ -c -g -O2 conftest.cpp >&5 configure:6082: $? = 0 configure:6096: result: yes configure:6100: checking sys/shm.h presence configure:6115: g++ -E conftest.cpp configure:6121: $? = 0 configure:6135: result: yes configure:6168: checking for sys/shm.h configure:6176: result: yes configure:6205: checking limits.h usability configure:6222: g++ -c -g -O2 conftest.cpp >&5 configure:6228: $? = 0 configure:6242: result: yes configure:6246: checking limits.h presence configure:6261: g++ -E conftest.cpp configure:6267: $? = 0 configure:6281: result: yes configure:6314: checking for limits.h configure:6322: result: yes configure:6205: checking malloc.h usability configure:6222: g++ -c -g -O2 conftest.cpp >&5 configure:6228: $? = 0 configure:6242: result: yes configure:6246: checking malloc.h presence configure:6261: g++ -E conftest.cpp configure:6267: $? = 0 configure:6281: result: yes configure:6314: checking for malloc.h configure:6322: result: yes configure:6350: checking allheaders.h usability configure:6367: g++ -c -g -O2 conftest.cpp >&5 conftest.cpp:68:24: error: allheaders.h: No such file or directory configure:6373: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "tesseract" | #define PACKAGE_TARNAME "tesseract" | #define PACKAGE_VERSION "2.04" | #define PACKAGE_STRING "tesseract 2.04" | #define PACKAGE_BUGREPORT "[email protected]" | #define PACKAGE_NAME "tesseract" | #define PACKAGE_VERSION "2.04" | #define PACKAGE_YEAR "2009" | #define PACKAGE_DATE "05/29" | #define PACKAGE "tesseract" | #define VERSION "2.04" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBPNG 1 | #define HAVE_LIBJPEG 1 | #define HAVE_LIBPTHREAD 1 | #define STDC_HEADERS 1 | #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_MALLOC_H 1 | /* end confdefs.h. */ | #include <stdio.h> | #ifdef HAVE_SYS_TYPES_H | # include <sys/types.h> | #endif | #ifdef HAVE_SYS_STAT_H | # include <sys/stat.h> | #endif | #ifdef STDC_HEADERS | # include <stdlib.h> | # include <stddef.h> | #else | # ifdef HAVE_STDLIB_H | # include <stdlib.h> | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include <memory.h> | # endif | # include <string.h> | #endif | #ifdef HAVE_STRINGS_H | # include <strings.h> | #endif | #ifdef HAVE_INTTYPES_H | # include <inttypes.h> | #endif | #ifdef HAVE_STDINT_H | # include <stdint.h> | #endif | #ifdef HAVE_UNISTD_H | # include <unistd.h> | #endif | #include <allheaders.h> configure:6387: result: no configure:6391: checking allheaders.h presence configure:6406: g++ -E conftest.cpp conftest.cpp:35:24: error: allheaders.h: No such file or directory configure:6412: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "tesseract" | #define PACKAGE_TARNAME "tesseract" | #define PACKAGE_VERSION "2.04" | #define PACKAGE_STRING "tesseract 2.04" | #define PACKAGE_BUGREPORT "[email protected]" | #define PACKAGE_NAME "tesseract" | #define PACKAGE_VERSION "2.04" | #define PACKAGE_YEAR "2009" | #define PACKAGE_DATE "05/29" | #define PACKAGE "tesseract" | #define VERSION "2.04" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBPNG 1 | #define HAVE_LIBJPEG 1 | #define HAVE_LIBPTHREAD 1 | #define STDC_HEADERS 1 | #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_MALLOC_H 1 | /* end confdefs.h. */ | #include <allheaders.h> configure:6426: result: no configure:6459: checking for allheaders.h configure:6467: result: no configure:6481: checking for stdbool.h that conforms to C99 configure:6574: g++ -c -g -O2 conftest.cpp >&5 configure:6580: $? = 0 configure:6595: result: yes configure:6597: checking for _Bool configure:6627: g++ -c -g -O2 conftest.cpp >&5 conftest.cpp:68: error: '_Bool' does not name a type conftest.cpp: In function 'int main()': conftest.cpp:72: error: 'ac__type_new_' was not declared in this scope conftest.cpp:72: error: expected primary-expression before ')' token conftest.cpp:72: error: expected `)' before numeric constant conftest.cpp:74: error: 'ac__type_new_' was not declared in this scope configure:6633: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "tesseract" | #define PACKAGE_TARNAME "tesseract" | #define PACKAGE_VERSION "2.04" | #define PACKAGE_STRING "tesseract 2.04" | #define PACKAGE_BUGREPORT "[email protected]" | #define PACKAGE_NAME "tesseract" | #define PACKAGE_VERSION "2.04" | #define PACKAGE_YEAR "2009" | #define PACKAGE_DATE "05/29" | #define PACKAGE "tesseract" | #define VERSION "2.04" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBPNG 1 | #define HAVE_LIBJPEG 1 | #define HAVE_LIBPTHREAD 1 | #define STDC_HEADERS 1 | #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_MALLOC_H 1 | /* end confdefs.h. */ | #include <stdio.h> | #ifdef HAVE_SYS_TYPES_H | # include <sys/types.h> | #endif | #ifdef HAVE_SYS_STAT_H | # include <sys/stat.h> | #endif | #ifdef STDC_HEADERS | # include <stdlib.h> | # include <stddef.h> | #else | # ifdef HAVE_STDLIB_H | # include <stdlib.h> | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include <memory.h> | # endif | # include <string.h> | #endif | #ifdef HAVE_STRINGS_H | # include <strings.h> | #endif | #ifdef HAVE_INTTYPES_H | # include <inttypes.h> | #endif | #ifdef HAVE_STDINT_H | # include <stdint.h> | #endif | #ifdef HAVE_UNISTD_H | # include <unistd.h> | #endif | typedef _Bool ac__type_new_; | int | main () | { | if ((ac__type_new_ *) 0) | return 0; | if (sizeof (ac__type_new_)) | return 0; | ; | return 0; | } configure:6648: result: no configure:6669: checking whether #! works in shell scripts configure:6686: result: yes configure:6697: checking for special C compiler options needed for large files configure:6790: result: no configure:6796: checking for _FILE_OFFSET_BITS value needed for large files configure:6831: g++ -c -g -O2 conftest.cpp >&5 conftest.cpp:42: warning: left shift count >= width of type conftest.cpp:42: warning: left shift count >= width of type conftest.cpp:43: warning: left shift count >= width of type conftest.cpp:43: warning: left shift count >= width of type conftest.cpp:44: error: size of array 'off_t_is_large' is negative configure:6837: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "tesseract" | #define PACKAGE_TARNAME "tesseract" | #define PACKAGE_VERSION "2.04" | #define PACKAGE_STRING "tesseract 2.04" | #define PACKAGE_BUGREPORT "[email protected]" | #define PACKAGE_NAME "tesseract" | #define PACKAGE_VERSION "2.04" | #define PACKAGE_YEAR "2009" | #define PACKAGE_DATE "05/29" | #define PACKAGE "tesseract" | #define VERSION "2.04" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBPNG 1 | #define HAVE_LIBJPEG 1 | #define HAVE_LIBPTHREAD 1 | #define STDC_HEADERS 1 | #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_MALLOC_H 1 | #define HAVE_STDBOOL_H 1 | /* end confdefs.h. */ | #include <sys/types.h> | /* Check that off_t can represent 2**63 - 1 correctly. | We can't simply define LARGE_OFF_T to be 9223372036854775807, | since some C++ compilers masquerading as C compilers | incorrectly reject 9223372036854775807. */ | #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) | int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 | && LARGE_OFF_T % 2147483647 == 1) | ? 1 : -1]; | int | main () | { | | ; | return 0; | } configure:6881: g++ -c -g -O2 conftest.cpp >&5 configure:6887: $? = 0 configure:6905: result: 64 configure:7046: checking for wchar_t configure:7076: g++ -c -g -O2 conftest.cpp >&5 configure:7082: $? = 0 configure:7097: result: yes configure:7108: checking for long long int configure:7138: g++ -c -g -O2 conftest.cpp >&5 configure:7144: $? = 0 configure:7159: result: yes configure:7170: checking for mbstate_t configure:7201: g++ -c -g -O2 conftest.cpp >&5 configure:7207: $? = 0 configure:7222: result: yes configure:7236: checking for size_t configure:7266: g++ -c -g -O2 conftest.cpp >&5 configure:7272: $? = 0 configure:7287: result: yes configure:7312: checking for stdlib.h configure:7318: result: yes configure:7312: checking for unistd.h configure:7318: result: yes configure:7456: checking for getpagesize configure:7512: g++ -o conftest -g -O2 conftest.cpp -lpthread -ljpeg -lpng -lz >&5 configure:7518: $? = 0 configure:7536: result: yes configure:7546: checking for working mmap configure:7693: g++ -o conftest -g -O2 conftest.cpp -lpthread -ljpeg -lpng -lz >&5 configure:7696: $? = 0 configure:7702: ./conftest configure:7705: $? = 0 configure:7721: result: yes configure:7732: checking for pid_t configure:7762: g++ -c -g -O2 conftest.cpp >&5 configure:7768: $? = 0 configure:7783: result: yes configure:7810: checking vfork.h usability configure:7827: g++ -c -g -O2 conftest.cpp >&5 conftest.cpp:77:19: error: vfork.h: No such file or directory configure:7833: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "tesseract" | #define PACKAGE_TARNAME "tesseract" | #define PACKAGE_VERSION "2.04" | #define PACKAGE_STRING "tesseract 2.04" | #define PACKAGE_BUGREPORT "[email protected]" | #define PACKAGE_NAME "tesseract" | #define PACKAGE_VERSION "2.04" | #define PACKAGE_YEAR "2009" | #define PACKAGE_DATE "05/29" | #define PACKAGE "tesseract" | #define VERSION "2.04" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBPNG 1 | #define HAVE_LIBJPEG 1 | #define HAVE_LIBPTHREAD 1 | #define STDC_HEADERS 1 | #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_MALLOC_H 1 | #define HAVE_STDBOOL_H 1 | #define _FILE_OFFSET_BITS 64 | #define HAVE_WCHAR_T 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_MBSTATE_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_MMAP 1 | /* end confdefs.h. */ | #include <stdio.h> | #ifdef HAVE_SYS_TYPES_H | # include <sys/types.h> | #endif | #ifdef HAVE_SYS_STAT_H | # include <sys/stat.h> | #endif | #ifdef STDC_HEADERS | # include <stdlib.h> | # include <stddef.h> | #else | # ifdef HAVE_STDLIB_H | # include <stdlib.h> | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include <memory.h> | # endif | # include <string.h> | #endif | #ifdef HAVE_STRINGS_H | # include <strings.h> | #endif | #ifdef HAVE_INTTYPES_H | # include <inttypes.h> | #endif | #ifdef HAVE_STDINT_H | # include <stdint.h> | #endif | #ifdef HAVE_UNISTD_H | # include <unistd.h> | #endif | #include <vfork.h> configure:7847: result: no configure:7851: checking vfork.h presence configure:7866: g++ -E conftest.cpp conftest.cpp:44:19: error: vfork.h: No such file or directory configure:7872: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "tesseract" | #define PACKAGE_TARNAME "tesseract" | #define PACKAGE_VERSION "2.04" | #define PACKAGE_STRING "tesseract 2.04" | #define PACKAGE_BUGREPORT "[email protected]" | #define PACKAGE_NAME "tesseract" | #define PACKAGE_VERSION "2.04" | #define PACKAGE_YEAR "2009" | #define PACKAGE_DATE "05/29" | #define PACKAGE "tesseract" | #define VERSION "2.04" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBPNG 1 | #define HAVE_LIBJPEG 1 | #define HAVE_LIBPTHREAD 1 | #define STDC_HEADERS 1 | #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_MALLOC_H 1 | #define HAVE_STDBOOL_H 1 | #define _FILE_OFFSET_BITS 64 | #define HAVE_WCHAR_T 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_MBSTATE_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_MMAP 1 | /* end confdefs.h. */ | #include <vfork.h> configure:7886: result: no configure:7919: checking for vfork.h configure:7927: result: no configure:7945: checking for fork configure:8001: g++ -o conftest -g -O2 conftest.cpp -lpthread -ljpeg -lpng -lz >&5 configure:8007: $? = 0 configure:8025: result: yes configure:7945: checking for vfork configure:8001: g++ -o conftest -g -O2 conftest.cpp -lpthread -ljpeg -lpng -lz >&5 configure:8007: $? = 0 configure:8025: result: yes configure:8036: checking for working fork configure:8068: g++ -o conftest -g -O2 conftest.cpp -lpthread -ljpeg -lpng -lz >&5 configure:8071: $? = 0 configure:8077: ./conftest configure:8080: $? = 0 configure:8096: result: yes configure:8117: checking for working vfork configure:8255: result: yes configure:8291: checking for strerror configure:8347: g++ -o conftest -g -O2 conftest.cpp -lpthread -ljpeg -lpng -lz >&5 configure:8353: $? = 0 configure:8371: result: yes configure:8291: checking for vsnprintf configure:8347: g++ -o conftest -g -O2 conftest.cpp -lpthread -ljpeg -lpng -lz >&5 configure:8353: $? = 0 configure:8371: result: yes configure:8385: checking for gethostname configure:8441: g++ -o conftest -g -O2 conftest.cpp -lpthread -ljpeg -lpng -lz >&5 configure:8447: $? = 0 configure:8465: result: yes configure:8480: checking for strchr configure:8536: g++ -o conftest -g -O2 conftest.cpp -lpthread -ljpeg -lpng -lz >&5 configure:8542: $? = 0 configure:8560: result: yes configure:8480: checking for memcpy configure:8536: g++ -o conftest -g -O2 conftest.cpp -lpthread -ljpeg -lpng -lz >&5 configure:8542: $? = 0 configure:8560: result: yes configure:8575: checking for acos configure:8631: g++ -o conftest -g -O2 conftest.cpp -lpthread -ljpeg -lpng -lz >&5 configure:8637: $? = 0 configure:8655: result: yes configure:8575: checking for asin configure:8631: g++ -o conftest -g -O2 conftest.cpp -lpthread -ljpeg -lpng -lz >&5 configure:8637: $? = 0 configure:8655: result: yes configure:8696: checking for Leffler libtiff library configure:8794: checking linking with -ltiff configure:8832: g++ -o conftest -g -O2 conftest.cpp -lpthread - ljpeg -lpng -lz -ltiff -lm >&5 configure:8838: $? = 0 configure:8857: result: ok configure:8873: result: setting LIBTIFF_CFLAGS= configure:8875: result: setting LIBTIFF_LIBS=-ltiff configure:9103: creating ./config.status ## ---------------------- ## ## Running config.status. ## ## ---------------------- ## This file was extended by tesseract config.status 2.04, which was generated by GNU Autoconf 2.61. Invocation command line was CONFIG_FILES = CONFIG_HEADERS = CONFIG_LINKS = CONFIG_COMMANDS = $ ./config.status on localhost.localdomain config.status:688: creating Makefile config.status:688: creating ccmain/Makefile config.status:688: creating ccstruct/Makefile config.status:688: creating ccutil/Makefile config.status:688: creating classify/Makefile config.status:688: creating cutil/Makefile config.status:688: creating dict/Makefile config.status:688: creating pageseg/Makefile config.status:688: creating image/Makefile config.status:688: creating textord/Makefile config.status:688: creating viewer/Makefile config.status:688: creating wordrec/Makefile config.status:688: creating training/Makefile config.status:688: creating tessdata/Makefile config.status:688: creating tessdata/configs/Makefile config.status:688: creating tessdata/tessconfigs/Makefile config.status:688: creating testing/Makefile config.status:688: creating dlltest/Makefile config.status:688: creating java/Makefile config.status:688: creating java/com/Makefile config.status:688: creating java/com/google/Makefile config.status:688: creating java/com/google/scrollview/Makefile config.status:688: creating java/com/google/scrollview/events/Makefile config.status:688: creating java/com/google/scrollview/ui/Makefile config.status:688: creating config_auto.h config.status:958: config_auto.h is unchanged config.status:1005: executing depfiles commands ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=i686-pc-linux-gnu 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= ac_cv_env_CPPFLAGS_value= ac_cv_env_CPP_set= ac_cv_env_CPP_value= 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_LDFLAGS_set= ac_cv_env_LDFLAGS_value= ac_cv_env_LIBS_set= ac_cv_env_LIBS_value= ac_cv_env_LIBTIFF_CFLAGS_set= ac_cv_env_LIBTIFF_CFLAGS_value= ac_cv_env_LIBTIFF_LIBS_set= ac_cv_env_LIBTIFF_LIBS_value= ac_cv_env_build_alias_set= ac_cv_env_build_alias_value= ac_cv_env_host_alias_set= ac_cv_env_host_alias_value= ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_func_acos=yes ac_cv_func_asin=yes ac_cv_func_fork=yes ac_cv_func_fork_works=yes ac_cv_func_gethostname=yes ac_cv_func_getpagesize=yes ac_cv_func_memcpy=yes ac_cv_func_mmap_fixed_mapped=yes ac_cv_func_strchr=yes ac_cv_func_strerror=yes ac_cv_func_vfork=yes ac_cv_func_vfork_works=yes ac_cv_func_vsnprintf=yes ac_cv_header_allheaders_h=no ac_cv_header_inttypes_h=yes ac_cv_header_limits_h=yes ac_cv_header_malloc_h=yes ac_cv_header_memory_h=yes ac_cv_header_stdbool_h=yes ac_cv_header_stdc=yes ac_cv_header_stdint_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_types_h=yes ac_cv_header_sys_wait_h=yes ac_cv_header_time=yes ac_cv_header_unistd_h=yes ac_cv_header_vfork_h=no ac_cv_host=i686-pc-linux-gnu ac_cv_lib_jpeg_jpeg_read_scanlines=yes ac_cv_lib_png_png_read_png=yes ac_cv_lib_pthread_sem_init=yes ac_cv_lib_z_deflate=yes ac_cv_objext=o ac_cv_path_EGREP='/bin/grep -E' ac_cv_path_GREP=/bin/grep ac_cv_path_install='/usr/bin/install -c' ac_cv_path_mkdir=/bin/mkdir ac_cv_prog_AWK=gawk ac_cv_prog_CPP='gcc -E' ac_cv_prog_CXXCPP='g++ -E' ac_cv_prog_ac_ct_CC=gcc ac_cv_prog_ac_ct_CXX=g++ ac_cv_prog_ac_ct_RANLIB=ranlib ac_cv_prog_cc_c89= ac_cv_prog_cc_g=yes ac_cv_prog_cxx_g=yes ac_cv_prog_make_make_set=yes ac_cv_sys_file_offset_bits=64 ac_cv_sys_interpreter=yes ac_cv_sys_largefile_CC=no ac_cv_type__Bool=no ac_cv_type_long_long_int=yes ac_cv_type_mbstate_t=yes ac_cv_type_pid_t=yes ac_cv_type_size_t=yes ac_cv_type_wchar_t=yes am_cv_CC_dependencies_compiler_type=gcc3 am_cv_CXX_dependencies_compiler_type=gcc3 ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='aclocal-1.10' AMDEPBACKSLASH='\' AMDEP_FALSE='#' AMDEP_TRUE='' AMTAR='tar' AUTOCONF='autoconf' AUTOHEADER='autoheader' AUTOMAKE='automake-1.10' AWK='gawk' CC='gcc' CCDEPMODE='depmode=gcc3' CFLAGS=' -g -O2' CPP='gcc -E' CPPFLAGS='' CXX='g++' CXXCPP='g++ -E' CXXDEPMODE='depmode=gcc3' CXXFLAGS=' -g -O2' CYGPATH_W='echo' DEFS='-DHAVE_CONFIG_H' DEPDIR='.deps' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='/bin/grep -E' EXEEXT='' GREP='/bin/grep' HAVE_LIBTIFF_FALSE='#' HAVE_LIBTIFF_TRUE='' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' LDFLAGS='' LIBOBJS='' LIBS='-ltiff -lpthread -ljpeg -lpng -lz -lm' LIBTIFF_CFLAGS='' LIBTIFF_LIBS='-ltiff' LTLIBOBJS='' MAINT='#' MAINTAINER_MODE_FALSE='' MAINTAINER_MODE_TRUE='#' MAKEINFO='makeinfo' OBJEXT='o' PACKAGE='tesseract' PACKAGE_BUGREPORT='[email protected]' PACKAGE_DATE='05/29' PACKAGE_NAME='tesseract' PACKAGE_STRING='tesseract 2.04' PACKAGE_TARNAME='tesseract' PACKAGE_VERSION='2.04' PACKAGE_YEAR='2009' PATH_SEPARATOR=':' RANLIB='ranlib' SET_MAKE='' SHELL='/bin/sh' STRIP='' USING_CL_FALSE='' USING_CL_TRUE='#' VERSION='2.04' ac_ct_CC='gcc' ac_ct_CXX='g++' am__fastdepCC_FALSE='#' am__fastdepCC_TRUE='' am__fastdepCXX_FALSE='#' am__fastdepCXX_TRUE='' am__include='include' am__isrc='' am__leading_dot='.' am__quote='' am__tar='${AMTAR} chof - "$$tardir"' am__untar='${AMTAR} xf -' bindir='${exec_prefix}/bin' build='i686-pc-linux-gnu' build_alias='' build_cpu='i686' build_os='linux-gnu' build_vendor='pc' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' exec_prefix='${prefix}' host='i686-pc-linux-gnu' host_alias='' host_cpu='i686' host_os='linux-gnu' host_vendor='pc' htmldir='${docdir}' includedir='${prefix}/include/tesseract' infodir='${datarootdir}/info' install_sh='$(SHELL) /home/analog/tesseract-2.04/config/install-sh' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='${prefix}/var' mandir='${datarootdir}/man' mkdir_p='/bin/mkdir -p' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='/usr/local' program_transform_name='s,x,x,' psdir='${docdir}' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target_alias='' ## ----------- ## ## confdefs.h. ## ## ----------- ## #define PACKAGE_NAME "tesseract" #define PACKAGE_TARNAME "tesseract" #define PACKAGE_VERSION "2.04" #define PACKAGE_STRING "tesseract 2.04" #define PACKAGE_BUGREPORT "[email protected]" #define PACKAGE_NAME "tesseract" #define PACKAGE_VERSION "2.04" #define PACKAGE_YEAR "2009" #define PACKAGE_DATE "05/29" #define PACKAGE "tesseract" #define VERSION "2.04" #define STDC_HEADERS 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STRING_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_LIBZ 1 #define HAVE_LIBPNG 1 #define HAVE_LIBJPEG 1 #define HAVE_LIBPTHREAD 1 #define STDC_HEADERS 1 #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_MALLOC_H 1 #define HAVE_STDBOOL_H 1 #define _FILE_OFFSET_BITS 64 #define HAVE_WCHAR_T 1 #define HAVE_LONG_LONG_INT 1 #define HAVE_MBSTATE_T 1 #define HAVE_STDLIB_H 1 #define HAVE_UNISTD_H 1 #define HAVE_GETPAGESIZE 1 #define HAVE_MMAP 1 #define HAVE_FORK 1 #define HAVE_VFORK 1 #define HAVE_WORKING_VFORK 1 #define HAVE_WORKING_FORK 1 #define HAVE_STRERROR 1 #define HAVE_VSNPRINTF 1 #define HAVE_GETHOSTNAME 1 #define HAVE_STRCHR 1 #define HAVE_MEMCPY 1 #define HAVE_ACOS 1 #define HAVE_ASIN 1 #define HAVE_LIBTIFF 1 configure: exit 0 If I make & make check, the only thing that comes up with a error is Making check in java make[1]: Entering directory `/home/analog/tesseract-2.04/java' make[1]: *** No rule to make target `check'. Stop. make[1]: Leaving directory `/home/analog/tesseract-2.04/java' make: *** [check-recursive] Error 1 Any ideas? TIA --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "tesseract-ocr" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/tesseract-ocr?hl=en -~----------~----~----~----~------~----~------~--~---

