免费注册 查看新帖 |

Chinaunix

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

奇怪的问题php5-mysql问题。 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-09-14 10:29 |只看该作者 |倒序浏览
以下为操作步骤,并贴上error

# make install clean
===>  Vulnerability check disabled, database not found
===>  Extracting for php5-mysql-5.1.5
=> MD5 Checksum OK for php-5.1.5.tar.bz2.
=> SHA256 Checksum OK for php-5.1.5.tar.bz2.
===>  Patching for php5-mysql-5.1.5
===>   php5-mysql-5.1.5 depends on executable in : phpize - found
===>   php5-mysql-5.1.5 depends on file: /usr/local/bin/autoconf259 - found
===>   php5-mysql-5.1.5 depends on shared library: mysqlclient.15 - found
===>  PHPizing for php5-mysql-5.1.5
Configuring for:
PHP Api Version:         20041225
Zend Module Api No:      20050922
Zend Extension Api No:   220051025
===>  Configuring for php5-mysql-5.1.5
configure: WARNING: you should use --build, --host, --target
checking for egrep... grep -E
checking for a sed that does not truncate output... /usr/bin/sed
checking for i386-portbld-freebsd6.1-gcc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ANSI C... none needed
checking whether cc understands -c and -o together... yes
checking if compiler supports -R... yes
checking build system type... i386-portbld-freebsd6.1
checking host system type... i386-portbld-freebsd6.1
checking target system type... i386-portbld-freebsd6.1
checking for PHP prefix... /usr/local
checking for PHP includes... -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext
checking for PHP extension directory... /usr/local/lib/php/20050922
checking for PHP installed headers prefix... /usr/local/include/php
checking for re2c... no
configure: WARNING: You will need re2c 0.9.11 or later if you want to regenerate PHP parsers.
checking for gawk... no
checking for nawk... nawk
checking if nawk is broken... no
checking for MySQL support... yes, shared
checking for specified location of the MySQL UNIX socket... no
checking for the location of libz... /usr
checking for MySQL UNIX socket location... no
configure: error: Cannot find MySQL header files under /usr/local.
Note that the MySQL client library is not bundled anymore!
===>  Script "configure" failed unexpectedly.
Please report the problem to ale@FreeBSD.org [maintainer] and attach the
"/usr/ports/databases/php5-mysql/work/php-5.1.5/ext/mysql/config.log" including
the output of the failure of your make command. Also, it might be a good idea
to provide an overview of all packages installed on your system (e.g. an `ls
/var/db/pkg`).
*** Error code 1

Stop in /usr/ports/databases/php5-mysql.

[ 本帖最后由 maybe168 于 2006-9-14 12:35 编辑 ]

论坛徽章:
0
2 [报告]
发表于 2006-09-14 10:40 |只看该作者


[ 本帖最后由 maybe168 于 2006-9-14 12:35 编辑 ]
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP