zend framework - APC installation -



zend framework - APC installation -

i'm trying install apc on mac. i'm using xampp. ran command /applications/xampp/xamppfiles/bin directory

sudo ./pecl install apc --alldeps

i got ton of errors. there several yes/no options typed in suggested. not sure i'm doing wrong here utilize advice if there give. i'll post entire installation log.

parsepackagename(): invalid bundle name "--alldeps" in "--alldeps" invalid bundle name/package file "--alldeps" downloading apc-3.1.9.tar ... starting download apc-3.1.9.tar (unknown size) .................................................done: 801,792 bytes 54 source files, building running: phpize-5.3.1 grep: /applications/xampp/xamppfiles/include/php/php-5.3.1/php/main/php.h: no such file or directory grep: /applications/xampp/xamppfiles/include/php/php-5.3.1/php/zend/zend_modules.h: no such file or directory grep: /applications/xampp/xamppfiles/include/php/php-5.3.1/php/zend/zend_extensions.h: no such file or directory configuring for: php api version: zend module api no: zend extension api no: enable internal debugging in apc [no] : no enable per request file info files used apc cache [no] : no enable spin locks (experimental) [no] : no enable memory protection (experimental) [no] : no enable pthread mutexes (default) [yes] : yes enable pthread read/write locks (experimental) [no] : no building in /var/tmp/pear-build-root/apc-3.1.9 running: /applications/xampp/xamppfiles/temp/pear/temp/apc/configure --enable-apc-debug=no --enable-apc-filehits=no --enable-apc-spinlocks=no --enable-apc-memprotect=no --enable-apc-pthreadmutex=yes --enable-apc-pthreadrwlocks=no checking grep handles long lines , -e... /usr/bin/grep checking egrep... /usr/bin/grep -e checking sed not truncate output... /usr/bin/sed checking cc... cc checking c compiler default output file name... a.out checking whether c compiler works... yes checking whether cross compiling... no checking suffix of executables... checking suffix of object files... o checking whether using gnu c compiler... yes checking whether cc accepts -g... yes checking cc alternative take iso c89... none needed checking how run c preprocessor... cc -e checking icc... no checking suncc... no checking whether cc understands -c , -o together... yes checking scheme library directory... lib checking if compiler supports -r... no checking if compiler supports -wl,-rpath,... yes checking build scheme type... i686-apple-darwin11.2.0 checking host scheme type... i686-apple-darwin11.2.0 checking target scheme type... i686-apple-darwin11.2.0 checking php prefix... /applications/xampp/xamppfiles checking php includes... -i/applications/xampp/xamppfiles/include/php/php-5.3.1 -i/applications/xampp/xamppfiles/include/php/php-5.3.1/php -i/applications/xampp/xamppfiles/include/php/php-5.3.1/php/main -i/applications/xampp/xamppfiles/include/php/php-5.3.1/php/tsrm -i/applications/xampp/xamppfiles/include/php/php-5.3.1/php/zend -i/applications/xampp/xamppfiles/include/php/php-5.3.1/php/ext -i/applications/xampp/xamppfiles/include/php/php-5.3.1/php/ext/date/lib -i/applications/xampp/xamppfiles/include checking php extension directory... /applications/xampp/xamppfiles/lib/php/php-5.3.1/extensions/no-debug-non-zts-20090626 checking php installed headers prefix... /applications/xampp/xamppfiles/include/php/php-5.3.1/php checking if debug enabled... no checking if zts enabled... no checking re2c... no configure: warning: need re2c 0.13.4 or later if want regenerate php parsers. checking gawk... no checking nawk... no checking awk... awk checking if awk broken... no checking whether enable apc support... yes, shared checking whether should enable cache request file info... no checking whether should utilize mmap... yes checking whether should utilize semaphore locking instead of fcntl... no checking whether should utilize pthread mutex locking... yes pthread mutexs supported! checking whether should utilize pthread read/write locking... no checking whether target compiler supports builtin atomics... yes checking whether should utilize spin locks... no checking whether should enable memory protection... no checking zend_set_lookup_function_hook... no checking sigaction... yes checking union semun... yes checking whether should enable valgrind support... checking ansi c header files... yes checking sys/types.h... yes checking sys/stat.h... yes checking stdlib.h... yes checking string.h... yes checking memory.h... yes checking strings.h... yes checking inttypes.h... yes checking stdint.h... yes checking unistd.h... yes yes checking valgrind/memcheck.h usability... no checking valgrind/memcheck.h presence... no checking valgrind/memcheck.h... no checking shm_open in -lrt... no checking ld used cc... /usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld checking if linker (/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld) gnu ld... no checking /usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld alternative reload object files... -r checking bsd-compatible nm... /usr/bin/nm checking whether ln -s works... yes checking how recognise dependent libraries... pass_all checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking dlfcn.h... yes checking maximum length of command line arguments... 196608 checking command parse /usr/bin/nm output cc object... rm: conftest.dsym: directory rm: conftest.dsym: directory rm: conftest.dsym: directory rm: conftest.dsym: directory ok checking objdir... .libs checking ar... ar checking ranlib... ranlib checking strip... strip rm: conftest.dsym: directory rm: conftest.dsym: directory checking if cc static flag works... rm: conftest.dsym: directory yes checking if cc supports -fno-rtti -fno-exceptions... rm: conftest.dsym: directory no checking cc alternative produce pic... -fno-common checking if cc pic flag -fno-common works... rm: conftest.dsym: directory yes checking if cc supports -c -o file.o... rm: conftest.dsym: directory yes checking whether cc linker (/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld) supports shared libraries... yes checking dynamic linker characteristics... darwin11.2.0 dyld checking how hardcode library paths programs... immediate checking whether stripping libraries possible... yes checking if libtool supports shared libraries... yes checking whether build shared libraries... yes checking whether build static libraries... no creating libtool appending configuration tag "cxx" libtool configure: creating ./config.status config.status: creating config.h running: create /bin/sh /private/var/tmp/pear-build-root/apc-3.1.9/libtool --mode=compile cc -i. -i/applications/xampp/xamppfiles/temp/pear/temp/apc -dphp_atom_inc -i/private/var/tmp/pear-build-root/apc-3.1.9/include -i/private/var/tmp/pear-build-root/apc-3.1.9/main -i/applications/xampp/xamppfiles/temp/pear/temp/apc -i/applications/xampp/xamppfiles/include/php/php-5.3.1 -i/applications/xampp/xamppfiles/include/php/php-5.3.1/php -i/applications/xampp/xamppfiles/include/php/php-5.3.1/php/main -i/applications/xampp/xamppfiles/include/php/php-5.3.1/php/tsrm -i/applications/xampp/xamppfiles/include/php/php-5.3.1/php/zend -i/applications/xampp/xamppfiles/include/php/php-5.3.1/php/ext -i/applications/xampp/xamppfiles/include/php/php-5.3.1/php/ext/date/lib -i/applications/xampp/xamppfiles/include -dhave_config_h -g -o2 -c /applications/xampp/xamppfiles/temp/pear/temp/apc/apc.c -o apc.lo mkdir .libs cc -i. -i/applications/xampp/xamppfiles/temp/pear/temp/apc -dphp_atom_inc -i/private/var/tmp/pear-build-root/apc-3.1.9/include -i/private/var/tmp/pear-build-root/apc-3.1.9/main -i/applications/xampp/xamppfiles/temp/pear/temp/apc -i/applications/xampp/xamppfiles/include/php/php-5.3.1 -i/applications/xampp/xamppfiles/include/php/php-5.3.1/php -i/applications/xampp/xamppfiles/include/php/php-5.3.1/php/main -i/applications/xampp/xamppfiles/include/php/php-5.3.1/php/tsrm -i/applications/xampp/xamppfiles/include/php/php-5.3.1/php/zend -i/applications/xampp/xamppfiles/include/php/php-5.3.1/php/ext -i/applications/xampp/xamppfiles/include/php/php-5.3.1/php/ext/date/lib -i/applications/xampp/xamppfiles/include -dhave_config_h -g -o2 -c /applications/xampp/xamppfiles/temp/pear/temp/apc/apc.c -fno-common -dpic -o .libs/apc.o in file included /applications/xampp/xamppfiles/temp/pear/temp/apc/apc.c:34: /applications/xampp/xamppfiles/temp/pear/temp/apc/apc.h:61:17: error: php.h: no such file or directory /applications/xampp/xamppfiles/temp/pear/temp/apc/apc.h:62:30: error: main/php_streams.h: no such file or directory in file included /applications/xampp/xamppfiles/temp/pear/temp/apc/apc.c:34: /applications/xampp/xamppfiles/temp/pear/temp/apc/apc.h:69: error: expected ';', ',' or ')' before 'tsrmls_dc' /applications/xampp/xamppfiles/temp/pear/temp/apc/apc.h:70: error: expected ';', ',' or ')' before 'tsrmls_dc' /applications/xampp/xamppfiles/temp/pear/temp/apc/apc.h:71: error: expected ';', ',' or ')' before 'tsrmls_dc' /applications/xampp/xamppfiles/temp/pear/temp/apc/apc.h:72: error: expected ';', ',' or ')' before 'tsrmls_dc' /applications/xampp/xamppfiles/temp/pear/temp/apc/apc.h:73: error: expected ';', ',' or ')' before 'tsrmls_dc' /applications/xampp/xamppfiles/temp/pear/temp/apc/apc.h:74: error: expected ';', ',' or ')' before 'tsrmls_dc' /applications/xampp/xamppfiles/temp/pear/temp/apc/apc.h:77: error: expected ';', ',' or ')' before 'tsrmls_dc' /applications/xampp/xamppfiles/temp/pear/temp/apc/apc.h:78: error: expected ';', ',' or ')' before 'tsrmls_dc' /applications/xampp/xamppfiles/temp/pear/temp/apc/apc.h:79: error: expected ';', ',' or ')' before 'tsrmls_dc' /applications/xampp/xamppfiles/temp/pear/temp/apc/apc.h:80: error: expected ';', ',' or ')' before 'tsrmls_dc' /applications/xampp/xamppfiles/temp/pear/temp/apc/apc.h:83: error: expected ';', ',' or ')' before 'tsrmls_dc' /applications/xampp/xamppfiles/temp/pear/temp/apc/apc.h:84: error: expected ';', ',' or ')' before 'tsrmls_dc' /applications/xampp/xamppfiles/temp/pear/temp/apc/apc.h:85: error: expected ';', ',' or ')' before 'tsrmls_dc' /applications/xampp/xamppfiles/temp/pear/temp/apc/apc.h:92: error: 'maxpathlen' undeclared here (not in function) /applications/xampp/xamppfiles/temp/pear/temp/apc/apc.h:93: error: expected specifier-qualifier-list before 'php_stream_statbuf' /applications/xampp/xamppfiles/temp/pear/temp/apc/apc.h:96: error: expected ';', ',' or ')' before 'tsrmls_dc' /applications/xampp/xamppfiles/temp/pear/temp/apc/apc.h:99: error: expected ';', ',' or ')' before 'tsrmls_dc' /applications/xampp/xamppfiles/temp/pear/temp/apc/apc.h:100: error: expected ';', ',' or ')' before 'tsrmls_dc' /applications/xampp/xamppfiles/temp/pear/temp/apc/apc.h:107: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token in file included /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_zend.h:36, /applications/xampp/xamppfiles/temp/pear/temp/apc/apc.c:35: /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_php.h:44:18: error: zend.h: no such file or directory /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_php.h:45:22: error: zend_api.h: no such file or directory /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_php.h:46:26: error: zend_compile.h: no such file or directory /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_php.h:47:23: error: zend_hash.h: no such file or directory /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_php.h:48:29: error: zend_extensions.h: no such file or directory /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_php.h:66:21: error: rfc1867.h: no such file or directory in file included /applications/xampp/xamppfiles/temp/pear/temp/apc/apc.c:35: /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_zend.h:79: error: expected ';', ',' or ')' before 'tsrmls_dc' /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_zend.h:80: error: expected ';', ',' or ')' before 'tsrmls_dc' /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_zend.h:82: warning: parameter names (without types) in function declaration /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_zend.h:83: warning: parameter names (without types) in function declaration in file included /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_pool.h:34, /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_main.h:37, /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_compile.h:43, /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_cache.h:40, /applications/xampp/xamppfiles/temp/pear/temp/apc/apc.c:36: /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_sma.h:49: error: expected ';', ',' or ')' before 'tsrmls_dc' /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_sma.h:50: warning: parameter names (without types) in function declaration /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_sma.h:51: error: expected ';', ',' or ')' before 'tsrmls_dc' /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_sma.h:52: error: expected ';', ',' or ')' before 'tsrmls_dc' /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_sma.h:53: error: expected ';', ',' or ')' before 'tsrmls_dc' /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_sma.h:54: error: expected ';', ',' or ')' before 'tsrmls_dc' /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_sma.h:55: error: expected ';', ',' or ')' before 'tsrmls_dc' /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_sma.h:81: error: expected ')' before 'limited' /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_sma.h:82: error: expected ';', ',' or ')' before 'tsrmls_dc' /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_sma.h:85: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'apc_sma_get_avail_size' in file included /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_main.h:37, /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_compile.h:43, /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_cache.h:40, /applications/xampp/xamppfiles/temp/pear/temp/apc/apc.c:36: /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_pool.h:63: error: expected ';', ',' or ')' before 'tsrmls_dc' /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_pool.h:65: error: expected ';', ',' or ')' before 'tsrmls_dc' /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_pool.h:66: error: expected ';', ',' or ')' before 'tsrmls_dc' /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_pool.h:77: error: expected specifier-qualifier-list before 'apc_palloc_t' /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_pool.h:107: error: expected ';', ',' or ')' before 'tsrmls_dc' /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_pool.h:109: error: expected ';', ',' or ')' before 'tsrmls_dc' /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_pool.h:111: error: expected ';', ',' or ')' before 'tsrmls_dc' /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_pool.h:112: error: expected ';', ',' or ')' before 'tsrmls_dc' in file included /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_main.h:38, /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_compile.h:43, /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_cache.h:40, /applications/xampp/xamppfiles/temp/pear/temp/apc/apc.c:36: /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_serializer.h:32: error: expected ';', ',' or ')' before '*' token /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_serializer.h:33: error: expected ')' before '*' token /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_serializer.h:36: error: expected declaration specifiers or '...' before 'apc_serialize_t' /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_serializer.h:37: error: expected declaration specifiers or '...' before 'apc_unserialize_t' /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_serializer.h:38: error: expected ';', ',' or ')' before 'tsrmls_dc' /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_serializer.h:56: error: expected declaration specifiers or '...' before 'apc_serialize_t' /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_serializer.h:57: error: expected declaration specifiers or '...' before 'apc_unserialize_t' /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_serializer.h:58: error: expected ';', ',' or ')' before 'tsrmls_dc' in file included /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_compile.h:43, /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_cache.h:40, /applications/xampp/xamppfiles/temp/pear/temp/apc/apc.c:36: /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_main.h:44: error: expected ';', ',' or ')' before 'tsrmls_dc' /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_main.h:45: warning: parameter names (without types) in function declaration /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_main.h:46: error: expected ';', ',' or ')' before 'tsrmls_dc' /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_main.h:47: warning: parameter names (without types) in function declaration /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_main.h:48: warning: parameter names (without types) in function declaration /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_main.h:49: warning: parameter names (without types) in function declaration /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_main.h:70: error: expected specifier-qualifier-list before 'apc_serialize_t' /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_main.h:76: warning: parameter names (without types) in function declaration /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_main.h:77: error: expected ';', ',' or ')' before 'tsrmls_dc' in file included /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_cache.h:40, /applications/xampp/xamppfiles/temp/pear/temp/apc/apc.c:36: /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_compile.h:51: error: expected specifier-qualifier-list before 'zend_function' /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_compile.h:61: error: expected specifier-qualifier-list before 'zend_class_entry' /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_compile.h:91: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_compile.h:92: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_compile.h:93: error: expected ';', ',' or ')' before 'tsrmls_dc' /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_compile.h:94: error: expected ')' before '*' token /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_compile.h:95: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_compile.h:115: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_compile.h:116: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_compile.h:117: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_compile.h:124: error: expected ')' before '*' token /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_compile.h:129: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_compile.h:130: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'apc_register_optimizer' /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_compile.h:135: error: expected ';', ',' or ')' before 'tsrmls_dc' /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_compile.h:136: error: expected ';', ',' or ')' before 'tsrmls_dc' /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_compile.h:141: error: expected ';', ',' or ')' before '*' token /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_compile.h:142: error: expected ')' before '*' token in file included /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_lock.h:40, /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_cache.h:41, /applications/xampp/xamppfiles/temp/pear/temp/apc/apc.c:36: /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_sem.h:35: error: expected ';', ',' or ')' before 'tsrmls_dc' /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_sem.h:37: error: expected ';', ',' or ')' before 'tsrmls_dc' /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_sem.h:38: error: expected ';', ',' or ')' before 'tsrmls_dc' /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_sem.h:39: error: expected ';', ',' or ')' before 'tsrmls_dc' /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_sem.h:40: error: expected ';', ',' or ')' before 'tsrmls_dc' /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_sem.h:41: error: expected ';', ',' or ')' before 'tsrmls_dc' in file included /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_lock.h:41, /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_cache.h:41, /applications/xampp/xamppfiles/temp/pear/temp/apc/apc.c:36: /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_fcntl.h:35: error: expected ';', ',' or ')' before 'tsrmls_dc' /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_fcntl.h:37: error: expected ';', ',' or ')' before 'tsrmls_dc' /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_fcntl.h:38: error: expected ';', ',' or ')' before 'tsrmls_dc' /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_fcntl.h:39: error: expected ';', ',' or ')' before 'tsrmls_dc' /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_fcntl.h:40: error: expected ';', ',' or ')' before 'tsrmls_dc' in file included /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_lock.h:42, /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_cache.h:41, /applications/xampp/xamppfiles/temp/pear/temp/apc/apc.c:36: /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_pthreadmutex.h:31: error: expected ';', ',' or ')' before 'tsrmls_dc' /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_pthreadmutex.h:33: error: expected ';', ',' or ')' before 'tsrmls_dc' /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_pthreadmutex.h:34: error: expected ';', ',' or ')' before 'tsrmls_dc' /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_pthreadmutex.h:35: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'apc_pthreadmutex_nonblocking_lock' in file included /applications/xampp/xamppfiles/temp/pear/temp/apc/apc.c:36: /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_cache.h:44:18: error: tsrm.h: no such file or directory in file included /applications/xampp/xamppfiles/temp/pear/temp/apc/apc.c:36: /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_cache.h:132: error: expected specifier-qualifier-list before 'zend_op_array' /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_cache.h:140: error: expected specifier-qualifier-list before 'zval' /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_cache.h:173: error: expected ';', ',' or ')' before 'tsrmls_dc' /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_cache.h:180: error: expected ';', ',' or ')' before 'tsrmls_dc' /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_cache.h:186: error: expected ';', ',' or ')' before 'tsrmls_dc' /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_cache.h:201: error: expected ';', ',' or ')' before 'tsrmls_dc' /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_cache.h:204: error: expected ';', ',' or ')' before 'tsrmls_dc' /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_cache.h:207: error: expected ';', ',' or ')' before 'tsrmls_dc' /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_cache.h:215: error: expected ';', ',' or ')' before 'tsrmls_dc' /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_cache.h:222: error: expected ';', ',' or ')' before 'tsrmls_dc' /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_cache.h:231: error: expected ';', ',' or ')' before 'tsrmls_dc' /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_cache.h:236: error: expected ';', ',' or ')' before 'tsrmls_dc' /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_cache.h:237: error: expected ';', ',' or ')' before 'tsrmls_dc' /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_cache.h:243: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_cache.h:254: error: expected ';', ',' or ')' before 'tsrmls_dc' /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_cache.h:276: error: expected ';', ',' or ')' before 'tsrmls_dc' /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_cache.h:283: error: expected declaration specifiers or '...' before 'zend_op_array' /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_cache.h:287: error: expected ';', ',' or ')' before 'tsrmls_dc' /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_cache.h:290: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'apc_compile_cache_entry' /applications/xampp/xamppfiles/temp/pear/temp/apc/apc_cache.h:296: error: expected ';', ',' or ')' before '*' token

update i've made more progress. turns out needed install development bundle took away of errors. i'm running command now:

sudo pecl install apc

goes fine until end this...

/usr/include/php/ext/pcre/php_pcre.h:29:18: error: pcre.h: no such file or directory in file included /private/tmp/pear/temp/apc/apc.c:44: /usr/include/php/ext/pcre/php_pcre.h:37: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token /usr/include/php/ext/pcre/php_pcre.h:38: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token /usr/include/php/ext/pcre/php_pcre.h:44: error: expected specifier-qualifier-list before ‘pcre’ /private/tmp/pear/temp/apc/apc.c:393: error: expected specifier-qualifier-list before ‘pcre’ /private/tmp/pear/temp/apc/apc.c: in function ‘apc_regex_compile_array’: /private/tmp/pear/temp/apc/apc.c:454: error: ‘apc_regex’ has no fellow member named ‘preg’ /private/tmp/pear/temp/apc/apc.c:454: error: ‘apc_regex’ has no fellow member named ‘preg’ /private/tmp/pear/temp/apc/apc.c:455: error: ‘apc_regex’ has no fellow member named ‘nreg’ /private/tmp/pear/temp/apc/apc.c:455: error: ‘apc_regex’ has no fellow member named ‘nreg’ /private/tmp/pear/temp/apc/apc.c: in function ‘apc_regex_match_array’: /private/tmp/pear/temp/apc/apc.c:487: error: ‘apc_regex’ has no fellow member named ‘preg’ /private/tmp/pear/temp/apc/apc.c:487: error: ‘apc_regex’ has no fellow member named ‘preg’ /private/tmp/pear/temp/apc/apc.c:488: error: ‘apc_regex’ has no fellow member named ‘nreg’ /private/tmp/pear/temp/apc/apc.c:488: error: ‘apc_regex’ has no fellow member named ‘nreg’ make: *** [apc.lo] error 1 error: `make' failed

now what?

you can utilize apc bundle if using linux os

sudo apt-get install php-apc

reference : install apc on linux(ubuntu)

zend-framework xampp apc

Comments

Popular posts from this blog

How do I check if an insert was successful with MySQLdb in Python? -

delphi - blogger via idHTTP : error 400 bad request -

postgresql - ERROR: operator is not unique: unknown + unknown -