make apache2 not making mod_cgi

Roman Neuhauser neuhauser at sigpipe.cz
Sat Jul 30 09:58:30 GMT 2005


# jowens at ghiapet.homeip.net / 2005-07-29 17:57:23 -0500:
> the first couple of times I remade apache2, I got a mod_cgi.so
> installed. Now, the past couple of times I've remade it (perhaps since
> Wednesday or so?), it's making all the modules I want except mod_cgi.
> I've cvsup'ed a couple of times since then, and I've got
> WITH_MISC_MODULES=yes, but in config.log I find this:

>   $ ./configure --prefix=/usr/local --enable-layout=FreeBSD
> --with-perl=/usr/local/bin/perl5.8.7 --with-port=80
> --with-expat=/usr/local --with-iconv=/usr/local
> --libdir=/usr/local/lib/apache2 --includedir=/usr/local/include/apache2
> --enable-v4-mapped
> <snip a bit of irrelevant modules etc.
> --disable-autoindex --disable-asis --disable-cgid --disable-cgi
> --disable-negotiation
> <snip>
> --with-mpm=worker i386-portbld-freebsd5.4 --prefix=/usr/local
  ^^^^^^^^^^^^^^^^^
 
> Note that in --enable-mods-shared, the rest of the MISC category is
> included, except cgi. I also find these lines in Makefile.modules that
> might be relevant (since I'm not familiar with make syntax, I'm not sure
> under what conditions these lines will be active):
> WITHOUT_MODULES+=   cgi

    cgi is added to ${WITH_MISC_MODULES} when ${WITH_MPM} contains
    anything but "prefork", and you build it with the worker mpm.

-- 
How many Vietnam vets does it take to screw in a light bulb?
You don't know, man.  You don't KNOW.
Cause you weren't THERE.             http://bash.org/?255991


More information about the freebsd-ports mailing list