I have Solaris 8 and I am trying to install Apache 2. I downloaded the source from and while configuring the file, I got the following error with APR and mod_auth_digest
Prior to installing Apache 2, I installed all the required stuff, like expat, libiconv, gdbm, openssl and gcc.
How can I recitify this? Any help would be greatly appreciated!
Code:
# ./configure --prefix=/usr/local/apache2 --enable-mods-shared=all --enable-speling=shared --enable-ssl=shared --with-ssl=/usr/local/ssl
checking for chosen layout... Apache
checking for working mkdir -p... yes
checking build system type... sparc-sun-solaris2.8
checking host system type... sparc-sun-solaris2.8
checking target system type... sparc-sun-solaris2.8
Configuring Apache Portable Runtime library ...
checking for APR... reconfig
configuring package in srclib/apr now
checking build system type... sparc-sun-solaris2.8
checking host system type... sparc-sun-solaris2.8
checking target system type... sparc-sun-solaris2.8
Configuring APR library
Platform: sparc-sun-solaris2.8
checking for working mkdir -p... yes
APR Version: 0.9.5
checking for chosen layout... apr
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
Applying APR hints file rules for sparc-sun-solaris2.8
setting CPPFLAGS to "-DSOLARIS2=8 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT"
(Default will be unix)
checking whether make sets $(MAKE)... no
checking how to run the C preprocessor... gcc -E
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
-------
-------
-------
checking whether to enable mod_access... shared (all)
checking whether to enable mod_auth... shared (all)
checking whether to enable mod_auth_anon... shared (all)
checking whether to enable mod_auth_dbm... 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
How can I recitify this? Any help would be greatly appreciated!