VPS侦探论坛

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

unbuntu 11 64位下lnmp php部分无法正常编译

[复制链接]
发表于 2012-3-24 15:46:49 | 显示全部楼层 |阅读模式

服务器系统: ubuntu 11.10  64位

手动编译php  错误信息见附件内容  ( usr/local/php 目录下只有一个etc目录 无其它内容)

看过https://bbs.vpser.net/viewthread.php?tid=2815&highlight=ubuntu%2B11 这几个帖子提到的
ln -s /usr/lib/x86_64-linux-gnu/libpng* /usr/lib/
ln -s /usr/lib/x86_64-linux-gnu/libjpeg* /usr/lib/

改后仍然无效.


帮助看下是什么原因, 谢谢了!

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

x
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2012-3-24 15:55:51 | 显示全部楼层


查下了错误  漏掉了 降autoconf版本的那步
export PHP_AUTOCONF=/usr/bin/autoconf-2.13
export PHP_AUTOHEADER=/usr/bin/autoheader-2.13

重新手动编译中....
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2012-3-24 16:59:02 | 显示全部楼层

make: *** [buildmk.stamp] Error 1
ln: creating symbolic link `/usr/lib/libpng12.a': File exists
ln: creating symbolic link `/usr/lib/libpng12.so': File exists
ln: creating symbolic link `/usr/lib/libpng12.so.0': File exists
ln: creating symbolic link `/usr/lib/libpng.a': File exists
ln: creating symbolic link `/usr/lib/libpng.so': File exists
ln: creating symbolic link `/usr/lib/libpng.so.3': File exists
ln: creating symbolic link `/usr/lib/libjpeg.a': File exists
ln: creating symbolic link `/usr/lib/libjpeg.la': File exists
ln: creating symbolic link `/usr/lib/libjpeg.so': File exists
ln: creating symbolic link `/usr/lib/libjpeg.so.62': File exists
ln: creating symbolic link `/usr/lib/libjpeg.so.62.0.0': File exists
configure: warning: flex versions supported for regeneration of the Zend/PHP parsers: 2.5.4  (found: 2.5.35)
configure: error: libjpeg.(a|so) not found.
make: *** No targets specified and no makefile found.  Stop.
make: *** No rule to make target `install'.  Stop.
strip: '/usr/local/php/bin/php-cgi': No such file

最新的错误内容如上,  还是卡在 libjpeg处?
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2012-3-24 21:15:53 | 显示全部楼层



ln 了一般应该就没问题了,重启后再试试
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2012-3-25 09:34:19 | 显示全部楼层

军哥,这个是什么问题
sapi/cgi/fpm/fpm_worker_pool.lo sapi/cgi/fpm/fpm_unix.lo sapi/cgi/fpm/fpm_cleanup.lo sapi/cgi/fpm/fpm_sockets.lo sapi/cgi/fpm/fpm_stdio.lo sapi/cgi/fpm/fpm_env.lo sapi/cgi/fpm/fpm_events.lo sapi/cgi/fpm/fpm_php.lo sapi/cgi/fpm/fpm_php_trace.lo sapi/cgi/fpm/fpm_process_ctl.lo sapi/cgi/fpm/fpm_request.lo sapi/cgi/fpm/fpm_clock.lo sapi/cgi/fpm/fpm_shm.lo sapi/cgi/fpm/fpm_shm_slots.lo sapi/cgi/fpm/xml_config.lo sapi/cgi/fpm/zlog.lo sapi/cgi/fpm/fpm_trace.lo sapi/cgi/fpm/fpm_trace_ptrace.lo main/internal_functions.lo -lcrypt -lz -lcrypt -lrt -lmysqlclient -lmhash -lmcrypt -lltdl -lfreetype -lpng -lz -ljpeg -lcurl -lz -lrt -lresolv -lm -ldl -lnsl -lrt -lxml2 -lssl -lcrypto -lcurl -lxml2 -lssl -lcrypto -lmysqlclient -lz -lcrypt -lnsl -lm -lxml2 -lxml2 -lcrypt -lxml2 -lxml2 -lxml2 -lxml2 -lcrypt /home/ericwang/soft/lnmp0.8-full/php-5.2.17/libevent/libevent.a -lnsl -lrt -lresolv -lxml2 -liconv -o sapi/cgi/php-cgi
ext/zip/lib/zip_dirent.o: In function `memset':
/usr/include/x86_64-linux-gnu/bits/string3.h:82: warning: memset used with constant zero length parameter; this could be due to transposed parameters
ext/openssl/xp_ssl.o: In function `php_openssl_setup_crypto':
/home/ericwang/soft/lnmp0.8-full/php-5.2.17/ext/openssl/xp_ssl.c:357: undefined reference to `SSLv2_server_method'
/home/ericwang/soft/lnmp0.8-full/php-5.2.17/ext/openssl/xp_ssl.c:337: undefined reference to `SSLv2_client_method'
collect2: ld returned 1 exit status
make: *** [sapi/cgi/php-cgi] 错误 1

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

发表于 2012-3-25 11:12:34 | 显示全部楼层
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-11-17 01:33 , Processed in 0.027905 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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