Error Compiling PHP5.3.2.7 --with-imap=shared for

Discussion in 'Install/Configuration' started by powerbookboy, Dec 16, 2013.

  1. powerbookboy

    powerbookboy New Member

    You'll excuse me if I ask rather naive questions. I've been dumped somewhat in the deep end having to upgrade some sites from old versions of SugarCRM and Magento. I've noted down the modules that need adding to the standard build process to get SugarCRM working. My environment is as follows..

    OS: CentOS release 5.9 (Final)
    Web Server: Litespeed Web Server Enterprise v4.2.6

    Using the parameters from

    and adding zip support I've got a build configuration that looks like this.

    '--with-mysqli=mysqlnd' '--with-zlib' '--with-gd' '--enable-shmop' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-magic-quotes' '--enable-mbstring' '--with-iconv' '--with-imap=shared' '--with-litespeed' '--with-pdo-mysql=mysqlnd' '--with-mysql' '--with-curl' '--with-libdir=lib64' '--with-kerberos' '--with-imap-ssl' '--enable-zip'

    When I attempt to build this I get an error with in the build process to do with '--with-imap=shared'

    configure: error: utf8_mime2text() has new signature, but U8T_CANONICAL is missing. This should not happen. Check config.log for additional information.

    If I remove '--with-imap=shared' the build completes successfully.

    Any suggestions as to how this can be resolved?

    I'm not clear what if any "magic" running the build process through the Litespeed admin does? If I wanted to manually run the build from the command line as per "" is there anything I need to be especially careful of?

    UPDATE: Really should have looked in here for the answer shouldn't I?
    Last edited: Dec 16, 2013
  2. Michael

    Michael Well-Known Member Staff Member

    But you found it. That's better than most!


Share This Page