On Thu, 28 Jun 2001, Justin Erenkrantz wrote:
> On Thu, Jun 28, 2001 at 04:52:01PM -0400, Donald Ball wrote:
> > On Thu, 28 Jun 2001, Justin Erenkrantz wrote:
> >
> > > You need to link against MM (static) to your compilation. See
> > > apr/shmem/unix/mm/.libs/libmm.a. mod_webapp should be taking
> > > advantage of APRVARS (which has this information). It doesn't
> > > seem to be doing so. -- justin
> >
> > pardon my ignorance, what should be statically linked? mod_webapp.so?
> > libwebapp.a? do you have a sample apxs or gcc invokation that i could
> > follow?
>
> You should be able to add
>
> "-L/path/to/apr/shmem/unix/mm/.libs -lmm"
>
> to your apxs -c command line (after mod_webapp.c, if I recall the
> link order correctly). This tells the compiler to include the MM
> library - which you aren't including. -- justin
strange, libapr seems to include libmm, but i went ahead and built and
installed libmm seperately in /usr/local/lib. okay, geez, now i get this
error:
[root@chngw apache]# apachectl configtest
Syntax error on line 42 of /usr/local/apache/conf/httpd.conf:
Cannot add module via name 'webapp_module': not in list of loaded modules
httpd.conf contains:
LoadModule webapp_module libexec/mod_webapp.so
AddModule webapp_module
any more suggestions?
- donald