Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 43586 invoked from network); 25 Sep 2009 21:50:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 25 Sep 2009 21:50:11 -0000 Received: (qmail 13782 invoked by uid 500); 25 Sep 2009 21:50:10 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 13687 invoked by uid 500); 25 Sep 2009 21:50:10 -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 13675 invoked by uid 99); 25 Sep 2009 21:50:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Sep 2009 21:50:10 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.9] (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 25 Sep 2009 21:50:08 +0000 Received: (qmail 43518 invoked by uid 2161); 25 Sep 2009 21:49:48 -0000 Received: from [192.168.2.4] (euler.heimnetz.de [192.168.2.4]) by cerberus.heimnetz.de (Postfix on SuSE Linux 7.0 (i386)) with ESMTP id 8DA641721C for ; Fri, 25 Sep 2009 23:49:37 +0200 (CEST) Message-ID: <4ABD3B08.5010902@apache.org> Date: Fri, 25 Sep 2009 23:50:00 +0200 From: Ruediger Pluem User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.23) Gecko/20090823 SeaMonkey/1.1.18 MIME-Version: 1.0 To: dev@httpd.apache.org Subject: Re: [mod_fcgid] Problems installing 2.3.1 on SuSE 10.3 64bit due to missing mpm.h and mpm_default.h References: <4ABD158F.1000904@rowe-clan.net> <4ABD1F70.1050401@apache.org> In-Reply-To: X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org On 09/25/2009 09:57 PM, Jeff Trawick wrote: > On Fri, Sep 25, 2009 at 3:52 PM, Guenter Knauf wrote: > >> Bill, >> William A. Rowe, Jr. schrieb: >>> Marcus Merz wrote: >>>> Umm, I am no expert so please bear with me... ;-) >>>> >>>> I did create mod_foo.c in :/usr/local/src/mod_fcgid-2.3.1/modules/fcgid >>>> with vim and only one line >>>> --- >>>> #include "mpm_common.h" >>>> --- >>>> >>>> and afterwards >>>> >>>> :/usr/local/src/mod_fcgid-2.3.1/modules/fcgid # apxs2 -c mod_foo.c >>> Then try with >>> # apxs2-prefork -c mod_foo.c >> # make >> /usr/lib/apr-1/build/libtool --silent --mode=compile gcc -pthread >> -march=i586 -mtune=i686 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 >> -fstack-protector -O2 -g -fPIC -Wall -fno-strict-aliasing >> -DLDAP_DEPRECATED -DFCGID_APXS_BUILD -DLINUX=2 -D_REENTRANT >> -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -DSSL_EXPERIMENTAL_ENGINE >> -DMAX_SERVER_LIMIT=200000 -DLDAP_DEPRECATED -DMAXLINE=4096 >> -I/temp/devel/mod_fcgid/modules/fcgid >> -I/temp/devel/mod_fcgid/modules/fcgid -I/temp/devel/mod_fcgid/include >> -I/usr/include/apache2 -I. -I/usr/include/apr-1 -prefer-pic -c The above include option is wrong: -I/usr/include/apache2 >> fcgid_proc_unix.c && touch fcgid_proc_unix.slo >> In file included from fcgid_proc_unix.c:33: >> /usr/include/apache2/mpm_common.h:46:17: error: mpm.h: Datei oder >> Verzeichnis nicht gefunden >> make: *** [fcgid_proc_unix.slo] Fehler 1 >> # apxs2-prefork -c fcgid_proc_unix.c >> /usr/lib/apr-1/build/libtool --silent --mode=compile gcc -prefer-pic >> -march=i586 -mtune=i686 -fmessage-length=0 -Wall-D_FORTIFY_SOURCE=2 >> -fstack-protector -O2 -g -fPIC -Wall -fno-strict-aliasing >> -DLDAP_DEPRECATED -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE >> -D_LARGEFILE64_SOURCE -pthread -I/usr/include/apache2-prefork Here it sets the correct one: -I/usr/include/apache2-prefork No idea why. Just an observation. Regards R�diger