From owner-freebsd-current@FreeBSD.ORG Tue Aug 10 17:45:29 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 792871065689; Tue, 10 Aug 2010 17:45:29 +0000 (UTC) (envelope-from swell.k@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id DB3528FC16; Tue, 10 Aug 2010 17:45:28 +0000 (UTC) Received: by wwb13 with SMTP id 13so1598386wwb.31 for ; Tue, 10 Aug 2010 10:45:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:references :date:message-id:user-agent:mime-version:content-type; bh=I+di8nduZi1MOHJjUD+zO+7UcPp5IpbhcF9OFTNB1Ik=; b=HJH0IrZI81nPpbEShvHn/1G9gq3+O/y2DqCB3toTj7NvO6NRVEIzpB2CSEtmP5RYI9 kfODRDSNwrEJe8Lraziu1/4h4FAcdQUcohIpBg298k8Zig90bf7oOzvxa1FN/XOwvMlc CAiqG9L9NXsrPe8jxjKalvwJw1ohcqqDnv6B0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:message-id:user-agent :mime-version:content-type; b=GrXD4EzNA/BrBgEPz3QNzy7HybE3ltPMGsgUdbYsx5sRfOXkf2/EDRqBJh6jQEk0S+ Z7snALGgDMNdPNzSZHOeVjjLVCMfjxIS3Km2vlLP29um0U9x4oas2dtZbO2oby9KqIzX wEFYzqHSiEv1++mPWfOu62+/4Vs0nfCK4l+X8= Received: by 10.227.135.18 with SMTP id l18mr14445016wbt.120.1281462324183; Tue, 10 Aug 2010 10:45:24 -0700 (PDT) Received: from localhost (ks369417.kimsufi.com [94.23.44.129]) by mx.google.com with ESMTPS id h3sm5681891wbb.21.2010.08.10.10.45.21 (version=SSLv3 cipher=RC4-MD5); Tue, 10 Aug 2010 10:45:23 -0700 (PDT) From: Anonymous To: Bartosz Stec References: <4C613C56.109@kkip.pl> Date: Tue, 10 Aug 2010 21:45:06 +0400 Message-ID: <86r5i61hwd.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-current@freebsd.org, Gabor Kovesdan Subject: [bsdgrep] -w option matches part of words (Was: Apache 2.2 port and missing modules on current.) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Aug 2010 17:45:29 -0000 Bartosz Stec 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