- 论坛徽章:
- 0
|
以下为操作步骤,并贴上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 编辑 ] |
|