Subject: Error building Sasl2 "configure: error: `CPPFLAGS' has changed since
To: None <tech-pkg@NetBSD.org>
From: Jean-Luc Wasmer <jl+netbsd@wasmer.ca>
List: tech-pkg
Date: 02/16/2004 08:54:34
Hi,

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

JL

...
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