bdn.borland.com

Article #29651: Following the directions in the websnap readme for compiling Apache for DSO support doesn't work

Question:


Following the directions in the websnap readme for compiling Apache for DSO support didn't work. What went wrong?


Answer:


The readme.txt file, found in the kylix3\examples\delphi\websnap directory has the following section:
---------------------- Apache DSO's ---------------------- Creating an Apache DSO requires that the source from Apache be recompiled with a shared core. Get the source from www.apache.org and configure it with:

$./configure \
"--with-layout=Apache" \
"--enable-rule=SHARED_CORE" \
"--enable-module=most" \
"--enable-shared=max" \
"--prefix=/usr/local/apache"


In order to get Apache compiled with DSO support, change the word most in the line:
"--enable-module=most" \
to so. The entire section should look like:
$./configure \
"--with-layout=Apache" \
"--enable-rule=SHARED_CORE" \
"--enable-module=so" \
"--enable-shared=max" \
"--prefix=/usr/local/apache"


Last Modified: 27-MAR-03