I wanted to try the Pre2.0 release in the CVS to see if the TLS locking
code fixed the problem I had with the SSL errors in PEAP.
I downloaded the snapshot from ftp.freeradius.org
freeradius-server-snapshot-20070116.tar.bz2
I'm building on Debian, so I wanted to package it (Especially since it
not really released code yet)
I unzipped it, and ran
fakeroot dpkg-buildpackage -b -uc
It failed with:
checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor /lib/cpp fails sanity check
See `config.log' for more details.
make: *** [stamp-build] Error 1
netdev:/tmp/freeradius-server-snapshot-20070116#
Config.log is as follows
netdev:/tmp/freeradius-server-snapshot-20070116# 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, which was
generated by GNU Autoconf 2.59. Invocation command line was
$ ./configure --build i386-linux --config-cache --prefix=/usr
--exec-prefix=/usr --mandir=/usr/share/man --sysconfdir=/etc
--libdir=/usr/lib/freeradius --d
atadir=/usr/share --localstatedir=/var --with-raddbdir=/etc/freeradius
--with-logdir=/var/log/freeradius --with-system-libtool
--disable-ltdl-install --with-
large-files --with-udpfromto --with-edir --enable-strict-dependencies
--enable-developer --without-rlm_otp --without-rlm_sql_postgresql
--without-snmp
## - ##
## Platform. ##
## - ##
hostname = netdev
uname -m = i686
uname -r = 2.6.8-3-686
uname -s = Linux
uname -v = #1 Tue Dec 5 21:26:38 UTC 2006
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = i686
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /sbin
PATH: /bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /usr/bin/X11
PATH: /usr/local/sbin
PATH: /usr/local/bin
## --- ##
## Core tests. ##
## --- ##
configure:1423: loading cache config.cache
configure:1566: checking for gcc
configure:1582: found /usr/bin/gcc
configure:1592: result: gcc
configure:1836: checking for C compiler version
configure:1839: gcc --version /dev/null 5
gcc (GCC) 3.3.5 (Debian 1:3.3.5-13)
Copyright (C) 2003 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:1842: $? = 0
configure:1844: gcc -v /dev/null 5
Reading specs from /usr/lib/gcc-lib/i486-linux/3.3.5/specs
Configured with: ../src/configure -v
--enable-languages=c,c++,java,f77,pascal,objc,ada,treelang --prefix=/usr
--mandir=/usr/share/man --infodir=/usr/share/in
fo --with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared
--enable-__cxa_atexit --with-system-zlib --enable-nls
--without-included-gettext --enable-cloc
ale=gnu --enable-debug --enable-java-gc=boehm --enable-java-awt=xlib
--enable-objc-gc i486-linux
Thread model: posix
gcc version 3.3.5 (Debian 1:3.3.5-13)
configure:1847: $? = 0
configure:1849: gcc -V /dev/null 5
gcc: `-V' option must have argument
configure:1852: $? = 1
configure:1875: checking for C compiler default output file name
configure:1878: gcc -Wall -g -O2 conftest.c 5
configure:1881: $? = 0
configure:1927: result: a.out
configure:1932: checking whether the C compiler works
configure:1938: ./a.out
configure:1941: $? = 0
configure:1958: result: yes
configure:1965: checking whether we are cross compiling
configure:1967: result: no
configure:1970: checking for suffix of executables
configure:1972: gcc -o conftest -Wall -g -O2 conftest.c 5
configure:1975: $? = 0
configure:2000: result:
configure:2006: checking for suffix of object files
configure:2027: gcc -c -Wall -g -O2 conftest.c 5
configure:2030: $? = 0
configure:2052: result: o
configure:2056: checking whether we are using the GNU C compiler
configure:2080: gcc -c -Wall -g -O2 conftest.c 5
configure:2086: $? = 0
configure:2089: test -z || test ! -s
conftest.err
configure:2092: $? = 0
configure:2095: test -s conftest.o
configure:2098: $? = 0
configure:2111: result: yes
configure:2117: checking whether gcc accepts -g
configure:2138: gcc -c -g conftest.c 5
configure:2144: $? = 0
configure:2147: test -z || test ! -s
conftest.err
configure:2150: $? = 0
configure:2153: test -s conftest.o
configure:2156: $? = 0
configure:2167: result: yes
configure:2184: checking for gcc option to accept ANSI C
configure:2254: gcc -c -Wall -g -O2 conftest.c 5
configure:2260: $? = 0
configure:2263: test -z || test ! -s
conftest.err
configure:2266: $? = 0
configure:2269: test -s conftest.o
configure:2272: $? = 0
configure:2290: result: none needed
configure:2308: gcc -c -Wall -g -O2 conftest.c 5
conftest.c:2: error: syntax error before me
configure:2314: $? = 1
configure: failed program