httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guenter Knauf <fua...@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 19:52:16 GMT
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
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
-I/usr/include/apr-1   -I/usr/include/apr-1   -c -o fcgid_proc_unix.lo
fcgid_proc_unix.c && touch fcgid_proc_unix.slo
fcgid_proc_unix.c: In function ‘proc_read_ipc’:
fcgid_proc_unix.c:592: warning: passing argument 2 of ‘read’ discards
qualifiers from pointer target type
fcgid_proc_unix.c:625: warning: passing argument 2 of ‘read’ discards
qualifiers from pointer target type
/usr/lib/apr-1/build/libtool --silent --mode=link gcc -o
fcgid_proc_unix.la  -rpath /usr/lib/apache2-prefork -module
-avoid-version    fcgid_proc_unix.lo
svwe20:/temp/devel/mod_fcgid/modules/fcgid #

This is on my SuSE 10.3-32bit box; so everything is in place, and a
manual compile with 'apxs2-prefork -c fcgid_proc_unix.c' works ...
once fcgid_proc_unix.c is build I can continue with make for the rest ...

Gün.




Mime
View raw message