httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fatmcgav <>
Subject [users@httpd] Unable to Build 2.2.10 RPM - Mod_auth_digest error
Date Mon, 08 Dec 2008 12:50:39 GMT

HI all, 

I'm trying to build a custom Apache 2.2.10 RPM on CentOS 5.2 x86_64 for use
in our environment. 

I've extracted the httpd.spec file from the source tar.gz and modified as

However when i try to rpmbuild -ba SPECS/httpd.spec the source, it throws
the following error:
checking whether to enable mod_auth_digest... checking dependencies
You need APR random support to use mod_auth_digest.
Look at APR configure options --with-egd and --with-devrandom.
checking whether to enable mod_auth_digest... configure: error:
mod_auth_digest has been requested but can not be built due to prerequisite
error: Bad exit status from /home/gavinw/rpmbuild/tmp/rpm-tmp.21261 (%build)

RPM build errors:
    Bad exit status from /home/gavinw/rpmbuild/tmp/rpm-tmp.21261 (%build)

Any ideas how i would get around this?

I've attached the full httpd.spec file, but the configure section looks like
../configure -C \
        --prefix=%{_sysconfdir}/apache-2.2.10 \
        --with-included-apr \
        --exec-prefix=%{_prefix} \
        --bindir=%{_bindir} \
        --sbindir=%{_sbindir} \
        --mandir=%{_mandir} \
        --libdir=%{_libdir} \
        --sysconfdir=%{_prefix}/conf \
        --includedir=%{_prefix} \
        --libexecdir=%{_prefix}/modules \
        --datadir=%{contentdir} \
        --with-mpm=$mpm \
        --enable-suexec --with-suexec \
        --with-suexec-caller=%{suexec_caller} \
        --with-suexec-docroot=%{contentdir} \
        --with-suexec-logfile=%{_localstatedir}/log/httpd/suexec.log \
        --with-suexec-bin=%{_sbindir}/suexec \
        --with-suexec-uidmin=500 --with-suexec-gidmin=500 \
        --with-devrandom \
        --enable-cache --enable-disk-cache --enable-mem-cache
--enable-file-cache \
        --enable-ssl --with-ssl=/usr/local/ssl \
        --disable-cgid --enable-info --enable-so \
        --enable-proxy --enable-proxy-ajp \
        --disable-auth \

Any info appreciated. 

View this message in context:
Sent from the Apache HTTP Server - Users mailing list archive at

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message