lnmp php 编译失败
checking for GD support... yeschecking 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 编辑 ] 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. ldconfig后或重启后试试
也可以自己编一个freetype指定上目录试试看
页:
[1]