You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Mark Watts <m....@linux-corner.info> on 2007/10/04 21:40:19 UTC

2.0.61 RPM

Hi,

I'm trying to compile httpd 2.0.61 using the included spec file on Mandriva 2005LE.

I get the following errors part-way through the build:


Configuring PCRE regular expression library ...

updating cache config.cache
configuring package in srclib/pcre now
configure: loading cache /home/mwatts/rpm/BUILD/httpd-2.0.61/prefork/config.cache
configure: error: `CFLAGS' has changed since the previous run:
configure:   former value:  -O2 -fomit-frame-pointer -pipe -march=i586 -mtune=pentiumpro
configure:   current value: -O2 -fomit-frame-pointer -pipe -march=i586 -mtune=pentiumpro
configure: error: changes in the environment can compromise the build
configure: error: run `make distclean' and/or `rm /home/mwatts/rpm/BUILD/httpd-2.0.61/prefork/config.cache' and start over
configure failed for srclib/pcre
error: Bad exit status from /var/tmp/rpm-tmp.15615 (%build)


I'm using the command "rpmbuild -ta httpd-2.0.61.tar.gz" to build it (I get the same error extracting the spec file and building from that too).

Does anyone have an idea how I can fix this?

Mark.