Bartosz Stec <ad...@kkip.pl> writes:

>    # /usr/local/etc/rc.d/apache22 start
>    Performing sanity check on apache22 configuration:
>    httpd: Syntax error on line 68 of
>    /usr/local/etc/apache22/httpd.conf: Cannot load
>    /usr/local/libexec/apache22/mod_cache.so into server: Cannot open
>    "/usr/local/libexec/apache22/mod_cache.so"
[...]
> Problem seems to be connected with ./configure script:
>
>    # make configure &> build.log
>    # grep -i cache build.log
>    (...)
>    checking whether to enable mod_file_cache... shared
>    checking whether to enable mod_cache... no
>    checking whether to enable mod_disk_cache... shared
>    checking whether to enable mod_mem_cache... no
>    (...)

Seems like APACHE_MODULES is incorrectly populated.

  $ make -V APACHE_MODULES BATCH= GREP=${LOCALBASE-/usr/local}/bin/grep | fgrep 
cache
  ...cache disk_cache file_cache...
  $ make -V APACHE_MODULES BATCH= | fgrep cache
  ...disk_cache file_cache...

I guess the failing line is below in bsd.apache.mk

  ${ECHO_CMD} ${WITHOUT_MODULES} | ${GREP} -wq $${module} 2> /dev/null || \

It can be reduced to

  $ echo mem_cache | grep --color -w cache
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to