List Info

Thread: Re: configure: error: `CPPFLAGS' has changed since the previous run:




Re: configure: error: `CPPFLAGS' has changed since the previous run:
country flaguser name
United States
2007-05-18 17:52:26
"Mark Knecht" <markknechtgmail.com> posted
5bdc1c8b0705181109g5bac491jf1eb3513d3a896dcmail.gmail.com, excerpted
below, on  Fri, 18 May 2007 11:09:12 -0700:

>    I'm trying to build mythweb which wants php. php
dies with a
> message I haven't seen before. I'm not clear why
CPPFLAGS should have
> changed unless it was a recent profile update.
> 
>    What is the recommended 'make distclean' actually
going to do?
> 
>    Where is CPPFLAGS defined? I don't see it in
make.conf.
> 
> Thanks,
> Mark

> configure: loading cache ./config.cache 
> configure: error: `CPPFLAGS' has changed since the
previous run: 
> configure:   former value: -I/usr/include/db4.2
> configure:   current value: -I/usr/include/db4.2
-I/usr/include/db4.2 
> configure: error: changes in the environment can
compromise the build
> configure: error: run `make distclean' and/or
> `rm ./config.cache' and start over

That error is emitted by the configure script from upstream,
not by the 
ebuild, so it's a generic error intended to help someone
doing a manual 
configure and make, not someone simply running the ebuild
script as part 
of a Gentoo automated build.  Thus, it's not talking about
make.conf, 
which is Gentoo specific, but about the environment within
the script, as 
setup by the ebuild.

IOW, it's probably an ebuild bug.  

You don't still have confcache installed and
FEATURES=confcache, do you?  
If you do, try turning off confcache, as that's no longer
Gentoo 
supported.  (Some of us still run it, but know to try
turning it off if 
there are issues before trying much else and certainly
before filing 
bugs.)  You can turn it off for just that package by
creating a file /etc/
portage/env/<category>/<package> , in this case,
/etc/portage/env/dev-
lang/php , and putting within it a single line,
FEATURE=-confcache .

If confcache isn't the issue, as usual, check bugzilla, and
cc yourself 
to the appropriate bug if desired or file one if necessary. 
(As it 
happens, I see one already filed for this error, http://bugs.gentoo.org/
show_bug.cgi?id=179034 , filed just today it appears.)

-- 
Duncan - List replies preferred.   No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master." 
Richard Stallman

-- 
gentoo-amd64gentoo.org mailing list


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )