ログ:APCのインストール
VMware FusionにインストールしたCentOS6.2に、APCのインストールを行ったときのログ
参考:CentOS開発環境の構築(Apache, MySQL, PHP)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | pecl install apc downloading APC-3.1.9.tgz ... Starting to download APC-3.1.9.tgz (155,540 bytes) .................................done: 155,540 bytes 54 source files, building running: phpize Configuring for: PHP Api Version: 20090626 Zend Module Api No: 20090626 Zend Extension Api No: 220090626 config.m4:180: warning: AC_CACHE_VAL(PHP_APC_GCC_ATOMICS, ...): suspicious cache-id, must contain _cv_ to be cached ../../lib/autoconf/general.m4:1974: AC_CACHE_VAL is expanded from... ../../lib/autoconf/general.m4:1994: AC_CACHE_CHECK is expanded from... config.m4:180: the top level config.m4:180: warning: AC_CACHE_VAL(PHP_APC_GCC_ATOMICS, ...): suspicious cache-id, must contain _cv_ to be cached ../../lib/autoconf/general.m4:1974: AC_CACHE_VAL is expanded from... ../../lib/autoconf/general.m4:1994: AC_CACHE_CHECK is expanded from... config.m4:180: the top level Enable internal debugging in APC [no] : Enable per request file info about files used from the APC cache [no] : Enable spin locks (EXPERIMENTAL) [no] : Enable memory protection (EXPERIMENTAL) [no] : Enable pthread mutexes (default) [yes] : Enable pthread read/write locks (EXPERIMENTAL) [no] : building in /var/tmp/pear-build-rootNhbPu2/APC-3.1.9 running: /var/tmp/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 for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for a sed that does not truncate output... /bin/sed checking for cc... no checking for gcc... no configure: error: in `/var/tmp/pear-build-rootNhbPu2/APC-3.1.9': configure: error: no acceptable C compiler found in $PATH See `config.log' for more details. ERROR: `/var/tmp/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' failed |
# gccがないのでエラー
# gccをインストール
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 | yum --enablerepo=remi,epel,rpmforge install gcc Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: ftp.neowiz.com * epel: ftp.neowiz.com * extras: ftp.neowiz.com * remi: rpms.famillecollet.com * rpmforge: repoforge.spinellicreations.com * updates: ftp.neowiz.com Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package gcc.x86_64 0:4.4.6-3.el6 will be installed --> Processing Dependency: cpp = 4.4.6-3.el6 for package: gcc-4.4.6-3.el6.x86_64 --> Processing Dependency: libgomp = 4.4.6-3.el6 for package: gcc-4.4.6-3.el6.x86_64 --> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.6-3.el6.x86_64 --> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.4.6-3.el6.x86_64 --> Processing Dependency: libgomp.so.1()(64bit) for package: gcc-4.4.6-3.el6.x86_64 --> Running transaction check ---> Package cloog-ppl.x86_64 0:0.15.7-1.2.el6 will be installed --> Processing Dependency: libppl.so.7()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64 --> Processing Dependency: libppl_c.so.2()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64 ---> Package cpp.x86_64 0:4.4.6-3.el6 will be installed --> Processing Dependency: libmpfr.so.1()(64bit) for package: cpp-4.4.6-3.el6.x86_64 ---> Package glibc-devel.x86_64 0:2.12-1.47.el6_2.12 will be installed --> Processing Dependency: glibc-headers = 2.12-1.47.el6_2.12 for package: glibc-devel-2.12-1.47.el6_2.12.x86_64 --> Processing Dependency: glibc-headers for package: glibc-devel-2.12-1.47.el6_2.12.x86_64 ---> Package libgomp.x86_64 0:4.4.6-3.el6 will be installed --> Running transaction check ---> Package glibc-headers.x86_64 0:2.12-1.47.el6_2.12 will be installed --> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.12-1.47.el6_2.12.x86_64 --> Processing Dependency: kernel-headers for package: glibc-headers-2.12-1.47.el6_2.12.x86_64 ---> Package mpfr.x86_64 0:2.4.1-6.el6 will be installed ---> Package ppl.x86_64 0:0.10.2-11.el6 will be installed --> Running transaction check ---> Package kernel-headers.x86_64 0:2.6.32-220.23.1.el6 will be installed --> Finished Dependency Resolution Dependencies Resolved ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: gcc x86_64 4.4.6-3.el6 base 10 M Installing for dependencies: cloog-ppl x86_64 0.15.7-1.2.el6 base 93 k cpp x86_64 4.4.6-3.el6 base 3.7 M glibc-devel x86_64 2.12-1.47.el6_2.12 updates 967 k glibc-headers x86_64 2.12-1.47.el6_2.12 updates 598 k kernel-headers x86_64 2.6.32-220.23.1.el6 updates 1.6 M libgomp x86_64 4.4.6-3.el6 base 115 k mpfr x86_64 2.4.1-6.el6 base 157 k ppl x86_64 0.10.2-11.el6 base 1.3 M Transaction Summary ================================================================================ Install 9 Package(s) Total download size: 19 M Installed size: 38 M Is this ok [y/N]: y Downloading Packages: (1/9): cloog-ppl-0.15.7-1.2.el6.x86_64.rpm | 93 kB 00:00 (2/9): cpp-4.4.6-3.el6.x86_64.rpm | 3.7 MB 00:05 (3/9): gcc-4.4.6-3.el6.x86_64.rpm | 10 MB 00:12 (4/9): glibc-devel-2.12-1.47.el6_2.12.x86_64.rpm | 967 kB 00:01 (5/9): glibc-headers-2.12-1.47.el6_2.12.x86_64.rpm | 598 kB 00:01 (6/9): kernel-headers-2.6.32-220.23.1.el6.x86_64.rpm | 1.6 MB 00:02 (7/9): libgomp-4.4.6-3.el6.x86_64.rpm | 115 kB 00:00 (8/9): mpfr-2.4.1-6.el6.x86_64.rpm | 157 kB 00:00 (9/9): ppl-0.10.2-11.el6.x86_64.rpm | 1.3 MB 00:04 -------------------------------------------------------------------------------- Total 563 kB/s | 19 MB 00:33 Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Installing : ppl-0.10.2-11.el6.x86_64 1/9 Installing : cloog-ppl-0.15.7-1.2.el6.x86_64 2/9 Installing : mpfr-2.4.1-6.el6.x86_64 3/9 Installing : cpp-4.4.6-3.el6.x86_64 4/9 Installing : kernel-headers-2.6.32-220.23.1.el6.x86_64 5/9 Installing : glibc-headers-2.12-1.47.el6_2.12.x86_64 6/9 Installing : glibc-devel-2.12-1.47.el6_2.12.x86_64 7/9 Installing : libgomp-4.4.6-3.el6.x86_64 8/9 Installing : gcc-4.4.6-3.el6.x86_64 9/9 Installed: gcc.x86_64 0:4.4.6-3.el6 Dependency Installed: cloog-ppl.x86_64 0:0.15.7-1.2.el6 cpp.x86_64 0:4.4.6-3.el6 glibc-devel.x86_64 0:2.12-1.47.el6_2.12 glibc-headers.x86_64 0:2.12-1.47.el6_2.12 kernel-headers.x86_64 0:2.6.32-220.23.1.el6 libgomp.x86_64 0:4.4.6-3.el6 mpfr.x86_64 0:2.4.1-6.el6 ppl.x86_64 0:0.10.2-11.el6 Complete! |
# gccインストール完了
# APCインストール再挑戦
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 | pecl install apc downloading APC-3.1.9.tgz ... Starting to download APC-3.1.9.tgz (155,540 bytes) .................................done: 155,540 bytes 54 source files, building running: phpize Configuring for: PHP Api Version: 20090626 Zend Module Api No: 20090626 Zend Extension Api No: 220090626 config.m4:180: warning: AC_CACHE_VAL(PHP_APC_GCC_ATOMICS, ...): suspicious cache-id, must contain _cv_ to be cached ../../lib/autoconf/general.m4:1974: AC_CACHE_VAL is expanded from... ../../lib/autoconf/general.m4:1994: AC_CACHE_CHECK is expanded from... config.m4:180: the top level config.m4:180: warning: AC_CACHE_VAL(PHP_APC_GCC_ATOMICS, ...): suspicious cache-id, must contain _cv_ to be cached ../../lib/autoconf/general.m4:1974: AC_CACHE_VAL is expanded from... ../../lib/autoconf/general.m4:1994: AC_CACHE_CHECK is expanded from... config.m4:180: the top level Enable internal debugging in APC [no] : Enable per request file info about files used from the APC cache [no] : Enable spin locks (EXPERIMENTAL) [no] : Enable memory protection (EXPERIMENTAL) [no] : Enable pthread mutexes (default) [yes] : Enable pthread read/write locks (EXPERIMENTAL) [no] : building in /var/tmp/pear-build-rootBjNCTz/APC-3.1.9 running: /var/tmp/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 for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for a sed that does not truncate output... /bin/sed checking for cc... cc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking how to run the C preprocessor... cc -E checking for icc... no checking for suncc... no checking whether cc understands -c and -o together... yes checking for system library directory... lib checking if compiler supports -R... no checking if compiler supports -Wl,-rpath,... yes checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu checking for PHP prefix... /usr checking for PHP includes... -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib checking for PHP extension directory... /usr/lib64/php/modules checking for PHP installed headers prefix... /usr/include/php checking if debug is enabled... no checking if zts is enabled... no checking for re2c... no configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers. checking for gawk... gawk checking whether to enable APC support... yes, shared checking whether we should enable cache request file info... no checking whether we should use mmap... yes checking whether we should use semaphore locking instead of fcntl... no checking whether we should use pthread mutex locking... yes pthread mutexs are supported! checking whether we should use pthread read/write locking... no checking whether the target compiler supports builtin atomics... yes checking whether we should use spin locks... no checking whether we should enable memory protection... no checking for zend_set_lookup_function_hook... no checking for sigaction... yes checking for union semun... no checking whether we should enable valgrind support... checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes yes checking valgrind/memcheck.h usability... no checking valgrind/memcheck.h presence... no checking for valgrind/memcheck.h... no checking for shm_open in -lrt... yes checking for a sed that does not truncate output... (cached) /bin/sed checking for fgrep... /bin/grep -F checking for ld used by cc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1966080 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for ar... ar checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from cc object... ok /var/tmp/APC/configure: line 7635: /usr/bin/file: No such file or directory checking for dlfcn.h... yes checking for objdir... .libs checking if cc supports -fno-rtti -fno-exceptions... no checking for cc option to produce PIC... -fPIC -DPIC checking if cc PIC flag -fPIC -DPIC works... yes checking if cc static flag -static works... no checking if cc supports -c -o file.o... yes checking if cc supports -c -o file.o... (cached) yes checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no configure: creating ./config.status config.status: creating config.h config.status: executing libtool commands running: make sh: make: コマンドが見つかりません ERROR: `make' failed |
# makeがないのでエラー
# makeをインストール
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 | yum --enablerepo=remi,epel,rpmforge install make Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: ftp.neowiz.com * epel: ftp.neowiz.com * extras: ftp.neowiz.com * remi: rpms.famillecollet.com * rpmforge: repoforge.spinellicreations.com * updates: ftp.neowiz.com Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package make.x86_64 1:3.81-19.el6 will be installed --> Finished Dependency Resolution Dependencies Resolved ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: make x86_64 1:3.81-19.el6 base 389 k Transaction Summary ================================================================================ Install 1 Package(s) Total download size: 389 k Installed size: 1.0 M Is this ok [y/N]: y Downloading Packages: make-3.81-19.el6.x86_64.rpm | 389 kB 00:00 Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Installing : 1:make-3.81-19.el6.x86_64 1/1 Installed: make.x86_64 1:3.81-19.el6 Complete! |
# makeインストール完了
# APCインストール再挑戦
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 | pecl install apc downloading APC-3.1.9.tgz ... Starting to download APC-3.1.9.tgz (155,540 bytes) .................................done: 155,540 bytes 54 source files, building running: phpize Configuring for: PHP Api Version: 20090626 Zend Module Api No: 20090626 Zend Extension Api No: 220090626 config.m4:180: warning: AC_CACHE_VAL(PHP_APC_GCC_ATOMICS, ...): suspicious cache-id, must contain _cv_ to be cached ../../lib/autoconf/general.m4:1974: AC_CACHE_VAL is expanded from... ../../lib/autoconf/general.m4:1994: AC_CACHE_CHECK is expanded from... config.m4:180: the top level config.m4:180: warning: AC_CACHE_VAL(PHP_APC_GCC_ATOMICS, ...): suspicious cache-id, must contain _cv_ to be cached ../../lib/autoconf/general.m4:1974: AC_CACHE_VAL is expanded from... ../../lib/autoconf/general.m4:1994: AC_CACHE_CHECK is expanded from... config.m4:180: the top level Enable internal debugging in APC [no] : Enable per request file info about files used from the APC cache [no] : Enable spin locks (EXPERIMENTAL) [no] : Enable memory protection (EXPERIMENTAL) [no] : Enable pthread mutexes (default) [yes] : Enable pthread read/write locks (EXPERIMENTAL) [no] : building in /var/tmp/pear-build-root5z5u0q/APC-3.1.9 running: /var/tmp/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 for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for a sed that does not truncate output... /bin/sed checking for cc... cc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking how to run the C preprocessor... cc -E checking for icc... no checking for suncc... no checking whether cc understands -c and -o together... yes checking for system library directory... lib checking if compiler supports -R... no checking if compiler supports -Wl,-rpath,... yes checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu checking for PHP prefix... /usr checking for PHP includes... -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib checking for PHP extension directory... /usr/lib64/php/modules checking for PHP installed headers prefix... /usr/include/php checking if debug is enabled... no checking if zts is enabled... no checking for re2c... no configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers. checking for gawk... gawk checking whether to enable APC support... yes, shared checking whether we should enable cache request file info... no checking whether we should use mmap... yes checking whether we should use semaphore locking instead of fcntl... no checking whether we should use pthread mutex locking... yes pthread mutexs are supported! checking whether we should use pthread read/write locking... no checking whether the target compiler supports builtin atomics... yes checking whether we should use spin locks... no checking whether we should enable memory protection... no checking for zend_set_lookup_function_hook... no checking for sigaction... yes checking for union semun... no checking whether we should enable valgrind support... checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes yes checking valgrind/memcheck.h usability... no checking valgrind/memcheck.h presence... no checking for valgrind/memcheck.h... no checking for shm_open in -lrt... yes checking for a sed that does not truncate output... (cached) /bin/sed checking for fgrep... /bin/grep -F checking for ld used by cc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1966080 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for ar... ar checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from cc object... ok /var/tmp/APC/configure: line 7635: /usr/bin/file: No such file or directory checking for dlfcn.h... yes checking for objdir... .libs checking if cc supports -fno-rtti -fno-exceptions... no checking for cc option to produce PIC... -fPIC -DPIC checking if cc PIC flag -fPIC -DPIC works... yes checking if cc static flag -static works... no checking if cc supports -c -o file.o... yes checking if cc supports -c -o file.o... (cached) yes checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no configure: creating ./config.status config.status: creating config.h config.status: executing libtool commands running: make /bin/sh /var/tmp/pear-build-root5z5u0q/APC-3.1.9/libtool --mode=compile cc -I. -I/var/tmp/APC -DPHP_ATOM_INC -I/var/tmp/pear-build-root5z5u0q/APC-3.1.9/include -I/var/tmp/pear-build-root5z5u0q/APC-3.1.9/main -I/var/tmp/APC -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /var/tmp/APC/apc.c -o apc.lo libtool: compile: cc -I. -I/var/tmp/APC -DPHP_ATOM_INC -I/var/tmp/pear-build-root5z5u0q/APC-3.1.9/include -I/var/tmp/pear-build-root5z5u0q/APC-3.1.9/main -I/var/tmp/APC -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /var/tmp/APC/apc.c -fPIC -DPIC -o .libs/apc.o /var/tmp/APC/apc.c:44 から include されたファイル中: /usr/include/php/ext/pcre/php_pcre.h:29:18: error: pcre.h: そのようなファイルやディレクトリはありません In file included from /var/tmp/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’ /var/tmp/APC/apc.c:393: error: expected specifier-qualifier-list before ‘pcre’ /var/tmp/APC/apc.c: In function ‘apc_regex_compile_array’: /var/tmp/APC/apc.c:454: error: ‘apc_regex’ has no member named ‘preg’ /var/tmp/APC/apc.c:454: error: ‘apc_regex’ has no member named ‘preg’ /var/tmp/APC/apc.c:455: error: ‘apc_regex’ has no member named ‘nreg’ /var/tmp/APC/apc.c:455: error: ‘apc_regex’ has no member named ‘nreg’ /var/tmp/APC/apc.c: In function ‘apc_regex_match_array’: /var/tmp/APC/apc.c:487: error: ‘apc_regex’ has no member named ‘preg’ /var/tmp/APC/apc.c:487: error: ‘apc_regex’ has no member named ‘preg’ /var/tmp/APC/apc.c:488: error: ‘apc_regex’ has no member named ‘nreg’ /var/tmp/APC/apc.c:488: error: ‘apc_regex’ has no member named ‘nreg’ make: *** [apc.lo] エラー 1 ERROR: `make' failed |
# PCRE正規表現が使えないのでエラー
# pcre-develをインストール
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 | yum --enablerepo=remi,epel,rpmforge install pcre-devel Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: ftp.neowiz.com * epel: ftp.neowiz.com * extras: ftp.neowiz.com * remi: rpms.famillecollet.com * rpmforge: repoforge.spinellicreations.com * updates: ftp.neowiz.com Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package pcre-devel.x86_64 0:7.8-3.1.el6 will be installed --> Finished Dependency Resolution Dependencies Resolved ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: pcre-devel x86_64 7.8-3.1.el6 base 318 k Transaction Summary ================================================================================ Install 1 Package(s) Total download size: 318 k Installed size: 954 k Is this ok [y/N]: y Downloading Packages: pcre-devel-7.8-3.1.el6.x86_64.rpm | 318 kB 00:00 Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Installing : pcre-devel-7.8-3.1.el6.x86_64 1/1 Installed: pcre-devel.x86_64 0:7.8-3.1.el6 Complete! |
# pcre-develインストール完了
# APCインストール再挑戦
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 | pecl install apc downloading APC-3.1.9.tgz ... Starting to download APC-3.1.9.tgz (155,540 bytes) .................................done: 155,540 bytes 54 source files, building running: phpize Configuring for: PHP Api Version: 20090626 Zend Module Api No: 20090626 Zend Extension Api No: 220090626 config.m4:180: warning: AC_CACHE_VAL(PHP_APC_GCC_ATOMICS, ...): suspicious cache-id, must contain _cv_ to be cached ../../lib/autoconf/general.m4:1974: AC_CACHE_VAL is expanded from... ../../lib/autoconf/general.m4:1994: AC_CACHE_CHECK is expanded from... config.m4:180: the top level config.m4:180: warning: AC_CACHE_VAL(PHP_APC_GCC_ATOMICS, ...): suspicious cache-id, must contain _cv_ to be cached ../../lib/autoconf/general.m4:1974: AC_CACHE_VAL is expanded from... ../../lib/autoconf/general.m4:1994: AC_CACHE_CHECK is expanded from... config.m4:180: the top level Enable internal debugging in APC [no] : Enable per request file info about files used from the APC cache [no] : Enable spin locks (EXPERIMENTAL) [no] : Enable memory protection (EXPERIMENTAL) [no] : Enable pthread mutexes (default) [yes] : Enable pthread read/write locks (EXPERIMENTAL) [no] : building in /var/tmp/pear-build-rootoiBR0x/APC-3.1.9 running: /var/tmp/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 for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for a sed that does not truncate output... /bin/sed checking for cc... cc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking how to run the C preprocessor... cc -E checking for icc... no checking for suncc... no checking whether cc understands -c and -o together... yes checking for system library directory... lib checking if compiler supports -R... no checking if compiler supports -Wl,-rpath,... yes checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu checking for PHP prefix... /usr checking for PHP includes... -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib checking for PHP extension directory... /usr/lib64/php/modules checking for PHP installed headers prefix... /usr/include/php checking if debug is enabled... no checking if zts is enabled... no checking for re2c... no configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers. checking for gawk... gawk checking whether to enable APC support... yes, shared checking whether we should enable cache request file info... no checking whether we should use mmap... yes checking whether we should use semaphore locking instead of fcntl... no checking whether we should use pthread mutex locking... yes pthread mutexs are supported! checking whether we should use pthread read/write locking... no checking whether the target compiler supports builtin atomics... yes checking whether we should use spin locks... no checking whether we should enable memory protection... no checking for zend_set_lookup_function_hook... no checking for sigaction... yes checking for union semun... no checking whether we should enable valgrind support... checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes yes checking valgrind/memcheck.h usability... no checking valgrind/memcheck.h presence... no checking for valgrind/memcheck.h... no checking for shm_open in -lrt... yes checking for a sed that does not truncate output... (cached) /bin/sed checking for fgrep... /bin/grep -F checking for ld used by cc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1966080 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for ar... ar checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from cc object... ok /var/tmp/APC/configure: line 7635: /usr/bin/file: No such file or directory checking for dlfcn.h... yes checking for objdir... .libs checking if cc supports -fno-rtti -fno-exceptions... no checking for cc option to produce PIC... -fPIC -DPIC checking if cc PIC flag -fPIC -DPIC works... yes checking if cc static flag -static works... no checking if cc supports -c -o file.o... yes checking if cc supports -c -o file.o... (cached) yes checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no configure: creating ./config.status config.status: creating config.h config.status: executing libtool commands running: make /bin/sh /var/tmp/pear-build-rootoiBR0x/APC-3.1.9/libtool --mode=compile cc -I. -I/var/tmp/APC -DPHP_ATOM_INC -I/var/tmp/pear-build-rootoiBR0x/APC-3.1.9/include -I/var/tmp/pear-build-rootoiBR0x/APC-3.1.9/main -I/var/tmp/APC -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /var/tmp/APC/apc.c -o apc.lo libtool: compile: cc -I. -I/var/tmp/APC -DPHP_ATOM_INC -I/var/tmp/pear-build-rootoiBR0x/APC-3.1.9/include -I/var/tmp/pear-build-rootoiBR0x/APC-3.1.9/main -I/var/tmp/APC -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /var/tmp/APC/apc.c -fPIC -DPIC -o .libs/apc.o /bin/sh /var/tmp/pear-build-rootoiBR0x/APC-3.1.9/libtool --mode=compile cc -I. -I/var/tmp/APC -DPHP_ATOM_INC -I/var/tmp/pear-build-rootoiBR0x/APC-3.1.9/include -I/var/tmp/pear-build-rootoiBR0x/APC-3.1.9/main -I/var/tmp/APC -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /var/tmp/APC/php_apc.c -o php_apc.lo libtool: compile: cc -I. -I/var/tmp/APC -DPHP_ATOM_INC -I/var/tmp/pear-build-rootoiBR0x/APC-3.1.9/include -I/var/tmp/pear-build-rootoiBR0x/APC-3.1.9/main -I/var/tmp/APC -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /var/tmp/APC/php_apc.c -fPIC -DPIC -o .libs/php_apc.o /bin/sh /var/tmp/pear-build-rootoiBR0x/APC-3.1.9/libtool --mode=compile cc -I. -I/var/tmp/APC -DPHP_ATOM_INC -I/var/tmp/pear-build-rootoiBR0x/APC-3.1.9/include -I/var/tmp/pear-build-rootoiBR0x/APC-3.1.9/main -I/var/tmp/APC -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /var/tmp/APC/apc_cache.c -o apc_cache.lo libtool: compile: cc -I. -I/var/tmp/APC -DPHP_ATOM_INC -I/var/tmp/pear-build-rootoiBR0x/APC-3.1.9/include -I/var/tmp/pear-build-rootoiBR0x/APC-3.1.9/main -I/var/tmp/APC -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /var/tmp/APC/apc_cache.c -fPIC -DPIC -o .libs/apc_cache.o /bin/sh /var/tmp/pear-build-rootoiBR0x/APC-3.1.9/libtool --mode=compile cc -I. -I/var/tmp/APC -DPHP_ATOM_INC -I/var/tmp/pear-build-rootoiBR0x/APC-3.1.9/include -I/var/tmp/pear-build-rootoiBR0x/APC-3.1.9/main -I/var/tmp/APC -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /var/tmp/APC/apc_compile.c -o apc_compile.lo libtool: compile: cc -I. -I/var/tmp/APC -DPHP_ATOM_INC -I/var/tmp/pear-build-rootoiBR0x/APC-3.1.9/include -I/var/tmp/pear-build-rootoiBR0x/APC-3.1.9/main -I/var/tmp/APC -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /var/tmp/APC/apc_compile.c -fPIC -DPIC -o .libs/apc_compile.o /bin/sh /var/tmp/pear-build-rootoiBR0x/APC-3.1.9/libtool --mode=compile cc -I. -I/var/tmp/APC -DPHP_ATOM_INC -I/var/tmp/pear-build-rootoiBR0x/APC-3.1.9/include -I/var/tmp/pear-build-rootoiBR0x/APC-3.1.9/main -I/var/tmp/APC -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /var/tmp/APC/apc_debug.c -o apc_debug.lo libtool: compile: cc -I. -I/var/tmp/APC -DPHP_ATOM_INC -I/var/tmp/pear-build-rootoiBR0x/APC-3.1.9/include -I/var/tmp/pear-build-rootoiBR0x/APC-3.1.9/main -I/var/tmp/APC -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /var/tmp/APC/apc_debug.c -fPIC -DPIC -o .libs/apc_debug.o /bin/sh /var/tmp/pear-build-rootoiBR0x/APC-3.1.9/libtool --mode=compile cc -I. -I/var/tmp/APC -DPHP_ATOM_INC -I/var/tmp/pear-build-rootoiBR0x/APC-3.1.9/include -I/var/tmp/pear-build-rootoiBR0x/APC-3.1.9/main -I/var/tmp/APC -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /var/tmp/APC/apc_fcntl.c -o apc_fcntl.lo libtool: compile: cc -I. -I/var/tmp/APC -DPHP_ATOM_INC -I/var/tmp/pear-build-rootoiBR0x/APC-3.1.9/include -I/var/tmp/pear-build-rootoiBR0x/APC-3.1.9/main -I/var/tmp/APC -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /var/tmp/APC/apc_fcntl.c -fPIC -DPIC -o .libs/apc_fcntl.o /bin/sh /var/tmp/pear-build-rootoiBR0x/APC-3.1.9/libtool --mode=compile cc -I. -I/var/tmp/APC -DPHP_ATOM_INC -I/var/tmp/pear-build-rootoiBR0x/APC-3.1.9/include -I/var/tmp/pear-build-rootoiBR0x/APC-3.1.9/main -I/var/tmp/APC -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /var/tmp/APC/apc_main.c -o apc_main.lo libtool: compile: cc -I. -I/var/tmp/APC -DPHP_ATOM_INC -I/var/tmp/pear-build-rootoiBR0x/APC-3.1.9/include -I/var/tmp/pear-build-rootoiBR0x/APC-3.1.9/main -I/var/tmp/APC -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /var/tmp/APC/apc_main.c -fPIC -DPIC -o .libs/apc_main.o /bin/sh /var/tmp/pear-build-rootoiBR0x/APC-3.1.9/libtool --mode=compile cc -I. -I/var/tmp/APC -DPHP_ATOM_INC -I/var/tmp/pear-build-rootoiBR0x/APC-3.1.9/include -I/var/tmp/pear-build-rootoiBR0x/APC-3.1.9/main -I/var/tmp/APC -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /var/tmp/APC/apc_mmap.c -o apc_mmap.lo libtool: compile: cc -I. -I/var/tmp/APC -DPHP_ATOM_INC -I/var/tmp/pear-build-rootoiBR0x/APC-3.1.9/include -I/var/tmp/pear-build-rootoiBR0x/APC-3.1.9/main -I/var/tmp/APC -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /var/tmp/APC/apc_mmap.c -fPIC -DPIC -o .libs/apc_mmap.o /bin/sh /var/tmp/pear-build-rootoiBR0x/APC-3.1.9/libtool --mode=compile cc -I. -I/var/tmp/APC -DPHP_ATOM_INC -I/var/tmp/pear-build-rootoiBR0x/APC-3.1.9/include -I/var/tmp/pear-build-rootoiBR0x/APC-3.1.9/main -I/var/tmp/APC -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /var/tmp/APC/apc_sem.c -o apc_sem.lo libtool: compile: cc -I. -I/var/tmp/APC -DPHP_ATOM_INC -I/var/tmp/pear-build-rootoiBR0x/APC-3.1.9/include -I/var/tmp/pear-build-rootoiBR0x/APC-3.1.9/main -I/var/tmp/APC -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /var/tmp/APC/apc_sem.c -fPIC -DPIC -o .libs/apc_sem.o /bin/sh /var/tmp/pear-build-rootoiBR0x/APC-3.1.9/libtool --mode=compile cc -I. -I/var/tmp/APC -DPHP_ATOM_INC -I/var/tmp/pear-build-rootoiBR0x/APC-3.1.9/include -I/var/tmp/pear-build-rootoiBR0x/APC-3.1.9/main -I/var/tmp/APC -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /var/tmp/APC/apc_shm.c -o apc_shm.lo libtool: compile: cc -I. -I/var/tmp/APC -DPHP_ATOM_INC -I/var/tmp/pear-build-rootoiBR0x/APC-3.1.9/include -I/var/tmp/pear-build-rootoiBR0x/APC-3.1.9/main -I/var/tmp/APC -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /var/tmp/APC/apc_shm.c -fPIC -DPIC -o .libs/apc_shm.o /bin/sh /var/tmp/pear-build-rootoiBR0x/APC-3.1.9/libtool --mode=compile cc -I. -I/var/tmp/APC -DPHP_ATOM_INC -I/var/tmp/pear-build-rootoiBR0x/APC-3.1.9/include -I/var/tmp/pear-build-rootoiBR0x/APC-3.1.9/main -I/var/tmp/APC -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /var/tmp/APC/apc_pthreadmutex.c -o apc_pthreadmutex.lo libtool: compile: cc -I. -I/var/tmp/APC -DPHP_ATOM_INC -I/var/tmp/pear-build-rootoiBR0x/APC-3.1.9/include -I/var/tmp/pear-build-rootoiBR0x/APC-3.1.9/main -I/var/tmp/APC -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /var/tmp/APC/apc_pthreadmutex.c -fPIC -DPIC -o .libs/apc_pthreadmutex.o /bin/sh /var/tmp/pear-build-rootoiBR0x/APC-3.1.9/libtool --mode=compile cc -I. -I/var/tmp/APC -DPHP_ATOM_INC -I/var/tmp/pear-build-rootoiBR0x/APC-3.1.9/include -I/var/tmp/pear-build-rootoiBR0x/APC-3.1.9/main -I/var/tmp/APC -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /var/tmp/APC/apc_pthreadrwlock.c -o apc_pthreadrwlock.lo libtool: compile: cc -I. -I/var/tmp/APC -DPHP_ATOM_INC -I/var/tmp/pear-build-rootoiBR0x/APC-3.1.9/include -I/var/tmp/pear-build-rootoiBR0x/APC-3.1.9/main -I/var/tmp/APC -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /var/tmp/APC/apc_pthreadrwlock.c -fPIC -DPIC -o .libs/apc_pthreadrwlock.o /bin/sh /var/tmp/pear-build-rootoiBR0x/APC-3.1.9/libtool --mode=compile cc -I. -I/var/tmp/APC -DPHP_ATOM_INC -I/var/tmp/pear-build-rootoiBR0x/APC-3.1.9/include -I/var/tmp/pear-build-rootoiBR0x/APC-3.1.9/main -I/var/tmp/APC -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /var/tmp/APC/apc_spin.c -o apc_spin.lo libtool: compile: cc -I. -I/var/tmp/APC -DPHP_ATOM_INC -I/var/tmp/pear-build-rootoiBR0x/APC-3.1.9/include -I/var/tmp/pear-build-rootoiBR0x/APC-3.1.9/main -I/var/tmp/APC -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /var/tmp/APC/apc_spin.c -fPIC -DPIC -o .libs/apc_spin.o /bin/sh /var/tmp/pear-build-rootoiBR0x/APC-3.1.9/libtool --mode=compile cc -I. -I/var/tmp/APC -DPHP_ATOM_INC -I/var/tmp/pear-build-rootoiBR0x/APC-3.1.9/include -I/var/tmp/pear-build-rootoiBR0x/APC-3.1.9/main -I/var/tmp/APC -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /var/tmp/APC/pgsql_s_lock.c -o pgsql_s_lock.lo libtool: compile: cc -I. -I/var/tmp/APC -DPHP_ATOM_INC -I/var/tmp/pear-build-rootoiBR0x/APC-3.1.9/include -I/var/tmp/pear-build-rootoiBR0x/APC-3.1.9/main -I/var/tmp/APC -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /var/tmp/APC/pgsql_s_lock.c -fPIC -DPIC -o .libs/pgsql_s_lock.o /bin/sh /var/tmp/pear-build-rootoiBR0x/APC-3.1.9/libtool --mode=compile cc -I. -I/var/tmp/APC -DPHP_ATOM_INC -I/var/tmp/pear-build-rootoiBR0x/APC-3.1.9/include -I/var/tmp/pear-build-rootoiBR0x/APC-3.1.9/main -I/var/tmp/APC -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /var/tmp/APC/apc_sma.c -o apc_sma.lo libtool: compile: cc -I. -I/var/tmp/APC -DPHP_ATOM_INC -I/var/tmp/pear-build-rootoiBR0x/APC-3.1.9/include -I/var/tmp/pear-build-rootoiBR0x/APC-3.1.9/main -I/var/tmp/APC -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /var/tmp/APC/apc_sma.c -fPIC -DPIC -o .libs/apc_sma.o /bin/sh /var/tmp/pear-build-rootoiBR0x/APC-3.1.9/libtool --mode=compile cc -I. -I/var/tmp/APC -DPHP_ATOM_INC -I/var/tmp/pear-build-rootoiBR0x/APC-3.1.9/include -I/var/tmp/pear-build-rootoiBR0x/APC-3.1.9/main -I/var/tmp/APC -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /var/tmp/APC/apc_stack.c -o apc_stack.lo libtool: compile: cc -I. -I/var/tmp/APC -DPHP_ATOM_INC -I/var/tmp/pear-build-rootoiBR0x/APC-3.1.9/include -I/var/tmp/pear-build-rootoiBR0x/APC-3.1.9/main -I/var/tmp/APC -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /var/tmp/APC/apc_stack.c -fPIC -DPIC -o .libs/apc_stack.o /bin/sh /var/tmp/pear-build-rootoiBR0x/APC-3.1.9/libtool --mode=compile cc -I. -I/var/tmp/APC -DPHP_ATOM_INC -I/var/tmp/pear-build-rootoiBR0x/APC-3.1.9/include -I/var/tmp/pear-build-rootoiBR0x/APC-3.1.9/main -I/var/tmp/APC -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /var/tmp/APC/apc_zend.c -o apc_zend.lo libtool: compile: cc -I. -I/var/tmp/APC -DPHP_ATOM_INC -I/var/tmp/pear-build-rootoiBR0x/APC-3.1.9/include -I/var/tmp/pear-build-rootoiBR0x/APC-3.1.9/main -I/var/tmp/APC -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /var/tmp/APC/apc_zend.c -fPIC -DPIC -o .libs/apc_zend.o /bin/sh /var/tmp/pear-build-rootoiBR0x/APC-3.1.9/libtool --mode=compile cc -I. -I/var/tmp/APC -DPHP_ATOM_INC -I/var/tmp/pear-build-rootoiBR0x/APC-3.1.9/include -I/var/tmp/pear-build-rootoiBR0x/APC-3.1.9/main -I/var/tmp/APC -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /var/tmp/APC/apc_rfc1867.c -o apc_rfc1867.lo libtool: compile: cc -I. -I/var/tmp/APC -DPHP_ATOM_INC -I/var/tmp/pear-build-rootoiBR0x/APC-3.1.9/include -I/var/tmp/pear-build-rootoiBR0x/APC-3.1.9/main -I/var/tmp/APC -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /var/tmp/APC/apc_rfc1867.c -fPIC -DPIC -o .libs/apc_rfc1867.o /bin/sh /var/tmp/pear-build-rootoiBR0x/APC-3.1.9/libtool --mode=compile cc -I. -I/var/tmp/APC -DPHP_ATOM_INC -I/var/tmp/pear-build-rootoiBR0x/APC-3.1.9/include -I/var/tmp/pear-build-rootoiBR0x/APC-3.1.9/main -I/var/tmp/APC -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /var/tmp/APC/apc_signal.c -o apc_signal.lo libtool: compile: cc -I. -I/var/tmp/APC -DPHP_ATOM_INC -I/var/tmp/pear-build-rootoiBR0x/APC-3.1.9/include -I/var/tmp/pear-build-rootoiBR0x/APC-3.1.9/main -I/var/tmp/APC -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /var/tmp/APC/apc_signal.c -fPIC -DPIC -o .libs/apc_signal.o /bin/sh /var/tmp/pear-build-rootoiBR0x/APC-3.1.9/libtool --mode=compile cc -I. -I/var/tmp/APC -DPHP_ATOM_INC -I/var/tmp/pear-build-rootoiBR0x/APC-3.1.9/include -I/var/tmp/pear-build-rootoiBR0x/APC-3.1.9/main -I/var/tmp/APC -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /var/tmp/APC/apc_pool.c -o apc_pool.lo libtool: compile: cc -I. -I/var/tmp/APC -DPHP_ATOM_INC -I/var/tmp/pear-build-rootoiBR0x/APC-3.1.9/include -I/var/tmp/pear-build-rootoiBR0x/APC-3.1.9/main -I/var/tmp/APC -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /var/tmp/APC/apc_pool.c -fPIC -DPIC -o .libs/apc_pool.o /bin/sh /var/tmp/pear-build-rootoiBR0x/APC-3.1.9/libtool --mode=compile cc -I. -I/var/tmp/APC -DPHP_ATOM_INC -I/var/tmp/pear-build-rootoiBR0x/APC-3.1.9/include -I/var/tmp/pear-build-rootoiBR0x/APC-3.1.9/main -I/var/tmp/APC -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /var/tmp/APC/apc_iterator.c -o apc_iterator.lo libtool: compile: cc -I. -I/var/tmp/APC -DPHP_ATOM_INC -I/var/tmp/pear-build-rootoiBR0x/APC-3.1.9/include -I/var/tmp/pear-build-rootoiBR0x/APC-3.1.9/main -I/var/tmp/APC -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /var/tmp/APC/apc_iterator.c -fPIC -DPIC -o .libs/apc_iterator.o /bin/sh /var/tmp/pear-build-rootoiBR0x/APC-3.1.9/libtool --mode=compile cc -I. -I/var/tmp/APC -DPHP_ATOM_INC -I/var/tmp/pear-build-rootoiBR0x/APC-3.1.9/include -I/var/tmp/pear-build-rootoiBR0x/APC-3.1.9/main -I/var/tmp/APC -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /var/tmp/APC/apc_bin.c -o apc_bin.lo libtool: compile: cc -I. -I/var/tmp/APC -DPHP_ATOM_INC -I/var/tmp/pear-build-rootoiBR0x/APC-3.1.9/include -I/var/tmp/pear-build-rootoiBR0x/APC-3.1.9/main -I/var/tmp/APC -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /var/tmp/APC/apc_bin.c -fPIC -DPIC -o .libs/apc_bin.o /bin/sh /var/tmp/pear-build-rootoiBR0x/APC-3.1.9/libtool --mode=compile cc -I. -I/var/tmp/APC -DPHP_ATOM_INC -I/var/tmp/pear-build-rootoiBR0x/APC-3.1.9/include -I/var/tmp/pear-build-rootoiBR0x/APC-3.1.9/main -I/var/tmp/APC -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /var/tmp/APC/apc_string.c -o apc_string.lo libtool: compile: cc -I. -I/var/tmp/APC -DPHP_ATOM_INC -I/var/tmp/pear-build-rootoiBR0x/APC-3.1.9/include -I/var/tmp/pear-build-rootoiBR0x/APC-3.1.9/main -I/var/tmp/APC -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /var/tmp/APC/apc_string.c -fPIC -DPIC -o .libs/apc_string.o /bin/sh /var/tmp/pear-build-rootoiBR0x/APC-3.1.9/libtool --mode=link cc -DPHP_ATOM_INC -I/var/tmp/pear-build-rootoiBR0x/APC-3.1.9/include -I/var/tmp/pear-build-rootoiBR0x/APC-3.1.9/main -I/var/tmp/APC -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -o apc.la -export-dynamic -avoid-version -prefer-pic -module -rpath /var/tmp/pear-build-rootoiBR0x/APC-3.1.9/modules apc.lo php_apc.lo apc_cache.lo apc_compile.lo apc_debug.lo apc_fcntl.lo apc_main.lo apc_mmap.lo apc_sem.lo apc_shm.lo apc_pthreadmutex.lo apc_pthreadrwlock.lo apc_spin.lo pgsql_s_lock.lo apc_sma.lo apc_stack.lo apc_zend.lo apc_rfc1867.lo apc_signal.lo apc_pool.lo apc_iterator.lo apc_bin.lo apc_string.lo -lrt libtool: link: cc -shared .libs/apc.o .libs/php_apc.o .libs/apc_cache.o .libs/apc_compile.o .libs/apc_debug.o .libs/apc_fcntl.o .libs/apc_main.o .libs/apc_mmap.o .libs/apc_sem.o .libs/apc_shm.o .libs/apc_pthreadmutex.o .libs/apc_pthreadrwlock.o .libs/apc_spin.o .libs/pgsql_s_lock.o .libs/apc_sma.o .libs/apc_stack.o .libs/apc_zend.o .libs/apc_rfc1867.o .libs/apc_signal.o .libs/apc_pool.o .libs/apc_iterator.o .libs/apc_bin.o .libs/apc_string.o -lrt -Wl,-soname -Wl,apc.so -o .libs/apc.so libtool: link: ( cd ".libs" && rm -f "apc.la" && ln -s "../apc.la" "apc.la" ) /bin/sh /var/tmp/pear-build-rootoiBR0x/APC-3.1.9/libtool --mode=install cp ./apc.la /var/tmp/pear-build-rootoiBR0x/APC-3.1.9/modules libtool: install: cp ./.libs/apc.so /var/tmp/pear-build-rootoiBR0x/APC-3.1.9/modules/apc.so libtool: install: cp ./.libs/apc.lai /var/tmp/pear-build-rootoiBR0x/APC-3.1.9/modules/apc.la libtool: finish: PATH="/usr/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin:/sbin" ldconfig -n /var/tmp/pear-build-rootoiBR0x/APC-3.1.9/modules ---------------------------------------------------------------------- Libraries have been installed in: /var/tmp/pear-build-rootoiBR0x/APC-3.1.9/modules If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the `-LLIBDIR' flag during linking and do at least one of the following: - add LIBDIR to the `LD_LIBRARY_PATH' environment variable during execution - add LIBDIR to the `LD_RUN_PATH' environment variable during linking - use the `-Wl,-rpath -Wl,LIBDIR' linker flag - have your system administrator add LIBDIR to `/etc/ld.so.conf' See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. ---------------------------------------------------------------------- Build complete. Don't forget to run 'make test'. running: make INSTALL_ROOT="/var/tmp/pear-build-rootoiBR0x/install-APC-3.1.9" install Installing shared extensions: /var/tmp/pear-build-rootoiBR0x/install-APC-3.1.9/usr/lib64/php/modules/ Installing header files: /var/tmp/pear-build-rootoiBR0x/install-APC-3.1.9/usr/include/php/ running: find "/var/tmp/pear-build-rootoiBR0x/install-APC-3.1.9" | xargs ls -dils 1046643 4 drwxr-xr-x. 3 root root 4096 6月 27 16:13 2012 /var/tmp/pear-build-rootoiBR0x/install-APC-3.1.9 1046709 4 drwxr-xr-x. 4 root root 4096 6月 27 16:13 2012 /var/tmp/pear-build-rootoiBR0x/install-APC-3.1.9/usr 1046713 4 drwxr-xr-x. 3 root root 4096 6月 27 16:13 2012 /var/tmp/pear-build-rootoiBR0x/install-APC-3.1.9/usr/include 1046714 4 drwxr-xr-x. 3 root root 4096 6月 27 16:13 2012 /var/tmp/pear-build-rootoiBR0x/install-APC-3.1.9/usr/include/php 1046715 4 drwxr-xr-x. 3 root root 4096 6月 27 16:13 2012 /var/tmp/pear-build-rootoiBR0x/install-APC-3.1.9/usr/include/php/ext 1046716 4 drwxr-xr-x. 2 root root 4096 6月 27 16:13 2012 /var/tmp/pear-build-rootoiBR0x/install-APC-3.1.9/usr/include/php/ext/apc 1046717 4 -rw-r--r--. 1 root root 3371 6月 27 16:13 2012 /var/tmp/pear-build-rootoiBR0x/install-APC-3.1.9/usr/include/php/ext/apc/apc_serializer.h 1046710 4 drwxr-xr-x. 3 root root 4096 6月 27 16:13 2012 /var/tmp/pear-build-rootoiBR0x/install-APC-3.1.9/usr/lib64 1046711 4 drwxr-xr-x. 3 root root 4096 6月 27 16:13 2012 /var/tmp/pear-build-rootoiBR0x/install-APC-3.1.9/usr/lib64/php 1046712 4 drwxr-xr-x. 2 root root 4096 6月 27 16:13 2012 /var/tmp/pear-build-rootoiBR0x/install-APC-3.1.9/usr/lib64/php/modules 1046708 724 -rwxr-xr-x. 1 root root 738577 6月 27 16:13 2012 /var/tmp/pear-build-rootoiBR0x/install-APC-3.1.9/usr/lib64/php/modules/apc.so Build process completed successfully Installing '/usr/include/php/ext/apc/apc_serializer.h' Installing '/usr/lib64/php/modules/apc.so' install ok: channel://pecl.php.net/APC-3.1.9 configuration option "php_ini" is not set to php.ini location You should add "extension=apc.so" to php.ini vi /etc/php.d/apc.ini cp /usr/share/pear/apc.php /path/to/web/apc.php |
完了
CentOS開発環境の構築(Apache, MySQL, PHP) | mawatari.jp
2012年6月28日 @ 9:42 PM
[…] – PHPのインストール 参考:ログ – APCのインストール 参考:ログ – Xdebugのインストール 参考:ログ – […]