Re: checking Mac OS X headers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On Mon, 4 Jan 2010, Ralf Wildenhues wrote:

No.  Can you write a small example configure.ac that exposes the
problem, run it, post all its output as well as config.log?
"it does not work" is not sufficient information for me, and the
wrong setting of $CPP or $OBJCPP can come from some earlier test.

Hey,

I've attached config.log and the small example (autoreconf -f -i && ./configure)

the configure output is below

thanks

Vincent Torri

checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking how to print strings... printf
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... none
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for gcc... gcc
checking whether we are using the GNU Objective C compiler... no
checking whether gcc accepts -g... no
checking dependency style of gcc... none
checking dependency style of gcc... (cached) none
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) none
checking how to run the Objective C preprocessor... /lib/cpp
configure: error: in `/home/torri/code/autoconf':
configure: error: Objective C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by test configure 0.0, which was
generated by GNU Autoconf 2.65.  Invocation command line was

  $ ./configure 

## --------- ##
## Platform. ##
## --------- ##

hostname = torri-laptop
uname -m = i686
uname -r = 2.6.31-18-generic
uname -s = Linux
uname -v = #55-Ubuntu SMP Fri Jan 8 14:55:26 UTC 2010

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /home/torri/local/e17/bin
PATH: /home/torri/local/bin
PATH: /home/torri/local/bin
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/games


## ----------- ##
## Core tests. ##
## ----------- ##

configure:2285: checking for a BSD-compatible install
configure:2353: result: /usr/bin/install -c
configure:2364: checking whether build environment is sane
configure:2414: result: yes
configure:2555: checking for a thread-safe mkdir -p
configure:2594: result: /bin/mkdir -p
configure:2607: checking for gawk
configure:2623: found /usr/bin/gawk
configure:2634: result: gawk
configure:2645: checking whether make sets $(MAKE)
configure:2667: result: yes
configure:2777: checking build system type
configure:2791: result: i686-pc-linux-gnu
configure:2811: checking host system type
configure:2824: result: i686-pc-linux-gnu
configure:2865: checking how to print strings
configure:2892: result: printf
configure:2925: checking for style of include used by make
configure:2953: result: GNU
configure:3023: checking for gcc
configure:3039: found /usr/bin/gcc
configure:3050: result: gcc
configure:3279: checking for C compiler version
configure:3288: gcc --version >&5
gcc (Ubuntu 4.4.1-4ubuntu9) 4.4.1
Copyright (C) 2009 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:3299: $? = 0
configure:3288: gcc -v >&5
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.4.1-4ubuntu9' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --enable-multiarch --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4 --program-suffix=-4.4 --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-targets=all --disable-werror --with-arch-32=i486 --with-tune=generic --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu
Thread model: posix
gcc version 4.4.1 (Ubuntu 4.4.1-4ubuntu9) 
configure:3299: $? = 0
configure:3288: gcc -V >&5
gcc: '-V' option must have argument
configure:3299: $? = 1
configure:3288: gcc -qversion >&5
gcc: unrecognized option '-qversion'
gcc: no input files
configure:3299: $? = 1
configure:3319: checking whether the C compiler works
configure:3341: gcc    conftest.c  >&5
configure:3345: $? = 0
configure:3394: result: yes
configure:3397: checking for C compiler default output file name
configure:3399: result: a.out
configure:3405: checking for suffix of executables
configure:3412: gcc -o conftest    conftest.c  >&5
configure:3416: $? = 0
configure:3438: result: 
configure:3460: checking whether we are cross compiling
configure:3468: gcc -o conftest    conftest.c  >&5
configure:3472: $? = 0
configure:3479: ./conftest
configure:3483: $? = 0
configure:3498: result: no
configure:3503: checking for suffix of object files
configure:3525: gcc -c   conftest.c >&5
configure:3529: $? = 0
configure:3550: result: o
configure:3554: checking whether we are using the GNU C compiler
configure:3573: gcc -c   conftest.c >&5
configure:3573: $? = 0
configure:3582: result: yes
configure:3591: checking whether gcc accepts -g
configure:3611: gcc -c -g  conftest.c >&5
configure:3611: $? = 0
configure:3652: result: yes
configure:3669: checking for gcc option to accept ISO C89
configure:3733: gcc  -c -g -O2  conftest.c >&5
configure:3733: $? = 0
configure:3746: result: none needed
configure:3768: checking dependency style of gcc
configure:3878: result: none
configure:3893: checking for a sed that does not truncate output
configure:3957: result: /bin/sed
configure:3975: checking for grep that handles long lines and -e
configure:4033: result: /bin/grep
configure:4038: checking for egrep
configure:4100: result: /bin/grep -E
configure:4105: checking for fgrep
configure:4167: result: /bin/grep -F
configure:4202: checking for ld used by gcc
configure:4269: result: /usr/bin/ld
configure:4276: checking if the linker (/usr/bin/ld) is GNU ld
configure:4291: result: yes
configure:4303: checking for BSD- or MS-compatible name lister (nm)
configure:4352: result: /usr/bin/nm -B
configure:4482: checking the name lister (/usr/bin/nm -B) interface
configure:4489: gcc -c -g -O2  conftest.c >&5
configure:4492: /usr/bin/nm -B "conftest.o"
configure:4495: output
00000000 B some_variable
configure:4502: result: BSD nm
configure:4505: checking whether ln -s works
configure:4509: result: yes
configure:4517: checking the maximum length of command line arguments
configure:4642: result: 1572864
configure:4659: checking whether the shell understands some XSI constructs
configure:4669: result: yes
configure:4673: checking whether the shell understands "+="
configure:4679: result: yes
configure:4714: checking for /usr/bin/ld option to reload object files
configure:4721: result: -r
configure:4790: checking for objdump
configure:4806: found /usr/bin/objdump
configure:4817: result: objdump
configure:4849: checking how to recognize dependent libraries
configure:5045: result: pass_all
configure:5105: checking for ar
configure:5121: found /usr/bin/ar
configure:5132: result: ar
configure:5210: checking for strip
configure:5226: found /usr/bin/strip
configure:5237: result: strip
configure:5309: checking for ranlib
configure:5325: found /usr/bin/ranlib
configure:5336: result: ranlib
configure:5426: checking command to parse /usr/bin/nm -B output from gcc object
configure:5544: gcc -c -g -O2  conftest.c >&5
configure:5547: $? = 0
configure:5551: /usr/bin/nm -B conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' \> conftest.nm
configure:5554: $? = 0
configure:5608: gcc -o conftest -g -O2   conftest.c conftstm.o >&5
configure:5611: $? = 0
configure:5649: result: ok
configure:6458: checking how to run the C preprocessor
configure:6489: gcc -E  conftest.c
configure:6489: $? = 0
configure:6503: gcc -E  conftest.c
conftest.c:11:28: error: ac_nonexistent.h: No such file or directory
configure:6503: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "test"
| #define PACKAGE_TARNAME "test"
| #define PACKAGE_VERSION "0.0"
| #define PACKAGE_STRING "test 0.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "test"
| #define VERSION "0.0"
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:6528: result: gcc -E
configure:6548: gcc -E  conftest.c
configure:6548: $? = 0
configure:6562: gcc -E  conftest.c
conftest.c:11:28: error: ac_nonexistent.h: No such file or directory
configure:6562: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "test"
| #define PACKAGE_TARNAME "test"
| #define PACKAGE_VERSION "0.0"
| #define PACKAGE_STRING "test 0.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "test"
| #define VERSION "0.0"
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:6591: checking for ANSI C header files
configure:6611: gcc -c -g -O2  conftest.c >&5
configure:6611: $? = 0
configure:6684: gcc -o conftest -g -O2   conftest.c  >&5
configure:6684: $? = 0
configure:6684: ./conftest
configure:6684: $? = 0
configure:6695: result: yes
configure:6708: checking for sys/types.h
configure:6708: gcc -c -g -O2  conftest.c >&5
configure:6708: $? = 0
configure:6708: result: yes
configure:6708: checking for sys/stat.h
configure:6708: gcc -c -g -O2  conftest.c >&5
configure:6708: $? = 0
configure:6708: result: yes
configure:6708: checking for stdlib.h
configure:6708: gcc -c -g -O2  conftest.c >&5
configure:6708: $? = 0
configure:6708: result: yes
configure:6708: checking for string.h
configure:6708: gcc -c -g -O2  conftest.c >&5
configure:6708: $? = 0
configure:6708: result: yes
configure:6708: checking for memory.h
configure:6708: gcc -c -g -O2  conftest.c >&5
configure:6708: $? = 0
configure:6708: result: yes
configure:6708: checking for strings.h
configure:6708: gcc -c -g -O2  conftest.c >&5
configure:6708: $? = 0
configure:6708: result: yes
configure:6708: checking for inttypes.h
configure:6708: gcc -c -g -O2  conftest.c >&5
configure:6708: $? = 0
configure:6708: result: yes
configure:6708: checking for stdint.h
configure:6708: gcc -c -g -O2  conftest.c >&5
configure:6708: $? = 0
configure:6708: result: yes
configure:6708: checking for unistd.h
configure:6708: gcc -c -g -O2  conftest.c >&5
configure:6708: $? = 0
configure:6708: result: yes
configure:6723: checking for dlfcn.h
configure:6723: gcc -c -g -O2  conftest.c >&5
configure:6723: $? = 0
configure:6723: result: yes
configure:6910: checking for objdir
configure:6925: result: .libs
configure:7191: checking if gcc supports -fno-rtti -fno-exceptions
configure:7209: gcc -c -g -O2  -fno-rtti -fno-exceptions conftest.c >&5
cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not for C
configure:7213: $? = 0
configure:7226: result: no
configure:7246: checking for gcc option to produce PIC
configure:7518: result: -fPIC -DPIC
configure:7530: checking if gcc PIC flag -fPIC -DPIC works
configure:7548: gcc -c -g -O2  -fPIC -DPIC -DPIC conftest.c >&5
configure:7552: $? = 0
configure:7565: result: yes
configure:7589: checking if gcc static flag -static works
configure:7617: result: yes
configure:7632: checking if gcc supports -c -o file.o
configure:7653: gcc -c -g -O2  -o out/conftest2.o conftest.c >&5
configure:7657: $? = 0
configure:7679: result: yes
configure:7687: checking if gcc supports -c -o file.o
configure:7734: result: yes
configure:7767: checking whether the gcc linker (/usr/bin/ld) supports shared libraries
configure:8793: result: yes
configure:8830: checking whether -lc should be explicitly linked in
configure:8838: gcc -c -g -O2  conftest.c >&5
configure:8841: $? = 0
configure:8856: gcc -shared conftest.o  -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /bin/grep  -lc  \>/dev/null 2\>\&1
configure:8859: $? = 0
configure:8873: result: no
configure:9038: checking dynamic linker characteristics
configure:9485: gcc -o conftest -g -O2   -Wl,-rpath -Wl,/foo conftest.c  >&5
configure:9485: $? = 0
configure:9707: result: GNU/Linux ld.so
configure:9814: checking how to hardcode library paths into programs
configure:9839: result: immediate
configure:10359: checking whether stripping libraries is possible
configure:10364: result: yes
configure:10399: checking if libtool supports shared libraries
configure:10401: result: yes
configure:10404: checking whether to build shared libraries
configure:10425: result: yes
configure:10428: checking whether to build static libraries
configure:10432: result: yes
configure:10523: checking for gcc
configure:10539: found /usr/bin/gcc
configure:10550: result: gcc
configure:10575: checking for Objective C compiler version
configure:10584: gcc --version >&5
gcc (Ubuntu 4.4.1-4ubuntu9) 4.4.1
Copyright (C) 2009 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:10595: $? = 0
configure:10584: gcc -v >&5
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.4.1-4ubuntu9' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --enable-multiarch --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4 --program-suffix=-4.4 --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-targets=all --disable-werror --with-arch-32=i486 --with-tune=generic --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu
Thread model: posix
gcc version 4.4.1 (Ubuntu 4.4.1-4ubuntu9) 
configure:10595: $? = 0
configure:10584: gcc -V >&5
gcc: '-V' option must have argument
configure:10595: $? = 1
configure:10584: gcc -qversion >&5
gcc: unrecognized option '-qversion'
gcc: no input files
configure:10595: $? = 1
configure:10599: checking whether we are using the GNU Objective C compiler
configure:10618: gcc -c   conftest.m >&5
gcc: error trying to exec 'cc1obj': execvp: No such file or directory
configure:10618: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "test"
| #define PACKAGE_TARNAME "test"
| #define PACKAGE_VERSION "0.0"
| #define PACKAGE_STRING "test 0.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "test"
| #define VERSION "0.0"
| #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_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| #ifndef __GNUC__
|        choke me
| #endif
| 
|   ;
|   return 0;
| }
configure:10627: result: no
configure:10636: checking whether gcc accepts -g
configure:10656: gcc -c -g  conftest.m >&5
gcc: error trying to exec 'cc1obj': execvp: No such file or directory
configure:10656: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "test"
| #define PACKAGE_TARNAME "test"
| #define PACKAGE_VERSION "0.0"
| #define PACKAGE_STRING "test 0.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "test"
| #define VERSION "0.0"
| #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_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:10671: gcc -c   conftest.m >&5
gcc: error trying to exec 'cc1obj': execvp: No such file or directory
configure:10671: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "test"
| #define PACKAGE_TARNAME "test"
| #define PACKAGE_VERSION "0.0"
| #define PACKAGE_STRING "test 0.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "test"
| #define VERSION "0.0"
| #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_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:10687: gcc -c -g  conftest.m >&5
gcc: error trying to exec 'cc1obj': execvp: No such file or directory
configure:10687: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "test"
| #define PACKAGE_TARNAME "test"
| #define PACKAGE_VERSION "0.0"
| #define PACKAGE_STRING "test 0.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "test"
| #define VERSION "0.0"
| #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_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:10697: result: no
configure:10722: checking dependency style of gcc
configure:10830: result: none
configure:10848: checking dependency style of gcc
configure:10956: result: none
configure:11021: checking for gcc
configure:11048: result: gcc
configure:11277: checking for C compiler version
configure:11286: gcc --version >&5
gcc (Ubuntu 4.4.1-4ubuntu9) 4.4.1
Copyright (C) 2009 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:11297: $? = 0
configure:11286: gcc -v >&5
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.4.1-4ubuntu9' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --enable-multiarch --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4 --program-suffix=-4.4 --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-targets=all --disable-werror --with-arch-32=i486 --with-tune=generic --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu
Thread model: posix
gcc version 4.4.1 (Ubuntu 4.4.1-4ubuntu9) 
configure:11297: $? = 0
configure:11286: gcc -V >&5
gcc: '-V' option must have argument
configure:11297: $? = 1
configure:11286: gcc -qversion >&5
gcc: unrecognized option '-qversion'
gcc: no input files
configure:11297: $? = 1
configure:11301: checking whether we are using the GNU C compiler
configure:11329: result: yes
configure:11338: checking whether gcc accepts -g
configure:11399: result: yes
configure:11416: checking for gcc option to accept ISO C89
configure:11493: result: none needed
configure:11515: checking dependency style of gcc
configure:11625: result: none
configure:11647: checking how to run the Objective C preprocessor
configure:11674: gcc -E  conftest.m
gcc: error trying to exec 'cc1obj': execvp: No such file or directory
configure:11674: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "test"
| #define PACKAGE_TARNAME "test"
| #define PACKAGE_VERSION "0.0"
| #define PACKAGE_STRING "test 0.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "test"
| #define VERSION "0.0"
| #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_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h.  */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| 		     Syntax error
configure:11674: gcc -E  conftest.m
gcc: error trying to exec 'cc1obj': execvp: No such file or directory
configure:11674: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "test"
| #define PACKAGE_TARNAME "test"
| #define PACKAGE_VERSION "0.0"
| #define PACKAGE_STRING "test 0.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "test"
| #define VERSION "0.0"
| #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_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h.  */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| 		     Syntax error
configure:11674: /lib/cpp  conftest.m
cpp: error trying to exec 'cc1obj': execvp: No such file or directory
configure:11674: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "test"
| #define PACKAGE_TARNAME "test"
| #define PACKAGE_VERSION "0.0"
| #define PACKAGE_STRING "test 0.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "test"
| #define VERSION "0.0"
| #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_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h.  */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| 		     Syntax error
configure:11674: /lib/cpp  conftest.m
cpp: error trying to exec 'cc1obj': execvp: No such file or directory
configure:11674: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "test"
| #define PACKAGE_TARNAME "test"
| #define PACKAGE_VERSION "0.0"
| #define PACKAGE_STRING "test 0.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "test"
| #define VERSION "0.0"
| #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_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h.  */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| 		     Syntax error
configure:11713: result: /lib/cpp
configure:11733: /lib/cpp  conftest.m
cpp: error trying to exec 'cc1obj': execvp: No such file or directory
configure:11733: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "test"
| #define PACKAGE_TARNAME "test"
| #define PACKAGE_VERSION "0.0"
| #define PACKAGE_STRING "test 0.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "test"
| #define VERSION "0.0"
| #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_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h.  */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| 		     Syntax error
configure:11733: /lib/cpp  conftest.m
cpp: error trying to exec 'cc1obj': execvp: No such file or directory
configure:11733: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "test"
| #define PACKAGE_TARNAME "test"
| #define PACKAGE_VERSION "0.0"
| #define PACKAGE_STRING "test 0.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "test"
| #define VERSION "0.0"
| #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_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h.  */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| 		     Syntax error
configure:11763: error: in `/home/torri/code/autoconf':
configure:11766: error: Objective C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=i686-pc-linux-gnu
ac_cv_c_compiler_gnu=yes
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_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_OBJCFLAGS_set=
ac_cv_env_OBJCFLAGS_value=
ac_cv_env_OBJCPP_set=
ac_cv_env_OBJCPP_value=
ac_cv_env_OBJC_set=
ac_cv_env_OBJC_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_header_dlfcn_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_memory_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_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_unistd_h=yes
ac_cv_host=i686-pc-linux-gnu
ac_cv_objc_compiler_gnu=no
ac_cv_objext=o
ac_cv_path_EGREP='/bin/grep -E'
ac_cv_path_FGREP='/bin/grep -F'
ac_cv_path_GREP=/bin/grep
ac_cv_path_SED=/bin/sed
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_OBJCPP=/lib/cpp
ac_cv_prog_ac_ct_AR=ar
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_OBJC=gcc
ac_cv_prog_ac_ct_OBJDUMP=objdump
ac_cv_prog_ac_ct_RANLIB=ranlib
ac_cv_prog_ac_ct_STRIP=strip
ac_cv_prog_cc_c89=
ac_cv_prog_cc_g=yes
ac_cv_prog_make_make_set=yes
ac_cv_prog_objc_g=no
am_cv_CC_dependencies_compiler_type=none
am_cv_OBJC_dependencies_compiler_type=none
lt_cv_archive_cmds_need_lc=no
lt_cv_deplibs_check_method=pass_all
lt_cv_file_magic_cmd='$MAGIC_CMD'
lt_cv_file_magic_test_file=
lt_cv_ld_reload_flag=-r
lt_cv_nm_interface='BSD nm'
lt_cv_objdir=.libs
lt_cv_path_LD=/usr/bin/ld
lt_cv_path_NM='/usr/bin/nm -B'
lt_cv_prog_compiler_c_o=yes
lt_cv_prog_compiler_pic_works=yes
lt_cv_prog_compiler_rtti_exceptions=no
lt_cv_prog_compiler_static_works=yes
lt_cv_prog_gnu_ld=yes
lt_cv_shlibpath_overrides_runpath=no
lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[	 ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[	 ][	 ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'''
lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\) $/  {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/  {"\2", (void *) \&\2},/p'\'''
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \([^ ]*\) $/  {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \(lib[^ ]*\)$/  {"\2", (void *) \&\2},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/  {"lib\2", (void *) \&\2},/p'\'''
lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\'''
lt_cv_sys_max_cmd_len=1572864

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /home/torri/code/autoconf/missing --run aclocal-1.11'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /home/torri/code/autoconf/missing --run tar'
AR='ar'
AUTOCONF='${SHELL} /home/torri/code/autoconf/missing --run autoconf'
AUTOHEADER='${SHELL} /home/torri/code/autoconf/missing --run autoheader'
AUTOMAKE='${SHELL} /home/torri/code/autoconf/missing --run automake-1.11'
AWK='gawk'
CC='gcc'
CCDEPMODE='depmode=none'
CFLAGS='-g -O2'
CPP='gcc -E'
CPPFLAGS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR='.deps'
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='/bin/grep -E'
EXEEXT=''
FGREP='/bin/grep -F'
GREP='/bin/grep'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LD='/usr/bin/ld'
LDFLAGS=''
LIBOBJS=''
LIBS=''
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
LIPO=''
LN_S='ln -s'
LTLIBOBJS=''
MAKEINFO='${SHELL} /home/torri/code/autoconf/missing --run makeinfo'
MKDIR_P='/bin/mkdir -p'
NM='/usr/bin/nm -B'
NMEDIT=''
OBJC='gcc'
OBJCDEPMODE='depmode=none'
OBJCFLAGS=''
OBJCPP='/lib/cpp'
OBJDUMP='objdump'
OBJEXT='o'
OTOOL64=''
OTOOL=''
PACKAGE='test'
PACKAGE_BUGREPORT=''
PACKAGE_NAME='test'
PACKAGE_STRING='test 0.0'
PACKAGE_TARNAME='test'
PACKAGE_URL=''
PACKAGE_VERSION='0.0'
PATH_SEPARATOR=':'
RANLIB='ranlib'
SED='/bin/sed'
SET_MAKE=''
SHELL='/bin/bash'
STRIP='strip'
VERSION='0.0'
ac_ct_CC='gcc'
ac_ct_DUMPBIN=''
ac_ct_OBJC='gcc'
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE='#'
am__fastdepOBJC_FALSE=''
am__fastdepOBJC_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='NONE'
host='i686-pc-linux-gnu'
host_alias=''
host_cpu='i686'
host_os='linux-gnu'
host_vendor='pc'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /home/torri/code/autoconf/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='NONE'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME "test"
#define PACKAGE_TARNAME "test"
#define PACKAGE_VERSION "0.0"
#define PACKAGE_STRING "test 0.0"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
#define PACKAGE "test"
#define VERSION "0.0"
#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_DLFCN_H 1
#define LT_OBJDIR ".libs/"

configure: exit 1

Attachment: autoconf.tar.bz2
Description: Binary data

_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux