1 |
"Mark Knecht" <markknecht@×××××.com> posted |
2 |
5bdc1c8b0705181109g5bac491jf1eb3513d3a896dc@××××××××××.com, excerpted |
3 |
below, on Fri, 18 May 2007 11:09:12 -0700: |
4 |
|
5 |
> I'm trying to build mythweb which wants php. php dies with a |
6 |
> message I haven't seen before. I'm not clear why CPPFLAGS should have |
7 |
> changed unless it was a recent profile update. |
8 |
> |
9 |
> What is the recommended 'make distclean' actually going to do? |
10 |
> |
11 |
> Where is CPPFLAGS defined? I don't see it in make.conf. |
12 |
> |
13 |
> Thanks, |
14 |
> Mark |
15 |
|
16 |
> configure: loading cache ./config.cache |
17 |
> configure: error: `CPPFLAGS' has changed since the previous run: |
18 |
> configure: former value: -I/usr/include/db4.2 |
19 |
> configure: current value: -I/usr/include/db4.2 -I/usr/include/db4.2 |
20 |
> configure: error: changes in the environment can compromise the build |
21 |
> configure: error: run `make distclean' and/or |
22 |
> `rm ./config.cache' and start over |
23 |
|
24 |
That error is emitted by the configure script from upstream, not by the |
25 |
ebuild, so it's a generic error intended to help someone doing a manual |
26 |
configure and make, not someone simply running the ebuild script as part |
27 |
of a Gentoo automated build. Thus, it's not talking about make.conf, |
28 |
which is Gentoo specific, but about the environment within the script, as |
29 |
setup by the ebuild. |
30 |
|
31 |
IOW, it's probably an ebuild bug. |
32 |
|
33 |
You don't still have confcache installed and FEATURES=confcache, do you? |
34 |
If you do, try turning off confcache, as that's no longer Gentoo |
35 |
supported. (Some of us still run it, but know to try turning it off if |
36 |
there are issues before trying much else and certainly before filing |
37 |
bugs.) You can turn it off for just that package by creating a file /etc/ |
38 |
portage/env/<category>/<package> , in this case, /etc/portage/env/dev- |
39 |
lang/php , and putting within it a single line, FEATURE=-confcache . |
40 |
|
41 |
If confcache isn't the issue, as usual, check bugzilla, and cc yourself |
42 |
to the appropriate bug if desired or file one if necessary. (As it |
43 |
happens, I see one already filed for this error, http://bugs.gentoo.org/ |
44 |
show_bug.cgi?id=179034 , filed just today it appears.) |
45 |
|
46 |
-- |
47 |
Duncan - List replies preferred. No HTML msgs. |
48 |
"Every nonfree program has a lord, a master -- |
49 |
and if you use the program, he is your master." Richard Stallman |
50 |
|
51 |
-- |
52 |
gentoo-amd64@g.o mailing list |