Thuban <thu...@yeuxdelibad.net> writes: > Hello, > I tried to upgrade the current pecl-redis port from php-5.6 to php-7.0 > unsing the latest version (3.1.2). > I ran into this problem : > > # phpize-7.0 > Configuring for: > PHP Api Version: 20151012 > Zend Module Api No: 20151012 > Zend Extension Api No: 320151012 > cp: ax_check_compile_flag.m4: No such file or directory > m4: aclocal.m4 at line 3105: include(build/ax_check_compile_flag.m4): > No such file or > directory > autom4te-2.69: /usr/bin/m4 failed with exit status: 1 > > > Does anyone has any advice here ?
No idea if this will help. If "phpize-7.0" fails to copy ax_check_compile_flag.m4 from /usr/local/share/aclocal/, then try to install the autoconf-archive package: $ pkglocate ax_check_compile_flag.m4 autoconf-archive-2017.03.21:devel/autoconf-archive:/usr/local/share/aclocal/ax_check_compile_flag.m4 gnome-builder-3.24.1:x11/gnome/builder:/usr/local/share/gnome-builder/plugins/autotools_templates/resources/m4/ax_check_compile_flag.m4 My two cents, -- jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF DDCC 0DFA 74AE 1524 E7EE