Skip to main content

Problem installing php-intl

Comments

6 comments

  • cPanelMichael
    Hello :) The following output you provided is the key here: [QUOTE]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.
    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: yum install libicu yum install libicu-devel
    Thank you.
    0
  • MontereyDean
    Thank you! That did it.
    0
  • grayloon
    [quote="cPanelMichael, post: 1536622">yum install libicu yum install libicu-devel
    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: [QUOTE]In file included from /root/tmp/pear/intl/dateformat/dateformat_format_object.cpp:17: /root/tmp/pear/intl/dateformat/../intl_cppshims.h:34:7: warning: no newline at end of file /root/tmp/pear/intl/dateformat/dateformat_format_object.cpp:42: error: 'kFullRelative' is not a member of 'icu_3_6::DateFormat' /root/tmp/pear/intl/dateformat/dateformat_format_object.cpp:43: error: 'kLongRelative' is not a member of 'icu_3_6::DateFormat' /root/tmp/pear/intl/dateformat/dateformat_format_object.cpp:44: error: 'kMediumRelative' is not a member of 'icu_3_6::DateFormat' /root/tmp/pear/intl/dateformat/dateformat_format_object.cpp:45: error: 'kShortRelative' is not a member of 'icu_3_6::DateFormat' /root/tmp/pear/intl/dateformat/dateformat_format_object.cpp: In function 'void zif_datefmt_format_object(int, zval*, zval**, zval*, int)': /root/tmp/pear/intl/dateformat/dateformat_format_object.cpp:136: error: 'kRelative' is not a member of 'icu_3_6::DateFormat' make: *** [dateformat/dateformat_format_object.lo] Error 1 ERROR: `make' 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/54/etc/php.ini... No changes
    Suggestions?
    0
  • cPanelMichael
    Have you tried installing this PECL module from the command line? EX: pecl install intl
    Also, did you verify both required packages were successfully installed through YUM? Thank you.
    0
  • grayloon
    Just tried the command line install, and I get the same error.
    0
  • cPanelMichael
    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.
    0

Please sign in to leave a comment.