容器技术交流

 找回密码
 立即注册
查看: 4059|回复: 6

Ubuntu安装到PHP时出错

[复制链接]
发表于 2012-1-16 22:38:51 | 显示全部楼层 |阅读模式
  1. Configuring SAPI modules
  2. checking for AOLserver support... no
  3. checking for Apache 1.x module support via DSO through APXS... no
  4. checking for Apache 1.x module support... no
  5. checking whether to enable Apache charset compatibility option... no
  6. checking for Apache 2.0 filter-module support via DSO through APXS... no
  7. checking for Apache 2.0 handler-module support via DSO through APXS... yes
  8. checking for Apache 1.x (hooks) module support via DSO through APXS... no
  9. checking for Apache 1.x (hooks) module support... no
  10. checking whether to enable Apache charset compatibility option... no
  11. checking for Caudium support... no
  12. checking for CLI build... yes
  13. checking for Continuity support... no
  14. checking for embedded SAPI library support... no
  15. checking for FPM build... no
  16. checking for Zeus ISAPI support... no
  17. checking for LiteSpeed support... no
  18. checking for Milter support... no
  19. checking for NSAPI support... no
  20. checking for PHTTPD support... no
  21. checking for Pi3Web support... no
  22. checking whether Roxen module is build using ZTS... no
  23. checking for Roxen/Pike support...
  24. checking for thttpd... no
  25. checking for TUX... no
  26. checking for webjames... no
  27. checking for chosen SAPI module... apache2handler

  28. Running system checks

  29. 。。。。。


  30. checking for monetary.h... yes
  31. checking for netdb.h... yes
  32. checking for pwd.h... yes
  33. checking for resolv.h... yes
  34. checking for signal.h... yes
  35. checking for stdarg.h... yes
  36. checking for stdlib.h... yes
  37. checking for string.h... yes
  38. checking for syslog.h... yes
  39. checking for sysexits.h... yes
  40. checking for sys/ioctl.h... yes
  41. checking for sys/file.h... yes
  42. checking for sys/mman.h... yes
  43. checking for sys/mount.h... yes
  44. checking for sys/poll.h... yes
  45. checking for sys/resource.h... yes
  46. checking for sys/select.h... yes
  47. checking for sys/socket.h... yes
  48. checking for sys/stat.h... yes
  49. checking for sys/statfs.h... yes
  50. checking for sys/statvfs.h... yes
  51. checking for sys/vfs.h... yes
  52. checking for sys/sysexits.h... no
  53. checking for sys/varargs.h... no
  54. checking for sys/wait.h... yes
  55. checking for sys/loadavg.h... no
  56. checking for termios.h... yes
  57. checking for unistd.h... yes
  58. checking for unix.h... no
  59. checking for utime.h... yes
  60. checking for sys/utsname.h... yes
  61. checking for sys/ipc.h... yes
  62. checking for dlfcn.h... yes
  63. checking for assert.h... (cached) yes
  64. checking for fopencookie... yes
  65. checking for broken getcwd... no
  66. checking for broken libc stdio... yes
  67. checking whether struct tm is in sys/time.h or time.h... time.h
  68. checking for tm_zone in struct tm... yes
  69. checking for missing declarations of reentrant functions... done
  70. checking for fclose declaration... ok
  71. checking for tm_gmtoff in struct tm... yes
  72. checking for struct flock... yes
  73. checking for socklen_t... yes
  74. checking size of size_t... 4
  75. checking size of long long... 8
  76. checking size of long long int... 8
  77. checking size of long... 4
  78. checking size of int... 4
  79. checking size of intmax_t... 8
  80. checking size of ssize_t... 4
  81. checking size of ptrdiff_t... 4
  82. checking for st_blksize in struct stat... yes
  83. checking for st_blocks in struct stat... yes
  84. checking for st_rdev in struct stat... yes
  85. checking for size_t... yes
  86. checking for uid_t in sys/types.h... yes
  87. checking for struct sockaddr_storage... yes
  88. checking for field sa_len in struct sockaddr... no
  89. checking for IPv6 support... yes
  90. checking for vprintf... yes
  91. checking for alphasort... yes
  92. checking for asctime_r... yes
  93. checking for chroot... yes
  94. checking for ctime_r... yes
  95. checking for cuserid... yes
  96. checking for crypt... no
  97. checking for flock... yes
  98. checking for ftok... yes
  99. checking for funopen... no
  100. checking for gai_strerror... yes
  101. checking for gcvt... yes
  102. checking for getloadavg... yes
  103. checking for getlogin... yes
  104. checking for getprotobyname... yes
  105. checking for getprotobynumber... yes
  106. checking for getservbyname... yes
  107. checking for getservbyport... yes
  108. checking for gethostname... (cached) yes
  109. checking for getrusage... yes
  110. checking for gettimeofday... yes
  111. checking for gmtime_r... yes
  112. checking for getpwnam_r... yes
  113. checking for getgrnam_r... yes
  114. checking for getpwuid_r... yes
  115. checking for grantpt... yes
  116. checking for inet_ntoa... yes
  117. checking for inet_ntop... yes
  118. checking for inet_pton... yes
  119. checking for isascii... yes
  120. checking for link... yes
  121. checking for localtime_r... yes
  122. checking for lockf... yes
  123. checking for lchown... yes
  124. checking for lrand48... yes
  125. checking for memcpy... yes
  126. checking for memmove... yes
  127. checking for mkstemp... yes
  128. checking for mmap... yes
  129. checking for nl_langinfo... yes
  130. checking for perror... yes
  131. checking for poll... yes
  132. checking for ptsname... yes
  133. checking for putenv... yes
  134. checking for realpath... yes
  135. checking for random... yes
  136. checking for rand_r... yes
  137. checking for scandir... yes
  138. checking for setitimer... yes
  139. checking for setlocale... yes
  140. checking for localeconv... yes
  141. checking for setenv... yes
  142. checking for setpgid... yes
  143. checking for setsockopt... yes
  144. checking for setvbuf... yes
  145. checking for shutdown... yes
  146. checking for sin... yes
  147. checking for snprintf... yes
  148. checking for srand48... yes
  149. checking for srandom... yes
  150. checking for statfs... yes
  151. checking for statvfs... yes
  152. checking for std_syslog... no
  153. checking for strcasecmp... yes
  154. checking for strcoll... yes
  155. checking for strdup... yes
  156. checking for strerror... yes
  157. checking for strftime... yes
  158. checking for strnlen... yes
  159. checking for strptime... yes
  160. checking for strstr... yes
  161. checking for strtok_r... yes
  162. checking for symlink... yes
  163. checking for tempnam... yes
  164. checking for tzset... yes
  165. checking for unlockpt... yes
  166. checking for unsetenv... yes
  167. checking for usleep... yes
  168. checking for utime... yes
  169. checking for vsnprintf... yes
  170. checking for vasprintf... yes
  171. checking for asprintf... yes
  172. checking for nanosleep... yes
  173. checking for nanosleep in -lrt... yes
  174. checking for getaddrinfo... yes
  175. checking for __sync_fetch_and_add... yes
  176. checking for strlcat... no
  177. checking for strlcpy... no
  178. checking for getopt... yes
  179. checking whether utime accepts a null argument... yes
  180. checking for working alloca.h... (cached) yes
  181. checking for alloca... yes
  182. checking for declared timezone... yes
  183. checking for type of reentrant time-related functions... POSIX
  184. checking for readdir_r... yes
  185. checking for type of readdir_r... POSIX
  186. checking for in_addr_t... yes
  187. checking for crypt_r... no

  188. General settings
  189. checking whether to include gcov symbols... no
  190. checking whether to include debugging symbols... no
  191. checking layout of installed files... PHP
  192. checking path to configuration file... DEFAULT
  193. checking where to scan for configuration files...
  194. checking whether to enable safe mode by default... no
  195. checking for safe mode exec dir... /usr/local/php/bin
  196. checking whether to enable PHP's own SIGCHLD handler... no
  197. checking whether to enable magic quotes by default... no
  198. checking whether to explicitly link against libgcc... no
  199. checking whether to enable short tags by default... yes
  200. checking whether to enable dmalloc... no
  201. checking whether to enable IPv6 support... yes
  202. checking how big to make fd sets... using system default

  203. Configuring extensions
  204. checking size of long... (cached) 4
  205. checking size of int... (cached) 4
  206. checking for int32_t... yes
  207. checking for uint32_t... yes
  208. checking for sys/types.h... (cached) yes
  209. checking for inttypes.h... (cached) yes
  210. checking for stdint.h... (cached) yes
  211. checking for string.h... (cached) yes
  212. checking for stdlib.h... (cached) yes
  213. checking for strtoll... yes
  214. checking for atoll... yes
  215. checking for strftime... (cached) yes
  216. checking which regex library to use... php
  217. checking whether to enable LIBXML support... yes
  218. checking libxml2 install dir... /usr/local
  219. checking for xml2-config path... /usr/local/bin/xml2-config
  220. checking whether libxml build works... yes
  221. checking for OpenSSL support... yes
  222. checking for Kerberos support... no
  223. checking for DSA_get_default_method in -lssl... no
  224. checking for X509_free in -lcrypto... yes
  225. checking for pkg-config... /usr/bin/pkg-config
  226. checking for PCRE library to use... bundled
  227. checking whether to enable the SQLite3 extension... yes
  228. checking bundled sqlite3 library... yes
  229. checking for ZLIB support... yes
  230. checking if the location of ZLIB install y is defined... no
  231. checking for gzgets in -lz... yes
  232. checking whether to enable bc style precision math functions... yes
  233. checking for BZip2 support... no
  234. checking whether to enable calendar conversion support... yes
  235. checking whether to enable ctype functions... yes
  236. checking for cURL support... yes
  237. checking if we should use cURL for url streams... yes
  238. checking for cURL in default path... not found
  239. configure: error: Please reinstall the libcurl distribution -
  240.     easy.h should be in <curl-dir>/include/curl/
  241. make: *** 没有指明目标并且找不到 makefile。 停止。
  242. ./php/php.sh: 98: cannot create /usr/local/php/lib/php.ini: y nonexistent
  243. error: /usr/local/php/lib/php.ini not exists
  244. error: /usr/local/php/lib/php.ini 不存在,没安装成功!

  245. Php 安装不成功!停止安装LuNamp2.1
  246. Php is not installed! Stop to install .



  247. LuNamp安装失败
  248. LuNamp was install failed
复制代码

如何解决呢?

发表于 2012-1-16 23:46:47 | 显示全部楼层
apt-get install curl
 楼主| 发表于 2012-1-17 10:59:17 | 显示全部楼层
非常感谢您的回复,正在照你的方法安装,然后有问题再问你,谢谢了!
 楼主| 发表于 2012-1-17 11:02:11 | 显示全部楼层
仍然报相同的错误,CURL好像在之前已经安装过的呀
发表于 2012-1-17 13:36:20 | 显示全部楼层
本帖最后由 化繁为简 于 2012-1-17 13:36 编辑

ubuntu的安装不难的!与debian差不多的!
发表于 2012-1-17 13:39:07 | 显示全部楼层
化繁o.o 换了几个系统了
 楼主| 发表于 2012-1-17 21:54:32 | 显示全部楼层
安装完成了。
重新安装了U11.04。后,使用第一种方法慢慢装完了。
具体有什么问题再来发帖,非常感谢了。
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Archiver|URLOS ( 粤ICP备18087780号 )

GMT+8, 2025-5-16 07:42 , Processed in 0.035829 second(s), 18 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表