Can't get to install 'intl' extension for php on debian

Viewed 47537

I have a Debian server and I want to install the intl extension through pecl.

During the installation it asks me:

"Specify where ICU libraries and headers can be found [DEFAULT] :"

Here I've been trying several options, including leaving it empty to use DEFAULT, but I get the following error:

configure: error: C++ preprocessor "/lib/cpp" fails sanity check See 'config.log' for more details. ERROR: '/tmp/pear/temp/intl/configure --with-icu-dir=DEFAULT' failed

I've installed php5.3 with: make && make install. I have already installed icu, but unlike php5.3, it was installed with apt-get (i don't know if this is important).

Any idea?

5 Answers
Related