免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2708 | 回复: 3
打印 上一主题 下一主题

solaris 10 编译安装PHP5时提示找不到freetype.h [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2011-03-27 02:09 |只看该作者 |倒序浏览
在solaris 10 编译安装PHP5时提示找不到freetype.h,我的FREETYPE 是通过pkgutil 安装的.我的编译命令是
./configure --prefix=/usr/local/php5 --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=/usr/local/mysql5 --with-mysqli=/usr/local/mysql5/bin/mysql_config --with-libxml-dir=/opt/csw/bin --with-config-file-path=/etc/apache2 --with-gd=/opt/csw/bin --with-png-dir=/opt/csw/bin --with-freetype-dir=/opt/csw/bin --with-jpeg-dir=/opt/csw/bin --with-xpm-dir=/opt/csw/bin --with-zlib-dir=/opt/csw/bin --enable-gd-native-ttf --enable-gd-jis-conv --with-t1lib=/opt/csw/bin --enable-mbstring

错误提示为
checking whether to enable DBA interface... no
checking whether to enable DOM support... yes
checking for xml2-config path... (cached) /usr/bin/xml2-config
checking whether libxml build works... (cached) yes
checking for ENCHANT support... no
checking whether to enable EXIF (metadata from images) support... no
checking for fileinfo support... yes
checking for utimes... (cached) yes
checking for strndup... (cached) no
checking whether to enable input filter support... yes
checking pcre install prefix... no
checking whether to enable FTP support... no
checking OpenSSL dir for FTP... no
checking for GD support... yes
checking for the location of libjpeg... /opt/csw/bin
checking for the location of libpng... /opt/csw/bin
checking for the location of libXpm... /opt/csw/bin
checking for FreeType 2... /opt/csw/bin
checking for T1lib support... /opt/csw/bin
checking whether to enable truetype string function in GD... yes
checking whether to enable JIS-mapped Japanese font support in GD... yes
checking for jpeg_read_header in -ljpeg... yes
checking for png_write_image in -lpng... yes
checking for XpmFreeXpmImage in -lXpm... yes
configure: error: freetype.h not found.
我的freetype.h在

/opt/csw/include/freetype1/freetype/freetype.h
/opt/csw/include/freetype2/freetype/freetype.h
但是为什么是在编译的时候出现找不到呢。麻烦朋友帮我看一下到底问题出在那里。先谢谢大家了。

论坛徽章:
0
2 [报告]
发表于 2011-03-27 10:38 |只看该作者
顶一下

论坛徽章:
10
处女座
日期:2015-01-22 16:08:50技术图书徽章
日期:2018-09-13 11:25:52技术图书徽章
日期:2018-09-13 11:25:45技术图书徽章
日期:2018-09-13 11:25:37技术图书徽章
日期:2018-09-13 11:25:29黑曼巴
日期:2018-06-04 09:03:192017金鸡报晓
日期:2017-01-10 15:19:56极客徽章
日期:2016-12-07 14:03:402015年迎新春徽章
日期:2015-03-04 09:50:28技术图书徽章
日期:2018-09-13 11:26:01
3 [报告]
发表于 2011-03-27 13:07 |只看该作者
帮楼主顶

论坛徽章:
7
荣誉会员
日期:2011-11-23 16:44:17水瓶座
日期:2013-08-28 21:20:16丑牛
日期:2013-10-02 21:01:462015年迎新春徽章
日期:2015-03-04 09:54:45操作系统版块每日发帖之星
日期:2016-06-05 06:20:0015-16赛季CBA联赛之吉林
日期:2016-06-20 08:24:0515-16赛季CBA联赛之四川
日期:2016-08-18 15:02:02
4 [报告]
发表于 2011-03-28 07:25 |只看该作者
have not installed freetype package
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP