Hi! 

I'm trying to compile mod_cache which was checked out from
http://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/cache about
an hour ago:

[r...@dev38 mod_cache]# svn info
Path: .
URL: http://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/cache
Repository Root: http://svn.apache.org/repos/asf
Repository UUID: 13f79535-47bb-0310-9956-ffa450edef68
Revision: 823208
Node Kind: directory
Schedule: normal
Last Changed Author: minfrin
Last Changed Rev: 821993
Last Changed Date: 2009-10-05 16:27:19 -0400 (Mon, 05 Oct 2009)

I was able to compile mod_cache.c, but got stuck with 
mod_disk_cache (mod_cache doesn't seem to be working with the old
mod_disk_cache I had).

Command I've used:
[r...@dev38 mod_cache]#/usr/sbin/apxs -c mod_disk_cache.c
/usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -prefer-pic
-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-
protector --param=ssp-buffer-size=4 -m64 -mtune=generic -DLINUX=2 -
D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/httpd -I/usr/
include/apr-1 -I/usr/include/apr-1 -c -o mod_disk_cache.lo
mod_disk_cache.c && touch mod_disk_cache.slo
mod_disk_cache.c: In function 'open_entity':
mod_disk_cache.c:380: error: 'core_dir_config' undeclared (first use
in this function)
mod_disk_cache.c:380: error: (Each undeclared identifier is reported
only once
mod_disk_cache.c:380: error: for each function it appears in.)
mod_disk_cache.c:380: error: 'coreconf' undeclared (first use in this
function)
mod_disk_cache.c:380: error: 'core_module' undeclared (first use in
this function)
mod_disk_cache.c:482: error: 'ENABLE_SENDFILE_OFF' undeclared (first
use in this function)
apxs:Error: Command failed with rc=65536

[r...@dev38 mod_cache]# /usr/sbin/apachectl -v
Server version: Apache/2.2.3
Server built: Aug 6 2007 07:22:24
[r...@dev38 mod_cache]# /usr/sbin/apachectl -V
Server version: Apache/2.2.3
Server built: Aug 6 2007 07:22:24
Server's Module Magic Number: 20051115:3
Server loaded: APR 1.2.7, APR-Util 1.2.7
Compiled using: APR 1.2.7, APR-Util 1.2.7
Architecture: 64-bit
Server MPM: Prefork
threaded: no
forked: yes (variable process count)
Server compiled with....
-D APACHE_MPM_DIR="server/mpm/prefork"
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
-D APR_USE_SYSVSEM_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D DYNAMIC_MODULE_LIMIT=128
-D HTTPD_ROOT="/etc/httpd"
-D SUEXEC_BIN="/usr/sbin/suexec"
-D DEFAULT_PIDLOG="logs/httpd.pid"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_LOCKFILE="logs/accept.lock"
-D DEFAULT_ERRORLOG="logs/error_log"
-D AP_TYPES_CONFIG_FILE="conf/mime.types"
-D SERVER_CONFIG_FILE="conf/httpd.conf"

Would be grateful for any help or advise.

Thank you.

--
Best Regards,
Alexander Alfimov

Reply via email to