Subject: Configure error building Sasl2: "`CPPFLAGS' has changed since the
To: None <netbsd-users@netbsd.org>
From: Jean-Luc Wasmer <jl+netbsd@wasmer.ca>
List: netbsd-users
Date: 02/17/2004 06:48:02
Hi,

When running "make" in cyrus-sasl2, I get the following error:

...
configure: configuring in saslauthd
configure: running /bin/sh './configure' --prefix=/usr/pkg  
'--with-saslauthd=/var/run/saslauthd' '--with-dblib=ndbm' 
'--with-dbpath=/usr/pkg/etc/sasldb' 
'--with-plugindir=/usr/pkg/lib/sasl2' '--disable-anon' 
'--disable-checkapop' '--disable-cram' '--disable-digest' 
'--disable-gssapi' '--disable-krb4' '--disable-login' '--disable-ntlm' 
'--disable-otp' '--disable-plain' '--disable-sql' '--disable-srp' 
'--disable-srp-setpass' '--without-pam' '--enable-anon' 
'--enable-checkapop' '--enable-cram' '--enable-otp' '--enable-plain' 
'--enable-digest' '--with-rc4' '--with-openssl=/usr' 
'--with-devrandom=/dev/urandom' '--host=i386--netbsdelf' 
'--prefix=/usr/pkg' 'CC=gcc' 'CFLAGS=-O2 -I/usr/include' 'CPPFLAGS= 
-I/usr/include' 'LDFLAGS= -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib' 
'host_alias=i386--netbsdelf' --cache-file=.././config.cache --srcdir=.
configure: WARNING: If you wanted to set the --build type, don't use --host.
   If a cross compiler is detected then cross compile mode will be used.
configure: loading cache .././config.cache
configure: error: `CPPFLAGS' has changed since the previous run:
configure:   former value:    -I/usr/include
configure:   current value:  -I/usr/include
configure: error: changes in the environment can compromise the build
configure: error: run `make distclean' and/or `rm .././config.cache' and 
start over
configure: error: /bin/sh './configure' failed for saslauthd
*** Error code 1
...

Looks like a typo somewhere: there are only two extra spaces in the 
variable that holds the former value.

JL