+ -
当前位置:首页 → 问答吧 → help: centos 5.5 编译apache2.0.64不成功提示apr问题

help: centos 5.5 编译apache2.0.64不成功提示apr问题

时间:2010-10-25

来源:互联网

环境:centos 5.5 最小化安装 + apache2.0.64
  1. yum -y gcc gcc-c++
  2. yum -y install apr apr-devel apr-util
  3. yum install libxml2-devel
  4. yum install bison
  5. yum install autoconf
  6. yum install automake
  7. yum install libtool
  8. yum install expat-devel
  9. ...
  10. 反正能想到的我都装上了

  11. #pwd
  12. /root/src/httpd-2.0.64

  13. #./configure --prefix=/usr/apps/apache
  14. 出下面的错误
  15. creating test/Makefile
  16. config.status: creating docs/conf/httpd-std.conf
  17. config.status: creating docs/conf/ssl-std.conf
  18. config.status: creating include/ap_config_layout.h
  19. config.status: creating support/apxs
  20. config.status: creating support/apachectl
  21. config.status: creating support/dbmmanage
  22. config.status: creating support/envvars-std
  23. config.status: creating support/log_server_status
  24. config.status: creating support/logresolve.pl
  25. config.status: creating support/phf_abuse_log.cgi
  26. config.status: creating support/split-logfile
  27. config.status: creating build/rules.mk
  28. config.status: creating build/pkg/pkginfo
  29. config.status: creating include/ap_config_auto.h
  30. config.status: include/ap_config_auto.h is unchanged
  31. config.status: executing default commands

  32. 判断是apr的问题

  33. 但之前明明是安装了apr的。怪怪。

  34. 不得已自己手工再装一次apr
  35. #cd /root/src/httpd-2.0.64/srclib/apr
  36. #./buildconf
  37. #./configure --prefix=/usr/apps/libs/apr
  38. 结果又出现下面的错误
  39. config.status: creating apr-config
  40. config.status: creating include/arch/unix/apr_private.h
  41. config.status: executing default commands
复制代码
搞一天了还没有整定。请兄弟们帮我看一下,多谢

作者: bjbs_270   发布时间: 2010-10-25

是不是兄弟们没有遇到过这样的问题!

作者: bjbs_270   发布时间: 2010-10-26