httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fatmcgav <fatmc...@gmail.com>
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
required. 

However when i try to rpmbuild -ba SPECS/httpd.spec the source, it throws
the following error:
--Snip
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
failures
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)
--Snip

Any ideas how i would get around this?

I've attached the full httpd.spec file, but the configure section looks like
this:
../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. 

Cheers
Gavin
-- 
View this message in context: http://www.nabble.com/Unable-to-Build-2.2.10-RPM---Mod_auth_digest-error-tp20894733p20894733.html
Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message