Trying to build php 4.4.7

Heuveltje

Verified User
Joined
Nov 7, 2006
Messages
87
Location
Leek, NL
When i do a
# ./build update and then a
# ./build php -n
i get this message:

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

This is what config.log says
Code:
configure:44337: checking for IMAP SSL support
configure:44715:19: /mail.h: No such file or directory
configure:44734: checking for utf8_mime2text signature
configure:44752: gcc -c -I  conftest.c 1>&5
gcc: no input files
configure: failed program was:
#line 44739 "configure"
#include "confdefs.h"

#include <stdio.h>
#include <c-client.h>

int main() {

        SIZEDTEXT *src, *dst;
        utf8_mime2text(src, dst);

; return 0; }
configure:44781: checking for U8T_CANONICAL
configure:44797: gcc -c -I  conftest.c 1>&5
gcc: no input files
configure: failed program was:
#line 44786 "configure"
#include "confdefs.h"

#include <c-client.h>

int main() {

         int i = U8T_CANONICAL;

; return 0; }

Running CentOS 4.something

Something went wrong i guess, how and where can i add U8T_CANONICAL ?
 
Hello,

I quick Google query shows that U8T_CANONICAL is related to the imap-2006 PHP extension.

For this extension to work, imap-2006 needs to be installed on your system. I'd double check that it's installed correctly.

Alternatively, you probably could simply remove --with-imap from the PHP configuration line.

Good luck.

Phil.
 
Last edited:
Back
Top