VPS侦探论坛

 找回密码
 注册
查看: 5086|回复: 2

lnmp php 编译失败

[复制链接]
发表于 2014-5-16 15:25:20 | 显示全部楼层 |阅读模式

checking for GD support... yes
checking for the location of libjpeg... yes
checking for the location of libpng... yes
checking for the location of libXpm... no
checking for FreeType 2... yes
checking for T1lib support... no
checking whether to enable truetype string function in GD... yes
checking whether to enable JIS-mapped Japanese font support in GD... no
checking for fabsf... yes
checking for floorf... yes
checking for jpeg_read_header in -ljpeg... yes
checking for png_write_image in -lpng... yes
If configure fails try --with-xpm-dir=<DIR>
configure: error: freetype.h not found.
make: *** No targets specified and no makefile found.  Stop.
make: *** No rule to make target `install'.  Stop.
Copy new php configure file.
Modify php.ini......
Install ZendGuardLoader for PHP 5.3
--2014-05-16 13:55:38--  http://downloads.zend.com/guard/5.5.0/ZendGuardLoader-php-5.3-linux-glibc23-x86_64.tar.gz
Resolving downloads.zend.com (downloads.zend.com)... 14.0.44.82, 14.0.43.21
Connecting to downloads.zend.com (downloads.zend.com)|14.0.44.82|:80... connected.
HTTP request sent, awaiting response... 416 Requested range not satisfiable


    The file is already fully retrieved; nothing to do.


ZendGuardLoader-php-5.3-linux-glibc23-x86_64/
ZendGuardLoader-php-5.3-linux-glibc23-x86_64/php-5.3.x/
ZendGuardLoader-php-5.3-linux-glibc23-x86_64/php-5.3.x/ZendGuardLoader.so
ZendGuardLoader-php-5.3-linux-glibc23-x86_64/README.txt
Write ZendGuardLoader to php.ini......
Creating new php-fpm configure file......
Copy php-fpm init.d file......
cp: cannot stat ‘/root/lnmp1.0-full/php-5.3.17/sapi/fpm/init.d.php-fpm’: No such file or directory
chmod: cannot access ‘/etc/init.d/php-fpm’: No such file or directory
============================PHP 5.3.17 install completed======================

[ 本帖最后由 cooc123 于 2014-5-16 17:52 编辑 ]
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2014-5-16 15:47:12 | 显示全部楼层


root@mclog:~# apt-get install libfreetype6-dev
Reading package lists... Done
Building dependency tree      
Reading state information... Done
libfreetype6-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 42 not upgraded.
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2014-5-16 21:44:09 | 显示全部楼层

ldconfig后或重启后试试

也可以自己编一个freetype指定上目录试试看
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-11-15 08:57 , Processed in 0.025808 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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