Installing Intl on MAMP PHP 7.2.1 on MacOS high Sierra

0

I'm trying to install intl on a MAMP installation on MacOS high Sierra , using pecl , I'm trying directly from the bin inside the MAMP with the following command:

└─>> sudo /Applications/MAMP/bin/php/php7.2.1/bin/pecl install intl

When you request the ICU I point the following directory

Specify where ICU libraries and headers can be found [DEFAULT] : /usr/local/Cellar/icu4c/61.1/

But I get the following error:

In file included from /private/tmp/pear/temp/intl/php_intl.c:25:
In file included from /private/tmp/pear/temp/intl/php_intl.h:34:
/private/tmp/pear/temp/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

Does anyone have any idea how to solve it? I've been researching a lot but so far unsuccessful: (

    
asked by anonymous 05.04.2018 / 06:32

0 answers