Hi,

Apache header file ap_mpm.h contains the following AP_ defines:

#define AP_MPMQ_NOT_SUPPORTED      0  /* This value specifies whether an
MPM is capable of  threading or forking.        */
#define AP_MPMQ_STATIC             1  /* This value specifies whether an
MPM is using a static # threads or daemons.          */
#define AP_MPMQ_DYNAMIC            2  /* This value specifies whether an
MPM is using a dynamic # threads or daemons.          */  
#define AP_MPMQ_MAX_DAEMON_USED       1  /* Max # of daemons used so far
*/
#define AP_MPMQ_IS_THREADED           2  /* MPM can do threading        
*/
#define AP_MPMQ_IS_FORKED             3  /* MPM can do forking          
*/
#define AP_MPMQ_HARD_LIMIT_DAEMONS    4  /* The compiled max # daemons  
*/
#define AP_MPMQ_HARD_LIMIT_THREADS    5  /* The compiled max # threads  
*/
#define AP_MPMQ_MAX_THREADS           6  /* # of threads/child by config
*/
#define AP_MPMQ_MIN_SPARE_DAEMONS     7  /* Min # of spare daemons      
*/
#define AP_MPMQ_MIN_SPARE_THREADS     8  /* Min # of spare threads      
*/
#define AP_MPMQ_MAX_SPARE_DAEMONS     9  /* Max # of spare daemons      
*/
#define AP_MPMQ_MAX_SPARE_THREADS    10  /* Max # of spare threads      
*/
#define AP_MPMQ_MAX_REQUESTS_DAEMON  11  /* Max # of requests per daemon
*/
#define AP_MPMQ_MAX_DAEMONS          12  /* Max # of daemons by config  
*/

AP_MPMQ_MPM_STAT and AP_MPMQ_STOPPING are missing. Does it mean that
fcgid is not compatible with all Apache versions?

Thanks,
Vasya

  ----- Original Message -----
  From: "Vasya Vasyukov"
  To: mod-fcgid-users@lists.sourceforge.net
  Subject: Re: [Mod-fcgid-users] (no subject)
  Date: Wed, 14 Mar 2007 08:40:59 -0500

  Hi Darren,

  I haven't got all the Apache sources, but there are 150 header files
  in /usr/include/httpd, and many of them include AP_ macros, but none
  - AP_MPMQ_MPM_STAT or AP_MPMQ_STOPPING. Do you think I need all the
  sources?

  Thank you,
  Vasya


    ----- Original Message -----
    From: "Darren Garvey"
    To: mod-fcgid-users@lists.sourceforge.net
    Subject: Re: [Mod-fcgid-users] (no subject)
    Date: Wed, 14 Mar 2007 13:08:22 +0000

    Hi Vasya,

    On 14/03/07, Vasya Vasyukov <[EMAIL PROTECTED]> wrote:

      Hi there,While trying to compile fcgid, I get the following
      error: /bin/sh /usr/bin/libtool --silent --mode=compile gcc 
      -I.  -O2 -g -pipe -march=i386 -mcpu=
      lude  -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500
      -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURC
      e/httpd -prefer-pic -c arch/unix/fcgid_pm_unix.c && touch
      fcgid_pm_unix.slo
      arch/unix/fcgid_pm_unix.c: In function `fcgid_maint':
      arch/unix/fcgid_pm_unix.c:92: `AP_MPMQ_MPM_STATE' undeclared
      (first use in this function)
      arch/unix/fcgid_pm_unix.c:92: (Each undeclared identifier is
      reported only once
      arch/unix/fcgid_pm_unix.c:92: for each function it appears
      in.)
      arch/unix/fcgid_pm_unix.c:93: ` AP_MPMQ_STOPPING' undeclared
      (first use in this function)
      make: *** [fcgid_pm_unix.slo] Error 1 My system is AS3
      Linux 2.4.21-15.EL #1 Thu Apr 22 00:27:41 EDT 2004 i686 i686
      i386 GNU/Linux.The Apache version is httpd-2.0.46-32.ent.gcc
      version is 3.2.3 20030502 (Red Hat Linux 3.2.3-34). How this
      problem can be solved? Thanks


    Have you got the apache sources? AP_ macros are apache ones, so
    it sounds like you probably need to download the apache source
    distribution.

    hth,
    Darren

    -------------------------------------------------------------------------
    Take Surveys. Earn Cash. Influence the Future of IT
    Join SourceForge.net's Techsay panel and you'll get the chance to
    share your
    opinions on IT & business topics through brief surveys-and earn
    cash
    http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

    _______________________________________________
    Mod-fcgid-users mailing list
    Mod-fcgid-users@lists.sourceforge.net
    https://lists.sourceforge.net/lists/listinfo/mod-fcgid-users


  --


  -------------------------------------------------------------------------
  Take Surveys. Earn Cash. Influence the Future of IT
  Join SourceForge.net's Techsay panel and you'll get the chance to
  share your
  opinions on IT & business topics through brief surveys-and earn cash
  http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

  _______________________________________________
  Mod-fcgid-users mailing list
  Mod-fcgid-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/mod-fcgid-users
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Mod-fcgid-users mailing list
Mod-fcgid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mod-fcgid-users

Reply via email to