-
Notifications
You must be signed in to change notification settings - Fork 2k
Closed
Description
Hi Guys,
I have been trying to enable the intl extension and I have been running into troubles as it keeps failing.
I get:
checking for icu-config... no
checking for location of ICU headers and libraries... not found
configure: error: Unable to detect ICU prefix or no failed. Please verify ICU install prefix and make sure icu-config works.
I fixed this by running:
apt-get install libicu-dev
Rerunning the docker-php-ext-install intl then fails again with the following:
Checking whether g++ accepts -g... no
checking how to run the C++ preprocessor... /lib/cpp
configure: error: in `/usr/src/php/ext/intl':
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details
Is this a bug? The container doesn't appear to have the C++ compiler installed.
To fix i used:
apt-get install g++
Now the extension installs as expected.
I am using php:5.6-apache for reference.
Hope this helps.
Thanks,
Rob
pykam, qida, ailushyk, tdmalone, FreezeDU and 22 more
Metadata
Metadata
Assignees
Labels
No labels