The current autoconf (OK, as of about 20 hours ago) produces a configure
script that does not find a working C preprocessor.
Here's the output generated by running "configure", followd by the
config.log:
configure: loading cache /dev/null
checking build system type... mips-dec-ultrix4.4
checking host system type... mips-dec-ultrix4.4
checking target system type... mips-dec-ultrix4.4
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/bin/sh: º: not found
WARNING: `:' is needed, and you do not seem to have it handy on your
system. You might have modified some files without having the
proper tools for further handling them. Check the `README' file,
it often tells you about the needed prerequirements for installing
this package. You may also peek at any GNU archive site, in case
some other package would contain this missing `:' program.
configure: WARNING: `missing' script is too old or missing
checking for mawk... no
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix...
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... # 1 "conftest.c"
# 2158 "configure"
# 1 "confdefs.h" 1
# 2159 "configure" 2
# 1 "/usr/local/mips-dec-ultrix4.4/include/assert.h" 1 3
# 19 "/usr/local/mips-dec-ultrix4.4/include/assert.h" 3
extern void __eprintf (const char *, const char *, unsigned, const char *)
__attribute__ ((noreturn));
# 52 "/usr/local/mips-dec-ultrix4.4/include/assert.h" 3
# 2160 "configure" 2
Syntax error
# 1 "conftest.c"
# 2158 "configure"
# 1 "confdefs.h" 1
# 2159 "configure" 2
# 1 "/usr/local/mips-dec-ultrix4.4/include/assert.h" 1 3
# 19 "/usr/local/mips-dec-ultrix4.4/include/assert.h" 3
# 41 "/usr/local/mips-dec-ultrix4.4/include/assert.h" 3
extern void __eprintf () __attribute__ ((noreturn));
# 2160 "configure" 2
Syntax error
# 1 "conftest.c"
# 2159 "configure"
# 1 "./confdefs.h"
# 2160 "configure"
# 1 "/usr/include/assert.h"
extern void __assert();
# 2161 "configure"
Syntax error
/lib/cpp
configure: error: C preprocessor "/lib/cpp" fails sanity check
Here's the config.log:
stenn@pogo> more config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by configure 2.49d, executed with
> ../configure --enable-parse-clocks
## ---------- ##
## Platform. ##
## ---------- ##
hostname = porkypine.udel.edu
uname -m = RISC
uname -r = 4.4
uname -s = ULTRIX
uname -v = 0
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
hostinfo = unknown
/bin/machine = mips
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH = /usa/stenn/bin:/usr/local/bin:/usr/local/gnu/bin:/usr/bin/X11:/bin:/usr/b
in:/usr/ucb:/usr/local/etc:/etc:/usr/etc:.
## ------------ ##
## Core tests. ##
## ------------ ##
configure:952: loading cache /dev/null
configure:1018: PATH=".;."; conftest.sh
sh: conftest.sh: not found
configure:1021: $? = 1
configure:1061: checking build system type
configure:1079: result: mips-dec-ultrix4.4
configure:1086: checking host system type
configure:1100: result: mips-dec-ultrix4.4
configure:1107: checking target system type
configure:1121: result: mips-dec-ultrix4.4
configure:1173: checking for a BSD compatible install
configure:1222: result: /usr/bin/install -c
configure:1233: checking whether build environment is sane
configure:1276: result: yes
configure:1286: WARNING: `missing' script is too old or missing
configure:1294: checking for mawk
configure:1319: result: no
configure:1294: checking for gawk
configure:1316: result: gawk
configure:1326: checking whether make sets ${MAKE}
configure:1346: result: yes
configure:1515: checking for gcc
configure:1537: result: gcc
configure:1776: checking for C compiler default output
configure:1779: gcc conftest.c >&5
configure:1782: $? = 0
configure:1805: result: a.out
configure:1810: checking whether the C compiler works
configure:1816: ./a.out
configure:1819: $? = 0
configure:1834: result: yes
configure:1841: checking whether we are cross compiling
configure:1843: result: no
configure:1846: checking for executable suffix
configure:1848: gcc -o conftest conftest.c >&5
configure:1851: $? = 0
configure:1873: result:
configure:1879: checking for object suffix
configure:1897: gcc -c conftest.c >&5
configure:1900: $? = 0
configure:1919: result: o
configure:1923: checking whether we are using the GNU C compiler
configure:1944: gcc -c conftest.c >&5
configure:1947: $? = 0
configure:1950: test -s conftest.o
configure:1953: $? = 0
configure:1965: result: yes
configure:1971: checking whether gcc accepts -g
configure:1989: gcc -c -g conftest.c >&5
configure:1992: $? = 0
configure:1995: test -s conftest.o
configure:1998: $? = 0
configure:2008: result: yes
configure:2035: gcc -c -g -O2 conftest.c >&5
conftest.c:2: parse error before `me'
configure:2038: $? = 1
configure: failed program was:
#ifndef __cplusplus
choke me
#endif
configure:2140: checking how to run the C preprocessor
configure:2164: gcc -E conftest.c >/dev/null
sh: illegal io
configure:2170: $? = 1
configure: failed program was:
#line 2159 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax error
configure:2164: gcc -E -traditional-cpp conftest.c >/dev/null
sh: illegal io
configure:2170: $? = 1
configure: failed program was:
#line 2159 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax error
configure:2164: /lib/cpp conftest.c >/dev/null
sh: illegal io
configure:2170: $? = 1
configure: failed program was:
#line 2159 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax error
configure:2310: result: /lib/cpp
configure:2313: error: C preprocessor "/lib/cpp" fails sanity check
## ----------------- ##
## Cache variables. ##
## ----------------- ##
ac_cv_build='mips-dec-ultrix4.4'
ac_cv_build_alias='mips-dec-ultrix4.4'
ac_cv_c_compiler_gnu='yes'
ac_cv_env_CC_set=''
ac_cv_env_CC_value=''
ac_cv_env_CFLAGS_set=''
stenn@pogo>