www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eugenia Harris <euge...@openmarket.com>
Subject other/4343: Activating a new module as a DSO
Date Sat, 01 May 1999 15:26:08 GMT

>Number:         4343
>Category:       other
>Synopsis:       Activating a new module as a DSO
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          change-request
>Submitter-Id:   apache
>Arrival-Date:   Sat May  1 08:30:00 PDT 1999
>Originator:     eugenia@openmarket.com
>Release:        1.3.6
Solaris 2.5 -- Generic_103093-25 sun4u sparc SUNW,Ultra-1
The configure script doesn't seem to support activating
a new module as a DSO.  I tried various combinations of the
--activate-module and --enable-shared options to no avail.
My scenario consisted of creating a src/modules/blah directory with
the right stuff to build libblah.so and then running configure as

./configure --shadow --enable-module=so --enable-module=most \
 --enable-shared=proxy --activate-module=src/modules/blah/libblah.so \
I got around it by adding an --activate-shared option.
My bloated implementation duplicates the --activate-module
code, with a few small changes, and works for me on Solaris
like this:

./configure --shadow --enable-module=so --enable-module=most \
 --enable-shared=proxy --activate-shared=src/modules/blah/libblah.so

The only changes over --with-activate-module are:

>             echo "## (configure --activate-shared=$file)" >>$addconf
>             echo "SharedModule $modfile" >>$addconf


>             eval "shared_$module=yes"
[In order for any reply to be added to the PR database, ]
[you need to include <apbugs@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]
[If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request ]
[from a developer.                                      ]
[Reply only with text; DO NOT SEND ATTACHMENTS!         ]

View raw message