LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 977|回复: 1

安装php5错误!!!

[复制链接]
发表于 2005-1-17 21:54:45 | 显示全部楼层 |阅读模式
cd /usr/ports/lang/php5-extensions
选择自己需要的模块后
可是我运行了根本没有出来提示框!!!

baobao# make install clean
===> Vulnerability check disabled, database not found
===> Found saved configuration for php5-extensions-1.0
===> Extracting for php5-extensions-1.0
===> Patching for php5-extensions-1.0
===> Configuring for php5-extensions-1.0
===> Installing for php5-extensions-1.0
===> php5-extensions-1.0 depends on file: /usr/local/include/php/main/php.h -found
===> php5-extensions-1.0 depends on file: /usr/local/lib/php/20040412-debug/bcmath.so - found
===> php5-extensions-1.0 depends on file: /usr/local/lib/php/20040412-debug/bz2.so - found
===> php5-extensions-1.0 depends on file: /usr/local/lib/php/20040412-debug/calendar.so - found
===> php5-extensions-1.0 depends on file: /usr/local/lib/php/20040412-debug/ctype.so - found
===> php5-extensions-1.0 depends on file: /usr/local/lib/php/20040412-debug/curl.so - found
===> php5-extensions-1.0 depends on file: /usr/local/lib/php/20040412-debug/dba.so - found
===> php5-extensions-1.0 depends on file: /usr/local/lib/php/20040412-debug/dbase.so - found
===> php5-extensions-1.0 depends on file: /usr/local/lib/php/20040412-debug/dbx.so - found
===> php5-extensions-1.0 depends on file: /usr/local/lib/php/20040412-debug/dio.so - found
===> php5-extensions-1.0 depends on file: /usr/local/lib/php/20040412-debug/dom.so - found
===> php5-extensions-1.0 depends on file: /usr/local/lib/php/20040412-debug/exif.so - found
===> php5-extensions-1.0 depends on file: /usr/local/lib/php/20040412-debug/fileinfo.so - not found
===> Verifying install for /usr/local/lib/php/20040412-debug/fileinfo.so in /usr/ports/sysutils/pecl-fileinfo
===> Vulnerability check disabled, database not found
===> Extracting for pecl-fileinfo-0.2
>> Checksum OK for PECL/Fileinfo-0.2.tgz.
===> Patching for pecl-fileinfo-0.2
===> Applying FreeBSD patches for pecl-fileinfo-0.2
===> pecl-fileinfo-0.2 depends on executable: phpize - found
===> pecl-fileinfo-0.2 depends on file: /usr/local/bin/automake15 - found
===> pecl-fileinfo-0.2 depends on file: /usr/local/bin/autoconf253 - found
===> pecl-fileinfo-0.2 depends on file: /usr/local/bin/libtool13 - found
===> pecl-fileinfo-0.2 depends on shared library: magic.1 - found
===> PHPizing for pecl-fileinfo-0.2
Configuring for:
PHP Api Version: 20031224
Zend Module Api No: 20040412
Zend Extension Api No: 220040412
autoheader253: `config.h.in' is created
===> Configuring for pecl-fileinfo-0.2
configure: WARNING: you should use --build, --host, --target
checking build system type... i386-portbld-freebsd5.3
checking host system type... i386-portbld-freebsd5.3
checking for i386-portbld-freebsd5.3-gcc... cc
checking for C compiler default output... 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 whether cc understands -c and -o together... yes
checking if compiler supports -R... yes
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/Zend -I/usr/local/include/php/TSRM
checking for PHP extension directory... /usr/local/lib/php/20040412-debug
checking for re2c... exit 0;
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking for fileinfo support... yes, shared
checking for magic files in default path... not found
configure: error: Please reinstall the libmagic distribution
===> Script "configure" failed unexpectedly.
Please report the problem to ale@FreeBSD.org [maintainer] and attach the
"/usr/ports/sysutils/pecl-fileinfo/work/Fileinfo-0.2/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/sysutils/pecl-fileinfo.
*** Error code 1

Stop in /usr/ports/lang/php5-extensions.
发表于 2005-1-19 08:58:50 | 显示全部楼层
Post by SirSea

checking for magic files in default path... not found
configure: error: Please reinstall the libmagic distribution
===> Script "configure" failed unexpectedly.
Please report the problem to ale@FreeBSD.org [maintainer] and attach the
"/usr/ports/sysutils/pecl-fileinfo/work/Fileinfo-0.2/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/sysutils/pecl-fileinfo.
*** Error code 1

Stop in /usr/ports/lang/php5-extensions.


可以看的出来你的错误在哪里?
重新安装过libmagic以后,如果还不行,升级PORTS然后安装应该可以解决问题.
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表