Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

If using modern Ubuntu releases, you'll find that srandom is missing, so as mentioned on the list (JL) :

Code Block

At line 46 in Adaptor/random.c, just remove the check for WIN32, and use the initialisation

...


code in that block.  That is, change this:

...



#if defined(WIN32)

...


   time_t now;

...


   time(&now);

...


   srand(now);

...


#else
   srandomdev();

...


#endif

...



to this:

...



   time_t now;

...


   time(&now);

...


   srand(now);

Go to the ApacheXX folder that match your Apache version. In my case, I'm using Apache 2.2 built from source and installed in /usr/local/apache.

...