homepage Welcome to WebmasterWorld Guest from 54.197.171.109
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library, Charter, Moderators: coopster & jatar k

PHP Server Side Scripting Forum

    
PHP installation from source problem
PHP compiling,
jerry95




msg:4319356
 6:38 pm on May 29, 2011 (gmt 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:

./configure\
--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.

 

Jamier101




msg:4320092
 6:01 pm on May 31, 2011 (gmt 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 :-)

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved