This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Configure error from Cygwin CVS HEAD


I'm getting an error from configure when trying to build Cygwin CVS
HEAD. The error is:

configure: configuring in cygwin
configure: running /bin/sh '/netrel/src/cygwin/winsup/cygwin/configure' --prefix=/usr  '--cache-file=./config.cache' '--with-newlib' '--enable-multilib' '--prefix=/usr' '--exec-prefix=/usr' '--sysconfdir=/etc' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--libdir=/usr/lib' '--includedir=/nonexistent/include' '--libexecdir=/usr/sbin' '--program-transform-name=s,y,y,' '--with-target-subdir=i686-pc-cygwin' '--build=i686-pc-cygwin' '--host=i686-pc-cygwin' '--target=i686-pc-cygwin' '--srcdir=/netrel/src/cygwin/winsup' 'CC=gcc -L/netrel/build/cygwin/i686-pc-cygwin/winsup -L/netrel/build/cygwin/i686-pc-cygwin/winsup/cygwin -L/netrel/build/cygwin/i686-pc-cygwin/winsup/w32api/lib -isystem /netrel/src/cygwin/winsup/include -isystem /netrel/src/cygwin/winsup/cygwin/include -isystem /netrel/src/cygwin/winsup/w32api/include -B/netrel/build/cygwin/i686-pc-cygwin/newlib/ -isystem /netrel/build/cygwin/i686-pc-cygwin/newlib/targ-include -isystem /netrel/src/cygwin/newlib/libc/inclu
de'
'CFLAGS=-O2 -O2 -gstabs+ ' 'CPPFLAGS=' 'CXXFLAGS=-O2 -gstabs+ ' 'CXX=g++ -L/netrel/build/cygwin/i686-pc-cygwin/winsup -L/netrel/build/cygwin/i686-pc-cygwin/winsup/cygwin -L/netrel/build/cygwin/i686-pc-cygwin/winsup/w32api/lib -isystem /netrel/src/cygwin/winsup/include -isystem /netrel/src/cygwin/winsup/cygwin/include -isystem /netrel/src/cygwin/winsup/w32api/include -B/netrel/build/cygwin/i686-pc-cygwin/newlib/ -isystem /netrel/build/cygwin/i686-pc-cygwin/newlib/targ-include -isystem /netrel/src/cygwin/newlib/libc/include' 'LDFLAGS=' 'build_alias=i686-pc-cygwin' 'host_alias=i686-pc-cygwin' 'target_alias=i686-pc-cygwin' --cache-file=.././config.cache --srcdir=/netrel/src/cygwin/winsup/cygwin
configure: loading cache .././config.cache
configure: error: `CFLAGS' has changed since the previous run:
configure:   former value:  -O2 -O2 -gstabs+
configure:   current value: -O2 -O2 -gstabs+
configure: error: `CXXFLAGS' has changed since the previous run:
configure:   former value:  -O2 -gstabs+
configure:   current value: -O2 -gstabs+
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 '/netrel/src/cygwin/winsup/cygwin/configure' failed for cygwin
make[1]: *** [configure-target-winsup] Error 1
make[1]: Leaving directory `/netrel/build/cygwin'
make: *** [all] Error 2

Although the former and current values look the same, the former
value actually has two trailing spaces while the current value has
only one. The attached patch solves the problem for me, but I doubt
it is the appropriate way to fix this. Is there a better way?

-- 
David Rothenberger  ----  daveroth@acm.org

First Law of Socio-Genetics:
        Celibacy is not hereditary.

Attachment: config-cache-error.patch
Description: Text document

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]