W dniu 2010-08-10 14:40, Ilya A. Arhipov pisze:
pls show:
pkg_info -xL apache | grep mod_cache
# pkg_info -xL apache | grep mod_cache
/usr/local/share/doc/apache22/mod/mod_cache.html.ja.utf8
/usr/local/share/doc/apache22/mod/mod_cache.html.ko.euc-kr
/usr/local/share/doc/apache22/mod/mod_cache.html.en
/usr/local/share/doc/apache22/mod/mod_cache.html
and try:
cd /usr/ports/www/apache22
make deinstall clean
make config -- and select mod_cache
make install clean
I tried it already, I even did portupgrade -frRi apache-2.2.16 ;)
I also tried:
#make rmconfig
#make config
and double-checked if mod_cache is enabled - and it is by default. But
still configure script doesn't seem to care about it.
or try
make extrack
cd work/httpd-you-version
and ./configure --enable-cache --enable-disk-cache --enable-mem-cache
or read ./configure --help
So I Did:
#make extract
#make patch
#./configure --enable-cache --enable-disk-cache --enable-file-cache
| grep cache
checking for ANSI C header files... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for strings.h... (cached) yes
checking whether to enable mod_file_cache... yes (default)
checking whether to enable mod_cache... yes (default)
checking whether to enable mod_disk_cache... yes (default)
checking whether to enable mod_mem_cache... no
checking for sys/sem.h... (cached) yes
checking for unistd.h... (cached) yes
creating modules/cache/Makefile
Could it be that port options aren't parsed and used within ./work
correctly? I am using this port without any problems on STABLE machines.
It compiled fine also on current about a month ago :) Could it be
connected to grep changes in CURRENT?
also Makefile.modules have:
if !defined(WITH_THREADS)
WITHOUT_MODULES+= mem_cache
if !defined(WITHOUT_APACHE_OPTIONS)&& defined(WITH_MEM_CACHE)
IGNORE+= mod_mem_cache requires WITH_THREADS
mod_mem_cache is not the problem, but the main mod_cache module. I've
mod_mem_cache disabled.
--
Bartosz Stec
--
IT4Pro Bartosz Stec
http://www.it4pro.pl
tel: 607041002
E-Mail: bartosz.s...@it4pro.pl
_______________________________________________
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"