Solved pecl-imagick Cannot find autoconf. Please check your autoconf

Hello.
My system FreeBSD 14.1-RELEASE-p5 amd64.
Installed on server PHP 8.2.24.
Install port pecl-imagick.
root@max:/usr/ports/graphics/pecl-imagick # make install clean
===> License PHP301 accepted by the user
===> php82-pecl-imagick-3.7.0_4 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by php82-pecl-imagick-3.7.0_4 for building
===> Extracting for php82-pecl-imagick-3.7.0_4
=> SHA256 Checksum OK for PECL/imagick-3.7.0.tgz.
===> Patching for php82-pecl-imagick-3.7.0_4
===> php82-pecl-imagick-3.7.0_4 depends on file: /usr/local/bin/phpize - found
===> php82-pecl-imagick-3.7.0_4 depends on package: autoconf>0 - found
===> php82-pecl-imagick-3.7.0_4 depends on shared library: libMagick++-7.so - found (/usr/local/lib/libMagick++-7.so)
===> PHPizing for php82-pecl-imagick-3.7.0_4
===> Configuring for php82-pecl-imagick-3.7.0_4
Configuring for:
PHP Api Version: 20220829
Zend Module Api No: 20220829
Zend Extension Api No: 420220829
Cannot find autoconf. Please check your autoconf installation and the
$PHP_AUTOCONF environment variable. Then, rerun this script.

*** Error code 1

Stop.
make: stopped in /usr/ports/graphics/pecl-imagick
# pkg version -v | grep 'autoconf'
autoconf-2.72 = up-to-date with index
make.conf
CPUTYPE?=nocona
MAKE_JOBS_NUMBER=6
NO_GAMES=true
NO_INET6=true
NO_BLUETOOTH=true
NO_SHAREDOCS=true
OPTIONS_UNSET=DOCS X11 IPV6 BLUETOOTH GAMES SMB CUPS VULKAN FFMPEG GITWEB EXAMPLES
How to fix?
 
It was installed according to dependencies.
# pkg version -v | grep 'autoconf'
autoconf-2.72 = up-to-date with index
autoconf-switch-20220527 = up-to-date with index

it helped, installed.
pkg autoremove and make clean in ports (graphics/pecl-imagick)
 
Back
Top