Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 21217 invoked from network); 9 Dec 2009 14:03:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 9 Dec 2009 14:03:17 -0000 Received: (qmail 33845 invoked by uid 500); 9 Dec 2009 14:03:16 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 33776 invoked by uid 500); 9 Dec 2009 14:03:16 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 33767 invoked by uid 99); 9 Dec 2009 14:03:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Dec 2009 14:03:16 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of apache-dev@m.gmane.org designates 80.91.229.12 as permitted sender) Received: from [80.91.229.12] (HELO lo.gmane.org) (80.91.229.12) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Dec 2009 14:03:08 +0000 Received: from list by lo.gmane.org with local (Exim 4.50) id 1NIN7u-0005lJ-QL for dev@httpd.apache.org; Wed, 09 Dec 2009 15:02:46 +0100 Received: from dslb-084-057-142-107.pools.arcor-ip.net ([84.57.142.107]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 09 Dec 2009 15:02:46 +0100 Received: from carsten_sttgt by dslb-084-057-142-107.pools.arcor-ip.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 09 Dec 2009 15:02:46 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: dev@httpd.apache.org From: Carsten Wiedmann Subject: Re: [mod_fcgid] can't find apr headers Date: Wed, 09 Dec 2009 15:02:20 +0100 Lines: 80 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: dslb-084-057-142-107.pools.arcor-ip.net User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) In-Reply-To: Sender: news X-Virus-Checked: Checked by ClamAV on apache.org Jeff Trawick schrieb: > Check for the following after configure.apxs finishes: > > fcgid-2.3.4/Makefile sets top_builddir to /usr/local I have: | top_builddir=/usr/local/share/apache22 But I think that's ok, because "rules.mk", "config_vars.mk" ... are in: /usr/local/share/apache22/build > fcgid-2.3.4/Makefile includes /usr/local/build/rules.mk (from your > httpd install) I have: | include /usr/local/share/apache22/build/rules.mk > /usr/local/build/rules.mk includes $(top_builddir)/build/config_vars.mk I have: | include $(top_builddir)/build/config_vars.mk > /usr/local/build/config_vars.mk includes /usr/local/include/apr-1 in > EXTRA_INCLUDES > (if not, what is EXTRA_INCLUDES set to?) No, the apr include dir is not part of EXTRA_INCLUDES. The apr inlude dir is defined in APR_INCLUDEDIR. BTW: A normal apxs run is using the script defined in APR_CONFIG (/usr/local/bin/apr-1-config) to get e.g. the apr include dir. OK, with using apxs I can build and install the module: # cd modules/fcgid # apxs -c mod_fcgid.c fcgid_bridge.c fcgid_conf.c fcgid_pm_main.c \ fcgid_protocol.c fcgid_spawn_ctl.c fcgid_proctbl_unix.c \ fcgid_pm_unix.c fcgid_proc_unix.c fcgid_bucket.c fcgid_filter.c # apxs -i -a mod_fcgid.la And and least I have to set e.g.: | FcgidIPCDir /var/run/ | FcgidProcessTableFile /var/run/fcgid_shm Or Apache can't start: No access/exists to the default values of these two directives. Maybe e.g. TMPDIR should be used as default? So for me there is only one problem left. php_apc does not work together with mod_fcgid. And the question, who the guilty party is (mod_fcgid or apc...). Only the first request for a file is working, a core dump at the second, and so on. >> in config.apxs.log I have 2 errors for "conftest_sys_mutex.h.c". Maybe >> that's normal and can happen? > > That shouldn't affect a build for httpd 2.2, but what are those errors? | /usr/local/build-1/libtool --silent --mode=compile cc -I/usr/local/include -O2 -pipe -I/usr/include -fno-strict-aliasing -I/usr/local/include/apache22 -I. -I/var/ports/usr/ports/www/apache22 | In file included from /usr/include/sys/mutex.h:37, | from conftest_sys_mutex_h.c:1: | /usr/include/sys/_lock.h:36: error: expected specifier-qualifier-list before 'u_int' | In file included from /usr/include/sys/mutex.h:38, | from conftest_sys_mutex_h.c:1: | /usr/include/sys/_mutex.h:39: error: expected ':', ',', ';', '}' or '__attribute__' before 'mtx_lock' | *** Error code 1 | | Stop in /root/mod_fcgid-2.3.4/build. Hope that helps. Regards, Carsten