Hi, I'm trying to build a RPM of Apache 2.2.3 on RHEL3. I have modified the provided spec-file to read like this: >>>>>>>>>>>>>> ../configure -C \ --prefix=%{_sysconfdir}/httpd \ --exec-prefix=%{_prefix} \ --bindir=%{_bindir} \ --sbindir=%{_sbindir} \ --mandir=%{_mandir} \ --libdir=%{_libdir} \ --sysconfdir=%{_sysconfdir}/httpd/conf \ --includedir=%{_includedir}/httpd \ --libexecdir=%{_libdir}/httpd/modules \ --datadir=%{contentdir} \ --with-mpm=$mpm \ --enable-so \ --enable-suexec --with-suexec \ --with-included-apr \ --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 \ --with-ldap --enable-ldap --enable-authnz-ldap \--enable-cache --enable-disk-cache --enable-mem-cache --enable-file-cache \
--enable-ssl --with-ssl \ --enable-deflate --enable-cgid \ --enable-proxy --enable-proxy-connect \ --enable-proxy-http --enable-proxy-ftp \ <<<<<<<<<<<<<< After some time in the rpmbuild -ba process, I get the following: >>>>>>>>>>>>>> checking for an ANSI C-conforming const... (cached) yes checking for library containing sqrt... -lm checking for getpwnam... yes checking for getgrnam... yes checking for initgroups... yes checking for bindprocessor... no checking for prctl... yes checking for timegm... yes checking for void pointer length... no checking for tm_gmtoff in struct tm... yes mkdir modules mkdir modules/aaa checking whether to enable mod_authn_file... shared (all) checking whether to enable mod_authn_dbm... shared (all) checking whether to enable mod_authn_anon... shared (all) checking whether to enable mod_authn_dbd... shared (all) checking whether to enable mod_authn_default... shared (all) checking whether to enable mod_authn_alias... no checking whether to enable mod_authz_host... shared (all) checking whether to enable mod_authz_groupfile... shared (all) checking whether to enable mod_authz_user... shared (all) checking whether to enable mod_authz_dbm... shared (all) checking whether to enable mod_authz_owner... shared (all) checking whether to enable mod_authnz_ldap... shared (all) checking whether to enable mod_authz_default... shared (all) checking whether to enable mod_auth_basic... shared (all) 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/rpmbuild/rpm/tmp/rpm-tmp.17577 (%build) <<<<<<<<<<<<<< How do I configure the included apr with --with-egd and --with-devrandom? cheers, Rainer --------------------------------------------------------------------- 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@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx