无标题文档
wdCP系统 (介绍,功能特性,运行环境,安装说明,演示,常见问题,使用教程) wdCDN系统 (介绍,功能特性,运行环境,安装说明,演示,常见问题,使用手册)
wdOS系统 (介绍,功能特性,运行环境,安装说明,演示,常见问题,使用教程) wdDNS系统 (介绍,功能特性,运行环境,安装说明,演示,常见问题,使用手册)
注册 发贴 提问 回复-必看必看 wddns免费智能 DNS 开通 本地或虚拟机使 用wdcp 一键包在mysql编 译时"卡住"
【300G高防】双线 无视攻击 wdcp官方技术支持/服务 阿里云8折优惠券 无敌云 腾讯云优惠中,现注册更有260代金额券赠送
返回列表 发帖
提问三步曲: 提问先看教程/FAQ索引(wdcp,wdcp_v3,一键包)及搜索,会让你更快解决问题
1 提供详细,如系统版本,wdcp版本,软件版本等及错误的详细信息,贴上论坛或截图发论坛
2 做过哪些操作或改动设置等

温馨提示:信息不详,很可能会没人理你!论坛有教程说明的,也可能没人理!因为,你懂的
真的价格真的价格
pinhao.cn

TOP

回复 1# winran


  
  1. [root@iZ25x4ajoqbZ phpredis-develop]# /www/wdlinux/php/bin/phpize
  2. Configuring for:
  3. PHP Api Version:         20090626
  4. Zend Module Api No:      20090626
  5. Zend Extension Api No:   220090626
  6. [root@iZ25x4ajoqbZ phpredis-develop]# ./configure    --with-php-config=/www/wdlinux/apache_php-5.5.38/bin/php-config
  7. checking for grep that handles long lines and -e... /bin/grep
  8. checking for egrep... /bin/grep -E
  9. checking for a sed that does not truncate output... /bin/sed
  10. checking for cc... cc
  11. checking for C compiler default output file name... a.out
  12. checking whether the C compiler works... yes
  13. checking whether we are cross compiling... no
  14. checking for suffix of executables...
  15. checking for suffix of object files... o
  16. checking whether we are using the GNU C compiler... yes
  17. checking whether cc accepts -g... yes
  18. checking for cc option to accept ISO C89... none needed
  19. checking how to run the C preprocessor... cc -E
  20. checking for icc... no
  21. checking for suncc... no
  22. checking whether cc understands -c and -o together... yes
  23. checking for system library directory... lib
  24. checking if compiler supports -R... no
  25. checking if compiler supports -Wl,-rpath,... yes
  26. checking build system type... x86_64-unknown-linux-gnu
  27. checking host system type... x86_64-unknown-linux-gnu
  28. checking target system type... x86_64-unknown-linux-gnu
  29. configure: error: Cannot find php-config. Please use --with-php-config=PATH
  30. [root@iZ25x4ajoqbZ phpredis-develop]# ./configure --with-php-config=/www/wdlinux/nginx_php-5.2.17/bin/php-config
  31. checking for grep that handles long lines and -e... /bin/grep
  32. checking for egrep... /bin/grep -E
  33. checking for a sed that does not truncate output... /bin/sed
  34. checking for cc... cc
  35. checking for C compiler default output file name... a.out
  36. checking whether the C compiler works... yes
  37. checking whether we are cross compiling... no
  38. checking for suffix of executables...
  39. checking for suffix of object files... o
  40. checking whether we are using the GNU C compiler... yes
  41. checking whether cc accepts -g... yes
  42. checking for cc option to accept ISO C89... none needed
  43. checking how to run the C preprocessor... cc -E
  44. checking for icc... no
  45. checking for suncc... no
  46. checking whether cc understands -c and -o together... yes
  47. checking for system library directory... lib
  48. checking if compiler supports -R... no
  49. checking if compiler supports -Wl,-rpath,... yes
  50. checking build system type... x86_64-unknown-linux-gnu
  51. checking host system type... x86_64-unknown-linux-gnu
  52. checking target system type... x86_64-unknown-linux-gnu
  53. checking for PHP prefix... /www/wdlinux/nginx_php-5.2.17
  54. checking for PHP includes... -I/www/wdlinux/nginx_php-5.2.17/include/php -I/www/wdlinux/nginx_php-5.2.17/include/php/main -I/www/wdlinux/nginx_php-5.2.17/include/php/TSRM -I/www/wdlinux/nginx_php-5.2.17/include/php/Zend -I/www/wdlinux/nginx_php-5.2.17/include/php/ext -I/www/wdlinux/nginx_php-5.2.17/include/php/ext/date/lib
  55. checking for PHP extension directory... /www/wdlinux/nginx_php-5.2.17/lib/php/extensions/no-debug-non-zts-20060613
  56. checking for PHP installed headers prefix... /www/wdlinux/nginx_php-5.2.17/include/php
  57. checking if debug is enabled... no
  58. checking if zts is enabled... no
  59. checking for re2c... no
  60. configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
  61. checking for gawk... gawk
  62. checking whether to enable redis support... yes, shared
  63. checking whether to enable sessions... yes
  64. checking whether to enable igbinary serializer support... no
  65. checking for redis igbinary support... disabled
  66. checking for ld used by cc... /usr/bin/ld
  67. checking if the linker (/usr/bin/ld) is GNU ld... yes
  68. checking for /usr/bin/ld option to reload object files... -r
  69. checking for BSD-compatible nm... /usr/bin/nm -B
  70. checking whether ln -s works... yes
  71. checking how to recognize dependent libraries... pass_all
  72. checking for ANSI C header files... yes
  73. checking for sys/types.h... yes
  74. checking for sys/stat.h... yes
  75. checking for stdlib.h... yes
  76. checking for string.h... yes
  77. checking for memory.h... yes
  78. checking for strings.h... yes
  79. checking for inttypes.h... yes
  80. checking for stdint.h... yes
  81. checking for unistd.h... yes
  82. checking dlfcn.h usability... yes
  83. checking dlfcn.h presence... yes
  84. checking for dlfcn.h... yes
  85. checking the maximum length of command line arguments... 1966080
  86. checking command to parse /usr/bin/nm -B output from cc object... ok
  87. checking for objdir... .libs
  88. checking for ar... ar
  89. checking for ranlib... ranlib
  90. checking for strip... strip
  91. checking if cc supports -fno-rtti -fno-exceptions... no
  92. checking for cc option to produce PIC... -fPIC
  93. checking if cc PIC flag -fPIC works... yes
  94. checking if cc static flag -static works... no
  95. checking if cc supports -c -o file.o... yes
  96. checking whether the cc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
  97. checking whether -lc should be explicitly linked in... no
  98. checking dynamic linker characteristics... GNU/Linux ld.so
  99. checking how to hardcode library paths into programs... immediate
  100. checking whether stripping libraries is possible... yes
  101. checking if libtool supports shared libraries... yes
  102. checking whether to build shared libraries... yes
  103. checking whether to build static libraries... no

  104. creating libtool
  105. appending configuration tag "CXX" to libtool
  106. configure: creating ./config.status
  107. config.status: creating config.h
  108. [root@iZ25x4ajoqbZ phpredis-develop]# make
  109. /bin/sh /root/phpredis-develop/libtool --mode=compile cc  -I. -I/root/phpredis-develop -DPHP_ATOM_INC -I/root/phpredis-develop/include -I/root/phpredis-develop/main -I/root/phpredis-develop -I/www/wdlinux/nginx_php-5.2.17/include/php -I/www/wdlinux/nginx_php-5.2.17/include/php/main -I/www/wdlinux/nginx_php-5.2.17/include/php/TSRM -I/www/wdlinux/nginx_php-5.2.17/include/php/Zend -I/www/wdlinux/nginx_php-5.2.17/include/php/ext -I/www/wdlinux/nginx_php-5.2.17/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /root/phpredis-develop/redis.c -o redis.lo
  110. mkdir .libs
  111. cc -I. -I/root/phpredis-develop -DPHP_ATOM_INC -I/root/phpredis-develop/include -I/root/phpredis-develop/main -I/root/phpredis-develop -I/www/wdlinux/nginx_php-5.2.17/include/php -I/www/wdlinux/nginx_php-5.2.17/include/php/main -I/www/wdlinux/nginx_php-5.2.17/include/php/TSRM -I/www/wdlinux/nginx_php-5.2.17/include/php/Zend -I/www/wdlinux/nginx_php-5.2.17/include/php/ext -I/www/wdlinux/nginx_php-5.2.17/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /root/phpredis-develop/redis.c  -fPIC -DPIC -o .libs/redis.o
  112. env: cc: Permission denied
  113. make: *** [redis.lo] Error 1
  114. [root@iZ25x4ajoqbZ phpredis-develop]# make install
  115. /bin/sh /root/phpredis-develop/libtool --mode=compile cc  -I. -I/root/phpredis-develop -DPHP_ATOM_INC -I/root/phpredis-develop/include -I/root/phpredis-develop/main -I/root/phpredis-develop -I/www/wdlinux/nginx_php-5.2.17/include/php -I/www/wdlinux/nginx_php-5.2.17/include/php/main -I/www/wdlinux/nginx_php-5.2.17/include/php/TSRM -I/www/wdlinux/nginx_php-5.2.17/include/php/Zend -I/www/wdlinux/nginx_php-5.2.17/include/php/ext -I/www/wdlinux/nginx_php-5.2.17/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /root/phpredis-develop/redis.c -o redis.lo
  116. cc -I. -I/root/phpredis-develop -DPHP_ATOM_INC -I/root/phpredis-develop/include -I/root/phpredis-develop/main -I/root/phpredis-develop -I/www/wdlinux/nginx_php-5.2.17/include/php -I/www/wdlinux/nginx_php-5.2.17/include/php/main -I/www/wdlinux/nginx_php-5.2.17/include/php/TSRM -I/www/wdlinux/nginx_php-5.2.17/include/php/Zend -I/www/wdlinux/nginx_php-5.2.17/include/php/ext -I/www/wdlinux/nginx_php-5.2.17/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /root/phpredis-develop/redis.c  -fPIC -DPIC -o .libs/redis.o
  117. env: cc: Permission denied
  118. make: *** [redis.lo] Error 1
  119. [root@iZ25x4ajoqbZ phpredis-develop]#
复制代码

make失败,怎么回事
cn

TOP

关于该步出错的原因.请大家对应修改.就好了
未命名-1.fw.png

TOP

返回列表