Доброго времени суток.
Пытаюсь установить fileinfo.
Во FreeBSD все просто. Но стала необходимость установить это дело на CentOS.[root@server etc]# pecl install fileinfo
WARNING: channel "pear.php.net" has updated its protocols, use "channel-update pear.php.net" to update
downloading Fileinfo-1.0.4.tgz ...
Starting to download Fileinfo-1.0.4.tgz (5,835 bytes)
.....done: 5,835 bytes
3 source files, building
running: phpize
Configuring for:
PHP Api Version: 20041225
Zend Module Api No: 20060613
Zend Extension Api No: 220060519
/usr/local/bin/phpize: /tmp/pear/cache/Fileinfo-1.0.4/build/shtool: /bin/sh: bad interpreter: Permission denied
Cannot find autoconf. Please check your autoconf installation and the $PHP_AUTOCONF
environment variable is set correctly and then rerun this script.ERROR: `phpize' failed
Переменную окружения выставил:
[root@server etc]# echo $PHP_AUTOCONF
/usr/local/bin/autoconf
[root@server etc]# echo $PHP_AUTOHEADER
/usr/local/bin/autoheaderПерерыл весь инет, предлагаемые решения не помогают :( Хэлп.
Нехрен ставить из исходников.# yum install php-pecl-Fileinfo
>Нехрен ставить из исходников.
>
># yum install php-pecl-Fileinfo[root@fidep ~]# yum install php-pecl-Fileinfo
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
rpmforge 100% |=========================| 1.1 kB 00:00
base 100% |=========================| 1.1 kB 00:00
updates 100% |=========================| 951 B 00:00
addons 100% |=========================| 951 B 00:00
extras 100% |=========================| 1.1 kB 00:00
Reading repository metadata in from local files
Excluding Packages in global exclude list
Finished
Parsing package install arguments
Nothing to do:(
>[оверквотинг удален]
>extras
> 100% |=========================| 1.1
>kB 00:00
>Reading repository metadata in from local files
>Excluding Packages in global exclude list
>Finished
>Parsing package install arguments
>Nothing to do
>
>:(Какая версия CentOS? Этот пакет есть только в 5ке.
Как вариант пересобрать http://mirror.centos.org/centos/5/extras/SRPMS/php-pecl-File...