The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Problem installing php-intl

Discussion in 'General Discussion' started by MontereyDean, Dec 23, 2013.

  1. MontereyDean

    MontereyDean Registered

    Joined:
    Dec 23, 2013
    Messages:
    2
    Likes Received:
    1
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    CENTOS 6.5 x86_64
    WHM 11.40.1 (build 7)
    PHP 5.3.24

    In WHM, using the PHP Pecl installer, I get:

    Code:
    downloading intl-3.0.0.tgz ...
    Starting to download intl-3.0.0.tgz (248,200 bytes)
    .................................................done: 248,200 bytes
    150 source files, building
    running: phpize
    Configuring for:
    PHP Api Version:         20090626
    Zend Module Api No:      20090626
    Zend Extension Api No:   220090626
    Specify where ICU libraries and headers can be found [DEFAULT] : building in /root/tmp/pear/pear-build-rooteUR9fK/intl-3.0.0
    running: /root/tmp/pear/intl/configure --with-icu-dir=DEFAULT
    checking for grep that handles long lines and -e... /bin/grep
    checking for egrep... /bin/grep -E
    checking for a sed that does not truncate output... /bin/sed
    checking for cc... cc
    checking for C compiler default output file name... a.out
    checking whether the C compiler works... yes
    checking whether we are cross compiling... no
    checking for suffix of executables...
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether cc accepts -g... yes
    checking for cc option to accept ISO C89... none needed
    checking how to run the C preprocessor... cc -E
    checking for icc... no
    checking for suncc... no
    checking whether cc understands -c and -o together... yes
    checking for system library directory... lib
    checking if compiler supports -R... no
    checking if compiler supports -Wl,-rpath,... yes
    checking build system type... x86_64-unknown-linux-gnu
    checking host system type... x86_64-unknown-linux-gnu
    checking target system type... x86_64-unknown-linux-gnu
    checking for PHP prefix... /usr/local
    checking for PHP includes... -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib
    checking for PHP extension directory... /usr/local/lib/php/extensions/no-debug-non-zts-20090626
    checking for PHP installed headers prefix... /usr/local/include/php
    checking if debug is enabled... no
    checking if zts is enabled... no
    checking for re2c... no
    configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
    checking for gawk... gawk
    checking whether to enable internationalization support... yes, shared
    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.
    ERROR: `/root/tmp/pear/intl/configure --with-icu-dir=DEFAULT' failed
    The intl.so object is not in /usr/local/lib/php/extensions/no-debug-non-zts-20090626
    Tidying /usr/local/lib/php.ini...
    No changes
    Tidying /usr/local/cpanel/3rdparty/php/53/etc/php.ini...
    No changes
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    The following output you provided is the key here:

    You will need to ensure ICU is properly installed on your system before attempting to install this PECL module again. You can ensure it's installed via:

    Code:
    yum install libicu
    yum install libicu-devel
    Thank you.
     
    sambazzi likes this.
  3. MontereyDean

    MontereyDean Registered

    Joined:
    Dec 23, 2013
    Messages:
    2
    Likes Received:
    1
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Thank you! That did it.
     
    sambazzi likes this.
  4. grayloon

    grayloon Well-Known Member

    Joined:
    Oct 31, 2007
    Messages:
    98
    Likes Received:
    2
    Trophy Points:
    8
    Location:
    Evansville, IN
    cPanel Access Level:
    Root Administrator
    Twitter:
    I had the same issue, so I installed libicu as suggested. When I try to install the intl extension again, I get a new set of errors:
    Suggestions?
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Have you tried installing this PECL module from the command line? EX:

    Code:
    pecl install intl
    Also, did you verify both required packages were successfully installed through YUM?

    Thank you.
     
  6. grayloon

    grayloon Well-Known Member

    Joined:
    Oct 31, 2007
    Messages:
    98
    Likes Received:
    2
    Trophy Points:
    8
    Location:
    Evansville, IN
    cPanel Access Level:
    Root Administrator
    Twitter:
    Just tried the command line install, and I get the same error.
     
  7. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Feel free to open a support ticket using the link in my signature so we can take a closer look. You can post the ticket number here so we can update this thread with the outcome.

    Thank you.
     
Loading...

Share This Page