httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ruediger Pluem <rpl...@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
Date Fri, 25 Sep 2009 21:50:00 GMT


On 09/25/2009 09:57 PM, Jeff Trawick wrote:
> On Fri, Sep 25, 2009 at 3:52 PM, Guenter Knauf <fuankg@apache.org> 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


Mime
View raw message