提問三步曲: 提問先看教程/FAQ索引(wdcp,wdcp_v3,一鍵包)及搜索,會讓你更快解決問題
1 提供詳細,如系統(tǒng)版本,wdcp版本,軟件版本等及錯誤的詳細信息,貼上論壇或截圖發(fā)論壇
2 做過哪些操作或改動設(shè)置等
溫馨提示:信息不詳,很可能會沒人理你!論壇有教程說明的,也可能沒人理!因為,你懂的
[求助] 新裝的v3多版本php報錯env: gcc: Permission denied ----Install Error: 5.2.17 -
Configuring Zend
checking for bison version... (cached) 2.4.1 (ok)
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for limits.h... (cached) yes
checking for malloc.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for stdarg.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for signal.h... (cached) yes
checking for unix.h... (cached) no
checking for stdlib.h... (cached) yes
checking for mach-o/dyld.h... (cached) no
checking for dlfcn.h... (cached) yes
checking for size_t... (cached) yes
checking return type of signal handlers... (cached) void
checking for uint... (cached) yes
checking for ulong... (cached) yes
checking for int32_t... yes
checking for uint32_t... yes
checking for vprintf... (cached) yes
checking for 8-bit clean memcmp... (cached) yes
checking for working alloca.h... (cached) yes
checking for alloca... (cached) yes
checking for memcpy... (cached) yes
checking for strdup... (cached) yes
checking for getpid... (cached) yes
checking for kill... (cached) yes
checking for strtod... (cached) yes
checking for strtol... (cached) yes
checking for finite... (cached) yes
checking for fpclass... (cached) no
checking whether sprintf is broken... (cached) no
checking for finite... (cached) yes
checking for isfinite... (cached) no
checking for isinf... (cached) yes
checking for isnan... (cached) yes
checking whether fp_except is defined... (cached) no
checking for dlfcn.h... (cached) yes
checking whether dlsym() requires a leading underscore in symbol names... no
checking virtual machine dispatch method... CALL
checking whether to enable thread-safety... no
checking whether to enable inline optimization for GCC... yes
checking whether to enable Zend debugging... no
checking whether to enable Zend multibyte... no
checking for inline... (cached) inline
checking target system is Darwin... no
checking for MM alignment and log values... done
checking for memory allocation using mmap(MAP_ANON)... yes
checking for memory allocation using mmap(/dev/zero)... yes
checking for mremap... (cached) yes
Configuring TSRM
checking for stdarg.h... (cached) yes
Configuring libtool
checking build system type... x86_64-unknown-linux-gnu
checking for ld used by gcc... (cached) /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes
checking for /usr/bin/ld option to reload object files... (cached) -r
checking for BSD-compatible nm... (cached) /usr/bin/nm -B
checking how to recognize dependent libraries... (cached) pass_all
checking for object suffix... (cached) o
checking for executable suffix... (cached) no
checking the maximum length of command line arguments... (cached) 1966080
checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok
checking for objdir... (cached) .libs
checking for ar... (cached) ar
checking for ranlib... (cached) ranlib
checking for strip... (cached) strip
checking if gcc supports -fno-rtti -fno-exceptions... (cached) no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... (cached) yes
checking if gcc static flag -static works... (cached) no
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
(cached) (cached) 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... no
checking whether to build static libraries... yes
creating libtool
appending configuration tag "CXX" to libtool
Generating files
creating ./config.status
creating php5.spec
creating main/build-defs.h
creating scripts/phpize
creating scripts/man1/phpize.1
creating scripts/php-config
creating scripts/man1/php-config.1
creating sapi/cli/php.1
creating sapi/cgi/fpm/fpm_autoconf.h
creating sapi/cgi/fpm/php-fpm.conf
creating sapi/cgi/fpm/php-fpm
creating main/php_config.h
creating main/internal_functions.c
creating main/internal_functions_cli.c
+--------------------------------------------------------------------+
| License: |
| This software is subject to the PHP License, available in this |
| distribution in the file LICENSE. By continuing this installation |
| process, you are bound by the terms of this license agreement. |
| If you do not agree with the terms of this license, you must abort |
| the installation process at this point. |
+--------------------------------------------------------------------+
Thank you for using PHP.
ln: creating symbolic link `/usr/lib/libmysqlclient.a': File exists
ln: creating symbolic link `/usr/lib/libmysqlclient_r.a': File exists
ln: creating symbolic link `/usr/lib/libmysqlclient_r.so': File exists
ln: creating symbolic link `/usr/lib/libmysqlclient_r.so.18': File exists
ln: creating symbolic link `/usr/lib/libmysqlclient_r.so.18.0.0': File exists
ln: creating symbolic link `/usr/lib/libmysqlclient.so': File exists
ln: creating symbolic link `/usr/lib/libmysqlclient.so.18': File exists
ln: creating symbolic link `/usr/lib/libmysqlclient.so.18.0.0': File exists
ln: creating symbolic link `/usr/lib/libmysqld.a': File exists
ln: creating symbolic link `/usr/lib/libmysqlservices.a': File exists
/bin/sh /root/src/php-5.2.17/libtool --silent --preserve-dup-deps --mode=compile gcc -Iext/date/lib -Iext/date/ -I/root/src/php-5.2.17/ext/date/ -DPHP_ATOM_INC -I/root/src/php-5.2.17/include -I/root/src/php-5.2.17/main -I/root/src/php-5.2.17 -I/root/src/php-5.2.17/ext/date/lib -I/usr/include/libxml2 -I/usr/include/freetype2 -I/root/src/php-5.2.17/ext/mbstring/oniguruma -I/root/src/php-5.2.17/ext/mbstring/libmbfl -I/root/src/php-5.2.17/ext/mbstring/libmbfl/mbfl -I/www/wdlinux/mysql/include -I/root/src/php-5.2.17/TSRM -I/root/src/php-5.2.17/Zend -I/usr/include -g -O2 -c /root/src/php-5.2.17/ext/date/php_date.c -o ext/date/php_date.lo
/bin/sh /root/src/php-5.2.17/libtool --silent --preserve-dup-deps --mode=compile gcc -Iext/date/lib -Iext/date/ -I/root/src/php-5.2.17/ext/date/ -DPHP_ATOM_INC -I/root/src/php-5.2.17/include -I/root/src/php-5.2.17/main -I/root/src/php-5.2.17 -I/root/src/php-5.2.17/ext/date/lib -I/usr/include/libxml2 -I/usr/include/freetype2 -I/root/src/php-5.2.17/ext/mbstring/oniguruma -I/root/src/php-5.2.17/ext/mbstring/libmbfl -I/root/src/php-5.2.17/ext/mbstring/libmbfl/mbfl -I/www/wdlinux/mysql/include -I/root/src/php-5.2.17/TSRM -I/root/src/php-5.2.17/Zend -I/usr/include -g -O2 -c /root/src/php-5.2.17/ext/date/lib/astro.c -o ext/date/lib/astro.lo
env: gcc: Permission denied
make: *** [ext/date/lib/astro.lo] Error 1
make: *** Waiting for unfinished jobs....
env: gcc: Permission denied
make: *** [ext/date/php_date.lo] Error 1
x86_64
CentOS release 6.8 (Final)
----Install Error: 5.2.17 ----------- |