I was trying to install intl, a php extension required by Moodle. I used sudo pecl install intl and received the following error:
/private/tmp/pear/install/intl/intl_error.h:24:10: fatal error: 'ext/standard/php_smart_str.h' file not found
#include <ext/standard/php_smart_str.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
make: *** [php_intl.lo] Error 1
ERROR: `make' failed
When it prompted Specify where ICU libraries and headers can be found [DEFAULT] : I hit enter.
And I have installed autoconf by brew install autoconf
How to tackle this issue? Thank you!