Welcome to WebmasterWorld Guest from

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

PHP installation from source problem

PHP compiling,

6:38 pm on May 29, 2011 (gmt 0)

New User

5+ Year Member

joined:Jan 31, 2008
posts: 20
votes: 0

Hello, I'm looking for help with the installation of PHP, I have taken all the steps necessary to compile it from source, I guess, I want it to have IMAP support and libxml for simple xml. Any way, when I configure it I get the following error, of which I have no idea where to look for. I'm installing in an Ubuntu 11 machine. The error is :

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

What does this mean? Previously in the compilation it checked for SSL support ok, so maybe this has to do with the IMAP configuration, but I really have no idea. The configuration to install PHP from source was:

--with-apxs2=/usr/local/apache2/bin/apxs --with-mysql\
--prefix=/usr/local/apache2/php --enable-force-cgi-redirect\
--disable-cgi --with-zlib --with-imap=/usr/local/imap-2007a\
--with-imap-ssl=/usr/local/openssl --with-libxml-dir=/usr/local/libxml2

I don't know if this is the right forum to post this, if it's not, could anyone give me some guidance? I'm new to ubuntu but I decided to compile it from source so I don't have to add many functions later.
6:01 pm on May 31, 2011 (gmt 0)

Junior Member

5+ Year Member

joined:Sept 11, 2010
posts: 131
votes: 0

From reading the bug notes on PHP.net its seems to be a known bug.

[bugs.php.net ]

On users suggested:

[2009-01-22 02:15 UTC] sean at choonz dot com

So the way I fixed this on 5.2.8 was simply to run
> sudo yum install libc-client-devel
and configure again
and then it worked. hope this helps someone!

I hope this helps :-)