[RESOLVED] configure: error: utf8_mime2text() has new signature, but U8T_CANONICAL is missing
I am trying to install php5.2 on Solaris 10.
While runing the ./configure
I am getting the folowing error.
checking for utf8_mime2text signature... new
checking for U8T_CANONICAL... no
configure: error: utf8_mime2text() has new signature, but U8T_CANONICAL is missing. This should not happen. Check config.log for additional information.
Please let me know, If somebody know the solution.
that's an error related to the IMAP extension. Possible solutions:
1. compile without imap support
2. recompile the imap libraries prior to compiling PHP:
The manual contains some tips in the user contributed notes.
Additionally, check out this site. There's a section about IMAP (with php 4.3.x, but it should be the same with php 5.2).
solution: this is because php won't use IMAP without SSL. for some people building IMAP with SSL doesn't work and the compile IMAP with this option SSLTYPE=none
in order to make IMAP compile u need to install openssl to this folder:
make shure u have the ssl libs accesible too in /usr/local/ssl/lib or /lib
after that IMAP should compile just fine with SSLTYPE=unix
the problem may have been solved in this case, but I would like to share another solution that may work for some servers:
Since you have a dedicated (or VPS) server running WHM/cPanel, follow these steps to solve the problem:
1. Login to your WHM (http://yourserver/whm)
2. On the left column select Software -> Install a RPM
3. Find libc-client-devel.i386 in the list. Select it and click Install
If you are not using cPanel/WHM, just run the following command in your root shell:
For RedHat based Linux distributions:
yum install libc-client-devel.i386
For Debian based Linux distributions:
apt-get install libc-client-devel.i386
Now run again configure for your PHP installation. It should configure with no problems.
Worked on Fedora 9
I had the same problem "U8T_CANONICAL" missing on Fedora 9.. Running yum install libc-client-devel fixed the problem.
Make sure ./configure have using
--with-openssl --with-imap --with-imap-ssl
That's means the system have instelled
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)