This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by gocr configure 0.41, which was generated by GNU Autoconf 2.61. Invocation command line was $ ./configure ## --------- ## ## Platform. ## ## --------- ## hostname = darwintel uname -m = x86 uname -r = 8.0.1 uname -s = Darwin uname -v = Darwin Kernel Version 8.0.1: Fri Apr 29 12:18:40 PDT 2005; root:xnu-792.obj/RELEASE_I386 /usr/bin/uname -p = i386 /bin/uname -X = unknown /bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = Mach kernel version: Darwin Kernel Version 8.0.1: Fri Apr 29 12:18:40 PDT 2005; root:xnu-792.obj/RELEASE_I386 Kernel configured for up to 4 processors. 4 processors are physically available. Processor type: pentpro (Intel Pentium Pro) Processors active: 0 1 2 3 Primary memory available: 1023.00 megabytes Default processor set: 151 tasks, 207 threads, 4 processors Load average: 1.39, Mach factor: 2.59 /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /var/root/usr/local/bin PATH: /var/root/usr/bin PATH: /var/root/usr/X11R6/bin PATH: /Users/proclus/gnu-darwin-func/admin PATH: /usr/local/bin PATH: /usr/X11R6/bin PATH: /sbin PATH: /usr/sbin PATH: /Users/proclus/usr/local/bin PATH: /Users/proclus/usr/bin PATH: /Users/proclus/usr/X11R6/bin PATH: /Users/proclus/gnu-darwin-func/admin PATH: /usr/local/bin PATH: /usr/X11R6/bin PATH: /sbin PATH: /usr/sbin PATH: /Users/proclus/usr/local/bin PATH: /Users/proclus/usr/bin PATH: /Users/proclus/usr/X11R6/bin PATH: /Users/proclus/gnu-darwin-func/admin PATH: /usr/local/bin PATH: /usr/X11R6/bin PATH: /sbin PATH: /usr/sbin PATH: /Users/proclus/usr/local/bin PATH: /Users/proclus/usr/bin PATH: /Users/proclus/usr/X11R6/bin PATH: /Users/proclus/gnu-darwin-func/admin PATH: /usr/local/bin PATH: /usr/X11R6/bin PATH: /sbin PATH: /usr/sbin PATH: /bin PATH: /sbin PATH: /usr/bin PATH: /usr/sbin ## ----------- ## ## Core tests. ## ## ----------- ## configure:1746: checking for gcc configure:1762: found /usr/bin/gcc configure:1773: result: gcc configure:2011: checking for C compiler version configure:2018: gcc --version >&5 gcc (GCC) 3.3 20030304 (Apple Computer, Inc. build 1809) Copyright (C) 2002 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:2021: $? = 0 configure:2028: gcc -v >&5 Reading specs from /usr/libexec/gcc/darwin/i386/3.3/specs Thread model: posix gcc version 3.3 20030304 (Apple Computer, Inc. build 1809) configure:2031: $? = 0 configure:2038: gcc -V >&5 gcc: `-V' option must have argument configure:2041: $? = 1 configure:2064: checking for C compiler default output file name configure:2091: gcc -fno-common conftest.c >&5 configure:2094: $? = 0 configure:2132: result: a.out configure:2149: checking whether the C compiler works configure:2159: ./a.out configure:2162: $? = 0 configure:2179: result: yes configure:2186: checking whether we are cross compiling configure:2188: result: no configure:2191: checking for suffix of executables configure:2198: gcc -o conftest -fno-common conftest.c >&5 configure:2201: $? = 0 configure:2225: result: configure:2231: checking for suffix of object files configure:2257: gcc -c -fno-common conftest.c >&5 configure:2260: $? = 0 configure:2283: result: configure:2287: checking whether we are using the GNU C compiler configure:2316: gcc -c -fno-common conftest.c >&5 configure:2322: $? = 0 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "gocr" | #define PACKAGE_TARNAME "gocr" | #define PACKAGE_VERSION "0.41" | #define PACKAGE_STRING "gocr 0.41" | #define PACKAGE_BUGREPORT "" | /* end confdefs.h. */ | | int | main () | { | #ifndef __GNUC__ | choke me | #endif | | ; | return 0; | } configure:2339: result: no configure:2344: checking whether gcc accepts -g configure:2374: gcc -c -g conftest.c >&5 configure:2380: $? = 0 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "gocr" | #define PACKAGE_TARNAME "gocr" | #define PACKAGE_VERSION "0.41" | #define PACKAGE_STRING "gocr 0.41" | #define PACKAGE_BUGREPORT "" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:2412: gcc -c conftest.c >&5 configure:2418: $? = 0 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "gocr" | #define PACKAGE_TARNAME "gocr" | #define PACKAGE_VERSION "0.41" | #define PACKAGE_STRING "gocr 0.41" | #define PACKAGE_BUGREPORT "" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:2451: gcc -c -g conftest.c >&5 configure:2457: $? = 0 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "gocr" | #define PACKAGE_TARNAME "gocr" | #define PACKAGE_VERSION "0.41" | #define PACKAGE_STRING "gocr 0.41" | #define PACKAGE_BUGREPORT "" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:2479: result: no configure:2496: checking for gcc option to accept ISO C89 configure:2570: gcc -c -fno-common conftest.c >&5 configure:2576: $? = 0 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "gocr" | #define PACKAGE_TARNAME "gocr" | #define PACKAGE_VERSION "0.41" | #define PACKAGE_STRING "gocr 0.41" | #define PACKAGE_BUGREPORT "" | /* end confdefs.h. */ | #include | #include | #include | #include | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | struct buf { int x; }; | FILE * (*rcsopen) (struct buf *, struct stat *, int); | static char *e (p, i) | char **p; | int i; | { | return p[i]; | } | static char *f (char * (*g) (char **, int), char **p, ...) | { | char *s; | va_list v; | va_start (v,p); | s = g (p, va_arg (v,int)); | va_end (v); | return s; | } | | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | function prototypes and stuff, but not '\xHH' hex character constants. | These don't provoke an error unfortunately, instead are silently treated | as 'x'. The following induces an error, until -std is added to get | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an | array size at least. It's necessary to write '\x00'==0 to get something | that's true only with -std. */ | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters | inside strings and character constants. */ | #define FOO(x) 'x' | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; | | int test (int i, double x); | struct s1 {int (*f) (int a);}; | struct s2 {int (*f) (double a);}; | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | int argc; | char **argv; | int | main () | { | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | ; | return 0; | } configure:2570: gcc -qlanglvl=extc89 -c -fno-common conftest.c >&5 gcc: unrecognized option `-qlanglvl=extc89' configure:2576: $? = 0 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "gocr" | #define PACKAGE_TARNAME "gocr" | #define PACKAGE_VERSION "0.41" | #define PACKAGE_STRING "gocr 0.41" | #define PACKAGE_BUGREPORT "" | /* end confdefs.h. */ | #include | #include | #include | #include | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | struct buf { int x; }; | FILE * (*rcsopen) (struct buf *, struct stat *, int); | static char *e (p, i) | char **p; | int i; | { | return p[i]; | } | static char *f (char * (*g) (char **, int), char **p, ...) | { | char *s; | va_list v; | va_start (v,p); | s = g (p, va_arg (v,int)); | va_end (v); | return s; | } | | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | function prototypes and stuff, but not '\xHH' hex character constants. | These don't provoke an error unfortunately, instead are silently treated | as 'x'. The following induces an error, until -std is added to get | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an | array size at least. It's necessary to write '\x00'==0 to get something | that's true only with -std. */ | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters | inside strings and character constants. */ | #define FOO(x) 'x' | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; | | int test (int i, double x); | struct s1 {int (*f) (int a);}; | struct s2 {int (*f) (double a);}; | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | int argc; | char **argv; | int | main () | { | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | ; | return 0; | } configure:2570: gcc -qlanglvl=ansi -c -fno-common conftest.c >&5 gcc: unrecognized option `-qlanglvl=ansi' configure:2576: $? = 0 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "gocr" | #define PACKAGE_TARNAME "gocr" | #define PACKAGE_VERSION "0.41" | #define PACKAGE_STRING "gocr 0.41" | #define PACKAGE_BUGREPORT "" | /* end confdefs.h. */ | #include | #include | #include | #include | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | struct buf { int x; }; | FILE * (*rcsopen) (struct buf *, struct stat *, int); | static char *e (p, i) | char **p; | int i; | { | return p[i]; | } | static char *f (char * (*g) (char **, int), char **p, ...) | { | char *s; | va_list v; | va_start (v,p); | s = g (p, va_arg (v,int)); | va_end (v); | return s; | } | | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | function prototypes and stuff, but not '\xHH' hex character constants. | These don't provoke an error unfortunately, instead are silently treated | as 'x'. The following induces an error, until -std is added to get | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an | array size at least. It's necessary to write '\x00'==0 to get something | that's true only with -std. */ | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters | inside strings and character constants. */ | #define FOO(x) 'x' | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; | | int test (int i, double x); | struct s1 {int (*f) (int a);}; | struct s2 {int (*f) (double a);}; | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | int argc; | char **argv; | int | main () | { | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | ; | return 0; | } configure:2570: gcc -std -c -fno-common conftest.c >&5 cc1: error: unrecognized option `-std' configure:2576: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "gocr" | #define PACKAGE_TARNAME "gocr" | #define PACKAGE_VERSION "0.41" | #define PACKAGE_STRING "gocr 0.41" | #define PACKAGE_BUGREPORT "" | /* end confdefs.h. */ | #include | #include | #include | #include | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | struct buf { int x; }; | FILE * (*rcsopen) (struct buf *, struct stat *, int); | static char *e (p, i) | char **p; | int i; | { | return p[i]; | } | static char *f (char * (*g) (char **, int), char **p, ...) | { | char *s; | va_list v; | va_start (v,p); | s = g (p, va_arg (v,int)); | va_end (v); | return s; | } | | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | function prototypes and stuff, but not '\xHH' hex character constants. | These don't provoke an error unfortunately, instead are silently treated | as 'x'. The following induces an error, until -std is added to get | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an | array size at least. It's necessary to write '\x00'==0 to get something | that's true only with -std. */ | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters | inside strings and character constants. */ | #define FOO(x) 'x' | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; | | int test (int i, double x); | struct s1 {int (*f) (int a);}; | struct s2 {int (*f) (double a);}; | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | int argc; | char **argv; | int | main () | { | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | ; | return 0; | } configure:2570: gcc -Ae -c -fno-common conftest.c >&5 :6:2: missing '(' after predicate configure:2576: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "gocr" | #define PACKAGE_TARNAME "gocr" | #define PACKAGE_VERSION "0.41" | #define PACKAGE_STRING "gocr 0.41" | #define PACKAGE_BUGREPORT "" | /* end confdefs.h. */ | #include | #include | #include | #include | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | struct buf { int x; }; | FILE * (*rcsopen) (struct buf *, struct stat *, int); | static char *e (p, i) | char **p; | int i; | { | return p[i]; | } | static char *f (char * (*g) (char **, int), char **p, ...) | { | char *s; | va_list v; | va_start (v,p); | s = g (p, va_arg (v,int)); | va_end (v); | return s; | } | | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | function prototypes and stuff, but not '\xHH' hex character constants. | These don't provoke an error unfortunately, instead are silently treated | as 'x'. The following induces an error, until -std is added to get | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an | array size at least. It's necessary to write '\x00'==0 to get something | that's true only with -std. */ | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters | inside strings and character constants. */ | #define FOO(x) 'x' | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; | | int test (int i, double x); | struct s1 {int (*f) (int a);}; | struct s2 {int (*f) (double a);}; | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | int argc; | char **argv; | int | main () | { | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | ; | return 0; | } configure:2570: gcc -Aa -D_HPUX_SOURCE -c -fno-common conftest.c >&5 :6:2: missing '(' after predicate configure:2576: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "gocr" | #define PACKAGE_TARNAME "gocr" | #define PACKAGE_VERSION "0.41" | #define PACKAGE_STRING "gocr 0.41" | #define PACKAGE_BUGREPORT "" | /* end confdefs.h. */ | #include | #include | #include | #include | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | struct buf { int x; }; | FILE * (*rcsopen) (struct buf *, struct stat *, int); | static char *e (p, i) | char **p; | int i; | { | return p[i]; | } | static char *f (char * (*g) (char **, int), char **p, ...) | { | char *s; | va_list v; | va_start (v,p); | s = g (p, va_arg (v,int)); | va_end (v); | return s; | } | | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | function prototypes and stuff, but not '\xHH' hex character constants. | These don't provoke an error unfortunately, instead are silently treated | as 'x'. The following induces an error, until -std is added to get | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an | array size at least. It's necessary to write '\x00'==0 to get something | that's true only with -std. */ | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters | inside strings and character constants. */ | #define FOO(x) 'x' | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; | | int test (int i, double x); | struct s1 {int (*f) (int a);}; | struct s2 {int (*f) (double a);}; | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | int argc; | char **argv; | int | main () | { | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | ; | return 0; | } configure:2570: gcc -Xc -D__EXTENSIONS__ -c -fno-common conftest.c >&5 gcc: unrecognized option `-Xc' configure:2576: $? = 0 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "gocr" | #define PACKAGE_TARNAME "gocr" | #define PACKAGE_VERSION "0.41" | #define PACKAGE_STRING "gocr 0.41" | #define PACKAGE_BUGREPORT "" | /* end confdefs.h. */ | #include | #include | #include | #include | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | struct buf { int x; }; | FILE * (*rcsopen) (struct buf *, struct stat *, int); | static char *e (p, i) | char **p; | int i; | { | return p[i]; | } | static char *f (char * (*g) (char **, int), char **p, ...) | { | char *s; | va_list v; | va_start (v,p); | s = g (p, va_arg (v,int)); | va_end (v); | return s; | } | | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | function prototypes and stuff, but not '\xHH' hex character constants. | These don't provoke an error unfortunately, instead are silently treated | as 'x'. The following induces an error, until -std is added to get | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an | array size at least. It's necessary to write '\x00'==0 to get something | that's true only with -std. */ | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters | inside strings and character constants. */ | #define FOO(x) 'x' | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; | | int test (int i, double x); | struct s1 {int (*f) (int a);}; | struct s2 {int (*f) (double a);}; | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | int argc; | char **argv; | int | main () | { | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | ; | return 0; | } configure:2602: result: unsupported configure:2661: checking for a BSD-compatible install configure:2717: result: /usr/local/bin/ginstall -c configure:2771: checking for ranlib configure:2787: found /usr/bin/ranlib configure:2798: result: ranlib configure:2824: checking whether make sets $(MAKE) configure:2845: result: yes configure:2856: checking for ar configure:2872: found /usr/bin/ar configure:2883: result: ar configure:2893: checking for fig2dev configure:2923: result: no configure:2957: checking for library containing pnm_readpnminit configure:2998: gcc -o conftest -fno-common -lm conftest.c >&5 ld: Undefined symbols: _pnm_readpnminit configure:3004: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "gocr" | #define PACKAGE_TARNAME "gocr" | #define PACKAGE_VERSION "0.41" | #define PACKAGE_STRING "gocr 0.41" | #define PACKAGE_BUGREPORT "" | /* end confdefs.h. */ | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char pnm_readpnminit (); | int | main () | { | return pnm_readpnminit (); | ; | return 0; | } configure:2998: gcc -o conftest -fno-common -lm conftest.c -lnetpbm >&5 ld: table of contents for archive: /usr/local/lib/libnetpbm.a is out of date; rerun ranlib(1) (can't load from it) configure:3004: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "gocr" | #define PACKAGE_TARNAME "gocr" | #define PACKAGE_VERSION "0.41" | #define PACKAGE_STRING "gocr 0.41" | #define PACKAGE_BUGREPORT "" | /* end confdefs.h. */ | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char pnm_readpnminit (); | int | main () | { | return pnm_readpnminit (); | ; | return 0; | } configure:2998: gcc -o conftest -fno-common -lm conftest.c -lpnm >&5 ld: can't locate file for: -lpnm configure:3004: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "gocr" | #define PACKAGE_TARNAME "gocr" | #define PACKAGE_VERSION "0.41" | #define PACKAGE_STRING "gocr 0.41" | #define PACKAGE_BUGREPORT "" | /* end confdefs.h. */ | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char pnm_readpnminit (); | int | main () | { | return pnm_readpnminit (); | ; | return 0; | } configure:3032: result: no configure:3049: checking how to run the C preprocessor configure:3089: gcc -E conftest.c configure:3095: $? = 0 configure:3126: gcc -E conftest.c conftest.c:8:28: ac_nonexistent.h: No such file or directory configure:3132: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "gocr" | #define PACKAGE_TARNAME "gocr" | #define PACKAGE_VERSION "0.41" | #define PACKAGE_STRING "gocr 0.41" | #define PACKAGE_BUGREPORT "" | /* end confdefs.h. */ | #include configure:3165: result: gcc -E configure:3194: gcc -E conftest.c configure:3200: $? = 0 configure:3231: gcc -E conftest.c conftest.c:8:28: ac_nonexistent.h: No such file or directory configure:3237: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "gocr" | #define PACKAGE_TARNAME "gocr" | #define PACKAGE_VERSION "0.41" | #define PACKAGE_STRING "gocr 0.41" | #define PACKAGE_BUGREPORT "" | /* end confdefs.h. */ | #include configure:3275: checking for grep that handles long lines and -e configure:3349: result: /usr/bin/grep configure:3354: checking for egrep configure:3432: result: /usr/bin/grep -E configure:3437: checking for ANSI C header files configure:3467: gcc -c -fno-common conftest.c >&5 configure:3473: $? = 0 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "gocr" | #define PACKAGE_TARNAME "gocr" | #define PACKAGE_VERSION "0.41" | #define PACKAGE_STRING "gocr 0.41" | #define PACKAGE_BUGREPORT "" | /* end confdefs.h. */ | #include | #include | #include | #include | | int | main () | { | | ; | return 0; | } configure:3598: result: no configure:3622: checking for sys/types.h configure:3643: gcc -c -fno-common conftest.c >&5 configure:3649: $? = 0 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "gocr" | #define PACKAGE_TARNAME "gocr" | #define PACKAGE_VERSION "0.41" | #define PACKAGE_STRING "gocr 0.41" | #define PACKAGE_BUGREPORT "" | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | | #include configure:3665: result: no configure:3622: checking for sys/stat.h configure:3643: gcc -c -fno-common conftest.c >&5 configure:3649: $? = 0 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "gocr" | #define PACKAGE_TARNAME "gocr" | #define PACKAGE_VERSION "0.41" | #define PACKAGE_STRING "gocr 0.41" | #define PACKAGE_BUGREPORT "" | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | | #include configure:3665: result: no configure:3622: checking for stdlib.h configure:3643: gcc -c -fno-common conftest.c >&5 configure:3649: $? = 0 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "gocr" | #define PACKAGE_TARNAME "gocr" | #define PACKAGE_VERSION "0.41" | #define PACKAGE_STRING "gocr 0.41" | #define PACKAGE_BUGREPORT "" | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | | #include configure:3665: result: no configure:3622: checking for string.h configure:3643: gcc -c -fno-common conftest.c >&5 configure:3649: $? = 0 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "gocr" | #define PACKAGE_TARNAME "gocr" | #define PACKAGE_VERSION "0.41" | #define PACKAGE_STRING "gocr 0.41" | #define PACKAGE_BUGREPORT "" | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | | #include configure:3665: result: no configure:3622: checking for memory.h configure:3643: gcc -c -fno-common conftest.c >&5 configure:3649: $? = 0 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "gocr" | #define PACKAGE_TARNAME "gocr" | #define PACKAGE_VERSION "0.41" | #define PACKAGE_STRING "gocr 0.41" | #define PACKAGE_BUGREPORT "" | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | | #include configure:3665: result: no configure:3622: checking for strings.h configure:3643: gcc -c -fno-common conftest.c >&5 configure:3649: $? = 0 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "gocr" | #define PACKAGE_TARNAME "gocr" | #define PACKAGE_VERSION "0.41" | #define PACKAGE_STRING "gocr 0.41" | #define PACKAGE_BUGREPORT "" | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | | #include configure:3665: result: no configure:3622: checking for inttypes.h configure:3643: gcc -c -fno-common conftest.c >&5 configure:3649: $? = 0 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "gocr" | #define PACKAGE_TARNAME "gocr" | #define PACKAGE_VERSION "0.41" | #define PACKAGE_STRING "gocr 0.41" | #define PACKAGE_BUGREPORT "" | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | | #include configure:3665: result: no configure:3622: checking for stdint.h configure:3643: gcc -c -fno-common conftest.c >&5 configure:3649: $? = 0 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "gocr" | #define PACKAGE_TARNAME "gocr" | #define PACKAGE_VERSION "0.41" | #define PACKAGE_STRING "gocr 0.41" | #define PACKAGE_BUGREPORT "" | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | | #include configure:3665: result: no configure:3622: checking for unistd.h configure:3643: gcc -c -fno-common conftest.c >&5 configure:3649: $? = 0 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "gocr" | #define PACKAGE_TARNAME "gocr" | #define PACKAGE_VERSION "0.41" | #define PACKAGE_STRING "gocr 0.41" | #define PACKAGE_BUGREPORT "" | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | | #include configure:3665: result: no configure:3684: checking for unistd.h configure:3690: result: no configure:3694: checking wchar.h usability configure:3711: gcc -c -fno-common conftest.c >&5 configure:3717: $? = 0 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "gocr" | #define PACKAGE_TARNAME "gocr" | #define PACKAGE_VERSION "0.41" | #define PACKAGE_STRING "gocr 0.41" | #define PACKAGE_BUGREPORT "" | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:3731: result: no configure:3735: checking wchar.h presence configure:3750: gcc -E conftest.c configure:3756: $? = 0 configure:3770: result: yes configure:3783: WARNING: wchar.h: present but cannot be compiled configure:3785: WARNING: wchar.h: check for missing prerequisite headers? configure:3787: WARNING: wchar.h: see the Autoconf documentation configure:3789: WARNING: wchar.h: section "Present But Cannot Be Compiled" configure:3791: WARNING: wchar.h: proceeding with the preprocessor's result configure:3793: WARNING: wchar.h: in the future, the compiler will take precedence configure:3798: checking for wchar.h configure:3806: result: yes configure:3820: checking for an ANSI C-conforming const configure:3895: gcc -c -fno-common conftest.c >&5 configure:3901: $? = 0 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "gocr" | #define PACKAGE_TARNAME "gocr" | #define PACKAGE_VERSION "0.41" | #define PACKAGE_STRING "gocr 0.41" | #define PACKAGE_BUGREPORT "" | #define HAVE_WCHAR_H 1 | /* end confdefs.h. */ | | int | main () | { | /* FIXME: Include the comments suggested by Paul. */ | #ifndef __cplusplus | /* Ultrix mips cc rejects this. */ | typedef int charset[2]; | const charset cs; | /* SunOS 4.1.1 cc rejects this. */ | char const *const *pcpcc; | char **ppc; | /* NEC SVR4.0.2 mips cc rejects this. */ | struct point {int x, y;}; | static struct point const zero = {0,0}; | /* AIX XL C 1.02.0.0 rejects this. | It does not let you subtract one const X* pointer from another in | an arm of an if-expression whose if-part is not a constant | expression */ | const char *g = "string"; | pcpcc = &g + (g ? g-g : 0); | /* HPUX 7.0 cc rejects these. */ | ++pcpcc; | ppc = (char**) pcpcc; | pcpcc = (char const *const *) ppc; | { /* SCO 3.2v4 cc rejects this. */ | char *t; | char const *s = 0 ? (char *) 0 : (char const *) 0; | | *t++ = 0; | if (s) return 0; | } | { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ | int x[] = {25, 17}; | const int *foo = &x[0]; | ++foo; | } | { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ | typedef const int *iptr; | iptr p = 0; | ++p; | } | { /* AIX XL C 1.02.0.0 rejects this saying | "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ | struct s { int j; const int *ap[3]; }; | struct s *b; b->j = 5; | } | { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ | const int foo = 10; | if (!foo) return 0; | } | return !cs[0] && !zero.x; | #endif | | ; | return 0; | } configure:3916: result: no configure:3927: checking for function prototypes configure:3943: result: no configure:3947: checking whether setvbuf arguments are reversed configure:3977: gcc -o conftest -fno-common -lm conftest.c >&5 conftest.c: In function `main': conftest.c:17: warning: passing arg 2 of `setvbuf' makes pointer from integer without a cast conftest.c:17: warning: passing arg 3 of `setvbuf' makes integer from pointer without a cast configure:3983: $? = 0 configure:4013: gcc -o conftest -fno-common -lm conftest.c >&5 configure:4019: $? = 0 configure:4059: gcc -o conftest -fno-common -lm conftest.c >&5 conftest.c: In function `main': conftest.c:50: warning: passing arg 2 of `setvbuf' makes pointer from integer without a cast conftest.c:50: warning: passing arg 3 of `setvbuf' makes integer from pointer without a cast configure:4062: $? = 0 configure:4068: ./conftest configure:4071: $? = 1 configure: program exited with status 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "gocr" | #define PACKAGE_TARNAME "gocr" | #define PACKAGE_VERSION "0.41" | #define PACKAGE_STRING "gocr 0.41" | #define PACKAGE_BUGREPORT "" | #define HAVE_WCHAR_H 1 | #define const | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | int | main () | { | /* This call has the arguments reversed. | A reversed system may check and see that the address of buf | is not _IOLBF, _IONBF, or _IOFBF, and return nonzero. */ | char buf; | if (setvbuf (stdout, _IOLBF, &buf, 1) != 0) | return 1; | putchar ('\r'); | return 0; /* Non-reversed systems SEGV here. */ | ; | return 0; | } configure:4104: result: yes configure:4121: checking for wcschr configure:4177: gcc -o conftest -fno-common -lm conftest.c >&5 configure:4183: $? = 0 configure:4201: result: yes configure:4121: checking for wcsdup configure:4177: gcc -o conftest -fno-common -lm conftest.c >&5 ld: Undefined symbols: _wcsdup configure:4183: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "gocr" | #define PACKAGE_TARNAME "gocr" | #define PACKAGE_VERSION "0.41" | #define PACKAGE_STRING "gocr 0.41" | #define PACKAGE_BUGREPORT "" | #define HAVE_WCHAR_H 1 | #define const | #define SETVBUF_REVERSED 1 | #define HAVE_WCSCHR 1 | /* end confdefs.h. */ | /* Define wcsdup to an innocuous variant, in case declares wcsdup. | For example, HP-UX 11i declares gettimeofday. */ | #define wcsdup innocuous_wcsdup | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char wcsdup (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef wcsdup | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char wcsdup (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_wcsdup || defined __stub___wcsdup | choke me | #endif | | int | main () | { | return wcsdup (); | ; | return 0; | } configure:4201: result: no configure:4121: checking for gettimeofday configure:4177: gcc -o conftest -fno-common -lm conftest.c >&5 configure:4183: $? = 0 configure:4201: result: yes configure:4121: checking for popen configure:4177: gcc -o conftest -fno-common -lm conftest.c >&5 configure:4183: $? = 0 configure:4201: result: yes configure:4213: checking for src/api/Makefile.in configure:4228: result: yes configure:4336: creating ./config.status ## ---------------------- ## ## Running config.status. ## ## ---------------------- ## This file was extended by gocr config.status 0.41, which was generated by GNU Autoconf 2.61. Invocation command line was CONFIG_FILES = CONFIG_HEADERS = CONFIG_LINKS = CONFIG_COMMANDS = $ ./config.status on darwintel config.status:603: creating Makefile config.status:603: creating src/Makefile config.status:603: creating doc/Makefile config.status:603: creating man/Makefile config.status:738: WARNING: man/Makefile.in seems to ignore the --datarootdir setting config.status:603: creating src/api/Makefile config.status:603: creating include/config.h config.status:817: include/config.h is unchanged ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_c_compiler_gnu=no ac_cv_c_const=no ac_cv_env_CC_set= ac_cv_env_CC_value= ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value=-fno-common ac_cv_env_CPPFLAGS_set= ac_cv_env_CPPFLAGS_value= ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_LDFLAGS_set= ac_cv_env_LDFLAGS_value= ac_cv_env_LIBS_set= ac_cv_env_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_file_src_api_Makefile_in=yes ac_cv_func_gettimeofday=yes ac_cv_func_popen=yes ac_cv_func_setvbuf_reversed=yes ac_cv_func_wcschr=yes ac_cv_func_wcsdup=no ac_cv_header_inttypes_h=no ac_cv_header_memory_h=no ac_cv_header_stdc=no ac_cv_header_stdint_h=no ac_cv_header_stdlib_h=no ac_cv_header_string_h=no ac_cv_header_strings_h=no ac_cv_header_sys_stat_h=no ac_cv_header_sys_types_h=no ac_cv_header_unistd_h=no ac_cv_header_wchar_h=yes ac_cv_objext= ac_cv_path_EGREP='/usr/bin/grep -E' ac_cv_path_GREP=/usr/bin/grep ac_cv_path_install='/usr/local/bin/ginstall -c' ac_cv_prog_AR=ar ac_cv_prog_CPP='gcc -E' ac_cv_prog_ac_ct_CC=gcc ac_cv_prog_ac_ct_RANLIB=ranlib ac_cv_prog_cc_c89=no ac_cv_prog_cc_g=no ac_cv_prog_make_make_set=yes ac_cv_search_pnm_readpnminit=no ## ----------------- ## ## Output variables. ## ## ----------------- ## AR='ar' CC='gcc' CFLAGS='-fno-common' CPP='gcc -E' CPPFLAGS='' DEFS='-DHAVE_CONFIG_H' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='/usr/bin/grep -E' EXEEXT='' FIG2DEV='' GREP='/usr/bin/grep' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' LDFLAGS='-lm ' LIBOBJS='' LIBS='' LTLIBOBJS='' OBJEXT='' PACKAGE_BUGREPORT='' PACKAGE_NAME='gocr' PACKAGE_STRING='gocr 0.41' PACKAGE_TARNAME='gocr' PACKAGE_VERSION='0.41' PATH_SEPARATOR=':' RANLIB='ranlib' SET_MAKE='' SHELL='/bin/sh' ac_ct_CC='gcc' bindir='${exec_prefix}/bin' build_alias='' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' exec_prefix='${prefix}' host_alias='' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='${prefix}/var' mandir='${datarootdir}/man' 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 "gocr" #define PACKAGE_TARNAME "gocr" #define PACKAGE_VERSION "0.41" #define PACKAGE_STRING "gocr 0.41" #define PACKAGE_BUGREPORT "" #define HAVE_WCHAR_H 1 #define const #define SETVBUF_REVERSED 1 #define HAVE_WCSCHR 1 #define HAVE_GETTIMEOFDAY 1 #define HAVE_POPEN 1 configure: exit 0