apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Justin Erenkrantz <jerenkra...@ebuilt.com>
Subject Re: solaris 2.8 fails to compile two test programs
Date Tue, 12 Mar 2002 09:43:59 GMT
On Tue, Mar 12, 2002 at 09:59:21AM +0100, jean-frederic clere wrote:
> That will not help:
> +++
> /bin/sh /export/home/clere/apache/httpd-2.0/srclib/apr/libtool --silent
> --mode=compile /opt/SUNWspro/WS6U1/bin/cc -g -mt   -DHAVE_CONFIG_H -DSOLARIS2=8
> -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT   -I../include  -c testrand.c && touch
> testrand.lo
> "testrand.c", line 62: #error: Random support is not available.  Go punt.
> cc: acomp failed for testrand.c

Use --with-egd.  AFAIK, nothing in httpd-2.0/SVN actually uses the
APR random code because we don't have an internal entropy source.
You'd need to compile/use EGD/PRNGd in order to get that test t

I've also heard of Solaris patches to add /dev/random.  Those would
work too, I guess.   -- justin

P.S. IMHO, using Workshop 4.2 is *bad* *bad* idea. 

View raw message