VPS侦探论坛

 找回密码
 注册
查看: 7961|回复: 5

ubuntu 12.04 安装lnmp0.9, php无法编译安装

[复制链接]
发表于 2012-4-28 16:39:26 | 显示全部楼层 |阅读模式

日志:/usr/include/i386-linux-gnu/bits/string3.h:82: warning: memset used with constant zero length parameter; this could be due to transposed parameters
sapi/cgi/cgi_main.o: In function `zm_info_cgi':
/home/backup/lnmp0.9/php-5.2.17/sapi/cgi/cgi_main.c:1344: undefined reference to `fpm'
sapi/cgi/cgi_main.o: In function `main':
/home/backup/lnmp0.9/php-5.2.17/sapi/cgi/cgi_main.c:1552: undefined reference to `fpm'
/home/backup/lnmp0.9/php-5.2.17/sapi/cgi/cgi_main.c:1620: undefined reference to `fpm'
/home/backup/lnmp0.9/php-5.2.17/sapi/cgi/cgi_main.c:1647: undefined reference to `fpm'
/home/backup/lnmp0.9/php-5.2.17/sapi/cgi/cgi_main.c:1667: undefined reference to `fpm'
/home/backup/lnmp0.9/php-5.2.17/sapi/cgi/cgi_main.c:1621: undefined reference to `fpm_init'
/home/backup/lnmp0.9/php-5.2.17/sapi/cgi/cgi_main.c:1625: undefined reference to `fpm_run'
/home/backup/lnmp0.9/php-5.2.17/sapi/cgi/cgi_main.c:1828: undefined reference to `fpm'
/home/backup/lnmp0.9/php-5.2.17/sapi/cgi/cgi_main.c:2115: undefined reference to `fpm'
/home/backup/lnmp0.9/php-5.2.17/sapi/cgi/cgi_main.c:1828: undefined reference to `fpm_request_info'
/home/backup/lnmp0.9/php-5.2.17/sapi/cgi/cgi_main.c:2115: undefined reference to `fpm_request_executing'
ext/openssl/xp_ssl.o: In function `php_openssl_setup_crypto':
/home/backup/lnmp0.9/php-5.2.17/ext/openssl/xp_ssl.c:357: undefined reference to `SSLv2_server_method'
/home/backup/lnmp0.9/php-5.2.17/ext/openssl/xp_ssl.c:337: undefined reference to `SSLv2_client_method'
sapi/cgi/fastcgi.o: In function `fcgi_close':
/home/backup/lnmp0.9/php-5.2.17/sapi/cgi/fastcgi.c:933: undefined reference to `fpm'
/home/backup/lnmp0.9/php-5.2.17/sapi/cgi/fastcgi.c:933: undefined reference to `fpm_request_finished'
sapi/cgi/fastcgi.o: In function `fcgi_accept_request':
/home/backup/lnmp0.9/php-5.2.17/sapi/cgi/fastcgi.c:983: undefined reference to `fpm'
/home/backup/lnmp0.9/php-5.2.17/sapi/cgi/fastcgi.c:1023: undefined reference to `fpm'
/home/backup/lnmp0.9/php-5.2.17/sapi/cgi/fastcgi.c:983: undefined reference to `fpm_request_accepting'
/home/backup/lnmp0.9/php-5.2.17/sapi/cgi/fastcgi.c:1023: undefined reference to `fpm_request_reading_headers'
collect2: ld returned 1 exit status
make: *** [sapi/cgi/php-cgi] Error 1


到这里Php编译就停止了。
Linode Ubuntu 12.04请教一下有什么解决办法吗?
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2012-4-28 17:56:10 | 显示全部楼层


没遇到过这种错误,建议换个系统试试
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2012-4-29 11:13:14 | 显示全部楼层

装了好几次,都是这个报错,不过还是谢谢军哥了,希望在下一个版本增加对ubuntu12.04的支持。
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2012-4-30 10:02:07 | 显示全部楼层



就是到这一个错误为止吗?UBUNTU里面自己试着全部都编译一下?
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2012-4-30 11:26:28 | 显示全部楼层

就只有Php编译出错,其他部分都正常的,Ubuntu.sh运行完之后,php没有编译成功。

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

发表于 2013-1-31 02:19:06 | 显示全部楼层

毁了,我正在安装,,,显着没事儿,就来搜索一下,看到了几个失败的,心里有点怕了。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-9-24 07:21 , Processed in 0.026813 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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