VPS侦探论坛

 找回密码
 注册
查看: 13504|回复: 3

希望能升级下lnmp包中的 nginx版本

[复制链接]
发表于 2010-2-28 13:42:14 | 显示全部楼层 |阅读模式

如题,自己今天手工升级,没有成功,编译时出现以下错误:

  1. -bash-3.2# ./configure --user=www --group=www --prefix=/usr/local/nginx --with-http_stub_status_module --with-http_ssl_module
  2. checking for OS
  3. + Linux 2.6.18-164.6.1.el5xen i686
  4. checking for C compiler ... found
  5. + using GNU C compiler
  6. + gcc version: 4.1.2 20080704 (Red Hat 4.1.2-46)
  7. checking for gcc -pipe switch ... found
  8. checking for gcc builtin atomic operations ... not found
  9. checking for gcc variadic macros ... found
  10. checking for C99 variadic macros ... found
  11. checking for unistd.h ... found
  12. checking for inttypes.h ... found
  13. checking for limits.h ... found
  14. checking for sys/filio.h ... not found
  15. checking for sys/param.h ... found
  16. checking for sys/mount.h ... found
  17. checking for sys/statvfs.h ... found
  18. checking for crypt.h ... found
  19. checking for Linux specific features
  20. checking for epoll ... found
  21. checking for sendfile() ... found
  22. checking for sendfile64() ... found
  23. checking for sys/prctl.h ... found
  24. checking for prctl(PR_SET_DUMPABLE) ... found
  25. checking for sched_setaffinity() ... found
  26. checking for crypt_r() ... found
  27. checking for sys/vfs.h ... found
  28. checking for poll() ... found
  29. checking for /dev/poll ... not found
  30. checking for kqueue ... not found
  31. checking for crypt() ... not found
  32. checking for crypt() in libcrypt ... found
  33. checking for F_READAHEAD ... not found
  34. checking for posix_fadvise() ... found
  35. checking for O_DIRECT ... found
  36. checking for F_NOCACHE ... not found
  37. checking for directio() ... not found
  38. checking for statfs() ... found
  39. checking for statvfs() ... found
  40. checking for dlopen() ... not found
  41. checking for dlopen() in libdl ... found
  42. checking for sched_yield() ... found
  43. checking for PCRE library ... found
  44. checking for OpenSSL library ... found
  45. checking for zlib library ... found
  46. creating objs/Makefile
  47. checking for int size ... 4 bytes
  48. checking for long size ... 4 bytes
  49. checking for long long size ... 8 bytes
  50. checking for void * size ... 4 bytes
  51. checking for uint64_t ... found
  52. checking for sig_atomic_t ... found
  53. checking for sig_atomic_t size ... 4 bytes
  54. checking for socklen_t ... found
  55. checking for in_addr_t ... found
  56. checking for in_port_t ... found
  57. checking for rlim_t ... found
  58. checking for uintptr_t ... uintptr_t found
  59. checking for system endianess ... little endianess
  60. checking for size_t size ... 4 bytes
  61. checking for off_t size ... 8 bytes
  62. checking for time_t size ... 4 bytes
  63. checking for setproctitle() ... not found
  64. checking for pread() ... found
  65. checking for pwrite() ... found
  66. checking for strerror_r() ... found but is not working
  67. checking for gnu style strerror_r() ... found
  68. checking for localtime_r() ... found
  69. checking for posix_memalign() ... found
  70. checking for memalign() ... found
  71. checking for mmap(MAP_ANON|MAP_SHARED) ... found
  72. checking for mmap("/dev/zero", MAP_SHARED) ... found
  73. checking for System V shared memory ... found
  74. checking for struct msghdr.msg_control ... found
  75. checking for ioctl(FIONBIO) ... found
  76. checking for struct tm.tm_gmtoff ... found
  77. checking for struct dirent.d_namlen ... not found
  78. checking for struct dirent.d_type ... found
  79. Configuration summary
  80.   + using system PCRE library
  81.   + using system OpenSSL library
  82.   + md5: using OpenSSL library
  83.   + sha1 library is not used
  84.   + using system zlib library
  85.   nginx path prefix: "/usr/local/nginx"
  86.   nginx binary file: "/usr/local/nginx/sbin/nginx"
  87.   nginx configuration prefix: "/usr/local/nginx/conf"
  88.   nginx configuration file: "/usr/local/nginx/conf/nginx.conf"
  89.   nginx pid file: "/usr/local/nginx/logs/nginx.pid"
  90.   nginx error log file: "/usr/local/nginx/logs/error.log"
  91.   nginx http access log file: "/usr/local/nginx/logs/access.log"
  92.   nginx http client request body temporary files: "client_body_temp"
  93.   nginx http proxy temporary files: "proxy_temp"
  94.   nginx http fastcgi temporary files: "fastcgi_temp"

复制代码


自己也运行了以下命令,但是还是一样不成功,老大能不能帮忙下?

  1. yum -y install gcc gcc-c++ autoconf libjpeg libjpeg-devel libpng libpng-devel freetype freetype-devel libxml2 libxml2-devel zlib zlib-devel glibc glibc-devel glib2 glib2-devel bzip2 bzip2-devel ncurses ncurses-devel curl curl-devel e2fsprogs e2fsprogs-devel krb5 krb5-devel libidn libidn-devel openssl openssl-devel openldap openldap-devel nss_ldap openldap-clients openldap-servers
复制代码
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2010-2-28 14:38:19 | 显示全部楼层


编译了吗?运行make && make install 命令了吗?
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2010-2-28 16:40:32 | 显示全部楼层

原帖由 coralzd 于 2010-2-28 14:38 发表
编译了吗?运行make && make install 命令了吗?

还没有运行make ,是运行 ./configure 时就出错了。
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2010-3-3 23:34:47 | 显示全部楼层



有错误信息吗!
根本就没报错
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-7-27 10:48 , Processed in 0.026589 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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