免费注册 查看新帖 |

Chinaunix

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

php5安装 求助! [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-04-02 10:54 |只看该作者 |倒序浏览
今天我使用一台solaris9的主机,安装apache2.2.6+php5.2.5+mysql5.0.51,在安装php时,我按如下操作
./configure --prefix=/usr/local/php --with-apxs2=/usr/local/apache2/bin/apxs \
--with-mysql=/usr/local/mysql --with-config-file-path=/usr/local/php/etc \
--with-openssl=/usr/local/ssl --with-gd=/usr/local --with-gdbm=/usr/lib  \
--with-freetype-dir=/usr/local/freetype --with-jpeg-dir=/usr/local/jpeg \
--with-png-dir --with-zlib=/usr/local/zlib --enable-mbstring --enable-sockets

但是却报:
checking dynamic linker characteristics... no
checking how to hardcode library paths into programs... unsupported
checking whether stripping libraries is possible... no
checking if libtool supports shared libraries... no
checking whether to build shared libraries... no
checking whether to build static libraries... yes

creating libtool
appending configuration tag "CXX" to libtool

Generating files
creating ./config.status
creating php5.spec
creating main/build-defs.h
creating scripts/phpize
creating scripts/man1/phpize.1
creating scripts/php-config
creating scripts/man1/php-config.1
creating sapi/cli/php.1
creating main/php_config.h
main/php_config.h is unchanged
creating main/internal_functions.c
creating main/internal_functions_cli.c
+--------------------------------------------------------------------+
| License:                                                           |
| This software is subject to the PHP License, available in this     |
| distribution in the file LICENSE.  By continuing this installation |
| process, you are bound by the terms of this license agreement.     |
| If you do not agree with the terms of this license, you must abort |
| the installation process at this point.                            |
+--------------------------------------------------------------------+

Thank you for using PHP.

# --with-freetype-dir: 命令没有找到

我的freetype已经确认安装过了,安装在/usr/local/freetype内,libfreetype.so所在目录如下
#   find / -name libfreetype.so
/usr/sfw/lib/libfreetype.so
/usr/sfw/lib/sparcv9/libfreetype.so
/usr/local/freetype/lib/libfreetype.so
/export/lq/freetype-2.3.1/objs/.libs/libfreetype.so

我查过php的configure的帮助文件,内有描述:
--with-freetype-dir[=DIR] GD: Set the path to FreeType 2 install prefix

不知道为什么一直提示找不到--with-freetype-dir这个命令,请各位帮忙,谢谢!

[ 本帖最后由 hotren 于 2008-4-2 11:18 编辑 ]

论坛徽章:
0
2 [报告]
发表于 2008-04-11 17:47 |只看该作者

回复 #1 hotren 的帖子

顶,哪们高手回答一下吧,仍困扰中。。。

论坛徽章:
0
3 [报告]
发表于 2008-04-11 17:54 |只看该作者

回复 #2 hotren 的帖子

有几个库没有装好或者是找不到。

论坛徽章:
0
4 [报告]
发表于 2008-04-12 19:16 |只看该作者
要先装FreeType 2
如果装了 就要指定路径
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP