APC install problem

From: Date: Wed, 03 Dec 2003 04:10:46 +0000
Subject: APC install problem
Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-235@lists.php.net to get a copy of this message
Hi, It fails, even if it is going to install APC as a static module. It is OK if patch of the following is applied. diff -u apc/apc.h apc_patch/apc.h --- apc/apc.h Sun Jun 29 11:51:39 2003 +++ apc_patch/apc.h Wed Dec 3 12:33:49 2003 @@ -37,7 +37,12 @@ #include <sys/stat.h> #include <unistd.h> +#ifdef HAVE_CONFIG_H #include "config.h" +#endif + +#include "php.h" +#include "php_ini.h" /* log levels constants (see apc_log) */ enum { APC_DEBUG, APC_NOTICE, APC_WARNING, APC_ERROR }; diff -u apc/apc_lock.h apc_patch/apc_lock.h --- apc/apc_lock.h Sun Jun 29 11:53:29 2003 +++ apc_patch/apc_lock.h Wed Dec 3 12:33:07 2003 @@ -18,7 +18,13 @@ #include "apc_sem.h" #include "apc_fcntl.h" + +#ifdef HAVE_CONFIG_H #include "config.h" +#endif + +#include "php.h" +#include "php_ini.h" #ifdef APC_SEM_LOCKS #define apc_lck_create(a,b,c) apc_sem_create(NULL,(b),(c)) -- Youichi Iwakiri

« previous php.pecl.dev (#235) next »