VPS侦探论坛

 找回密码
 注册
查看: 7077|回复: 4

执行APACHE安装的时候 始终编译不成功,请教是什么问题

[复制链接]
发表于 2011-7-20 10:42:51 | 显示全部楼层 |阅读模式

make的时候下列显示,编译不成功

Making all in srclib
make[1]: Entering directory `/root/lnmp0.7-full/httpd-2.2.17/srclib'
Making all in apr
make[2]: Entering directory `/root/lnmp0.7-full/httpd-2.2.17/srclib/apr'
make[3]: Entering directory `/root/lnmp0.7-full/httpd-2.2.17/srclib/apr'
make[3]: Nothing to be done for `local-all'.
make[3]: Leaving directory `/root/lnmp0.7-full/httpd-2.2.17/srclib/apr'
make[2]: Leaving directory `/root/lnmp0.7-full/httpd-2.2.17/srclib/apr'
Making all in apr-util
make[2]: Entering directory `/root/lnmp0.7-full/httpd-2.2.17/srclib/apr-util'
make[3]: Entering directory `/root/lnmp0.7-full/httpd-2.2.17/srclib/apr-util'
make[3]: Nothing to be done for `local-all'.
make[3]: Leaving directory `/root/lnmp0.7-full/httpd-2.2.17/srclib/apr-util'
make[2]: Leaving directory `/root/lnmp0.7-full/httpd-2.2.17/srclib/apr-util'
Making all in pcre
make[2]: Entering directory `/root/lnmp0.7-full/httpd-2.2.17/srclib/pcre'
make[3]: Entering directory `/root/lnmp0.7-full/httpd-2.2.17/srclib/pcre'
make[3]: Nothing to be done for `local-all'.
make[3]: Leaving directory `/root/lnmp0.7-full/httpd-2.2.17/srclib/pcre'
make[2]: Leaving directory `/root/lnmp0.7-full/httpd-2.2.17/srclib/pcre'
make[1]: Leaving directory `/root/lnmp0.7-full/httpd-2.2.17/srclib'
Making all in os
make[1]: Entering directory `/root/lnmp0.7-full/httpd-2.2.17/os'
Making all in unix
make[2]: Entering directory `/root/lnmp0.7-full/httpd-2.2.17/os/unix'
make[3]: Entering directory `/root/lnmp0.7-full/httpd-2.2.17/os/unix'
make[3]: Nothing to be done for `local-all'.
make[3]: Leaving directory `/root/lnmp0.7-full/httpd-2.2.17/os/unix'
make[2]: Leaving directory `/root/lnmp0.7-full/httpd-2.2.17/os/unix'
make[1]: Leaving directory `/root/lnmp0.7-full/httpd-2.2.17/os'
Making all in server
make[1]: Entering directory `/root/lnmp0.7-full/httpd-2.2.17/server'
Making all in mpm
make[2]: Entering directory `/root/lnmp0.7-full/httpd-2.2.17/server/mpm'
Making all in prefork
make[3]: Entering directory `/root/lnmp0.7-full/httpd-2.2.17/server/mpm/prefork'
make[4]: Entering directory `/root/lnmp0.7-full/httpd-2.2.17/server/mpm/prefork'
make[4]: Nothing to be done for `local-all'.
make[4]: Leaving directory `/root/lnmp0.7-full/httpd-2.2.17/server/mpm/prefork'
make[3]: Leaving directory `/root/lnmp0.7-full/httpd-2.2.17/server/mpm/prefork'
make[2]: Leaving directory `/root/lnmp0.7-full/httpd-2.2.17/server/mpm'
make[2]: Entering directory `/root/lnmp0.7-full/httpd-2.2.17/server'
make[2]: Leaving directory `/root/lnmp0.7-full/httpd-2.2.17/server'
make[1]: Leaving directory `/root/lnmp0.7-full/httpd-2.2.17/server'
Making all in modules
make[1]: Entering directory `/root/lnmp0.7-full/httpd-2.2.17/modules'
Making all in aaa
make[2]: Entering directory `/root/lnmp0.7-full/httpd-2.2.17/modules/aaa'
make[3]: Entering directory `/root/lnmp0.7-full/httpd-2.2.17/modules/aaa'
make[3]: Nothing to be done for `local-all'.
make[3]: Leaving directory `/root/lnmp0.7-full/httpd-2.2.17/modules/aaa'
make[2]: Leaving directory `/root/lnmp0.7-full/httpd-2.2.17/modules/aaa'
Making all in filters
make[2]: Entering directory `/root/lnmp0.7-full/httpd-2.2.17/modules/filters'
make[3]: Entering directory `/root/lnmp0.7-full/httpd-2.2.17/modules/filters'
make[3]: Nothing to be done for `local-all'.
make[3]: Leaving directory `/root/lnmp0.7-full/httpd-2.2.17/modules/filters'
make[2]: Leaving directory `/root/lnmp0.7-full/httpd-2.2.17/modules/filters'
Making all in loggers
make[2]: Entering directory `/root/lnmp0.7-full/httpd-2.2.17/modules/loggers'
make[3]: Entering directory `/root/lnmp0.7-full/httpd-2.2.17/modules/loggers'
make[3]: Nothing to be done for `local-all'.
make[3]: Leaving directory `/root/lnmp0.7-full/httpd-2.2.17/modules/loggers'
make[2]: Leaving directory `/root/lnmp0.7-full/httpd-2.2.17/modules/loggers'
Making all in metadata
make[2]: Entering directory `/root/lnmp0.7-full/httpd-2.2.17/modules/metadata'
make[3]: Entering directory `/root/lnmp0.7-full/httpd-2.2.17/modules/metadata'
make[3]: Nothing to be done for `local-all'.
make[3]: Leaving directory `/root/lnmp0.7-full/httpd-2.2.17/modules/metadata'
make[2]: Leaving directory `/root/lnmp0.7-full/httpd-2.2.17/modules/metadata'
Making all in proxy
make[2]: Entering directory `/root/lnmp0.7-full/httpd-2.2.17/modules/proxy'
make[3]: Entering directory `/root/lnmp0.7-full/httpd-2.2.17/modules/proxy'
make[3]: Nothing to be done for `local-all'.
make[3]: Leaving directory `/root/lnmp0.7-full/httpd-2.2.17/modules/proxy'
make[2]: Leaving directory `/root/lnmp0.7-full/httpd-2.2.17/modules/proxy'
Making all in ssl
make[2]: Entering directory `/root/lnmp0.7-full/httpd-2.2.17/modules/ssl'
make[3]: Entering directory `/root/lnmp0.7-full/httpd-2.2.17/modules/ssl'
make[3]: Nothing to be done for `local-all'.
make[3]: Leaving directory `/root/lnmp0.7-full/httpd-2.2.17/modules/ssl'
make[2]: Leaving directory `/root/lnmp0.7-full/httpd-2.2.17/modules/ssl'
Making all in http
make[2]: Entering directory `/root/lnmp0.7-full/httpd-2.2.17/modules/http'
make[3]: Entering directory `/root/lnmp0.7-full/httpd-2.2.17/modules/http'
make[3]: Nothing to be done for `local-all'.
make[3]: Leaving directory `/root/lnmp0.7-full/httpd-2.2.17/modules/http'
make[2]: Leaving directory `/root/lnmp0.7-full/httpd-2.2.17/modules/http'
Making all in generators
make[2]: Entering directory `/root/lnmp0.7-full/httpd-2.2.17/modules/generators'
make[3]: Entering directory `/root/lnmp0.7-full/httpd-2.2.17/modules/generators'
make[3]: Nothing to be done for `local-all'.
make[3]: Leaving directory `/root/lnmp0.7-full/httpd-2.2.17/modules/generators'
make[2]: Leaving directory `/root/lnmp0.7-full/httpd-2.2.17/modules/generators'
Making all in mappers
make[2]: Entering directory `/root/lnmp0.7-full/httpd-2.2.17/modules/mappers'
make[3]: Entering directory `/root/lnmp0.7-full/httpd-2.2.17/modules/mappers'
make[3]: Nothing to be done for `local-all'.
make[3]: Leaving directory `/root/lnmp0.7-full/httpd-2.2.17/modules/mappers'
make[2]: Leaving directory `/root/lnmp0.7-full/httpd-2.2.17/modules/mappers'
make[1]: Leaving directory `/root/lnmp0.7-full/httpd-2.2.17/modules'
Making all in support
make[1]: Entering directory `/root/lnmp0.7-full/httpd-2.2.17/support'
make[2]: Entering directory `/root/lnmp0.7-full/httpd-2.2.17/support'
/root/lnmp0.7-full/httpd-2.2.17/srclib/apr/libtool --silent --mode=link gcc -g -O2 -pthread     -L/usr/lib -L/usr/kerberos/lib   -o htpasswd  htpasswd.lo   -lm /root/lnmp0.7-full/httpd-2.2.17/srclib/pcre/libpcre.la /root/lnmp0.7-full/httpd-2.2.17/srclib/apr-util/libaprutil-1.la -lexpat -liconv /root/lnmp0.7-full/httpd-2.2.17/srclib/apr/libapr-1.la -luuid -lrt -lcrypt -lpthread -ldl
/usr/bin/ld: skipping incompatible /usr/lib/libm.so when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib/libm.a when searching for -lm
/usr/lib/libexpat.so: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make[2]: *** [htpasswd] Error 1
make[2]: Leaving directory `/root/lnmp0.7-full/httpd-2.2.17/support'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/lnmp0.7-full/httpd-2.2.17/support'
make: *** [all-recursive] Error 1
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2011-7-20 11:27:59 | 显示全部楼层


安装的LNMP没问题!~到执行apache.sh就编译不成功了!
系统是CENTOS
之前有安装过mapn一次,觉得不好,卸载了,换军哥的lnmpa
lnmp 可以安装成功使用,转为lnmpa 的apache  始终不行!

[ 本帖最后由 sby2000 于 2011-7-20 11:30 编辑 ]
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2011-7-20 12:16:31 | 显示全部楼层

可能是64为的系统,编译安装参数里加上--enable-lib64 --libdir=/usr/lib64
再试试
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2011-7-20 12:44:34 | 显示全部楼层



加了 还是这么提示

/root/lnmp0.7-full/httpd-2.2.17/srclib/apr/libtool --silent --mode=link gcc -g -O2 -pthread     -L/usr/lib -L/usr/kerberos/lib   -o htpasswd  htpasswd.lo   -lm /root/lnmp0.7-full/httpd-2.2.17/srclib/pcre/libpcre.la /root/lnmp0.7-full/httpd-2.2.17/srclib/apr-util/libaprutil-1.la -lexpat -liconv /root/lnmp0.7-full/httpd-2.2.17/srclib/apr/libapr-1.la -luuid -lrt -lcrypt -lpthread -ldl
/usr/bin/ld: skipping incompatible /usr/lib/libm.so when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib/libm.a when searching for -lm
/usr/lib/libexpat.so: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make[2]: *** [htpasswd] Error 1
make[2]: Leaving directory `/root/lnmp0.7-full/httpd-2.2.17/support'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/lnmp0.7-full/httpd-2.2.17/support'
make: *** [all-recursive] Error 1

[ 本帖最后由 sby2000 于 2011-7-20 12:47 编辑 ]
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2011-7-20 12:59:39 | 显示全部楼层

完善包的话 应该可以改进一下 判断64位的 mapn我看了下 有判断!

军哥运维代购:http://shop63846532.taobao.com/

您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-12-27 15:28 , Processed in 0.026508 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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