Mustang httpd-2.0.59 # tail -n1 /var/log/apache2/error_log [Thu Apr 26 14:47:41 2007] [error] [client <IP>] (75)Value too large for defined data type: access to <file> failed Mustang httpd-2.0.59 # pwd;echo;egrep -r "LARGE_FILE|LARGEFILE" *|grep "#define" /var/tmp/portage/net-www/apache-2.0.59-r2/work/httpd-2.0.59 modules/loggers/mod_log_config.c:#define APR_LARGEFILE 0 server/log.c:#define APR_LARGEFILE 0 srclib/apr/include/apr.h.in:#define APR_HAS_LARGE_FILES 0 srclib/apr/include/apr.hw:#define APR_HAS_LARGE_FILES 1 srclib/apr/include/apr.hw:#define APR_HAS_LARGE_FILES 0 srclib/apr/include/apr_file_io.h:#define APR_LARGEFILE 0x04000 /**< Platform dependent flag to enable large file srclib/apr/include/apr.hnw:#define APR_HAS_LARGE_FILES 0
Created attachment 117332 [details] emerge info
You need apache-2.2.x for LFS, nothing else will ever handle it. NOTABUG.
What Jakub said in #c2. We either pass that compiler macro (AP2_CONFLAGS += -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64) and completely break apache (due to weird stuff in apache-2.0* and apr-0.9* -- see http://lists.debian.org/debian-apache/2005/04/msg00059.html for reference) or just use apache-2.2 ...