Hello
I have problem with installing latest php 5.6.9 from source.
I followed this tutorial:
http://blog.astaz3l.com/2015/02/25/p...l-from-source/
I have 64bit version so i installed libc-client-devel.x86_64
But after that. during compiling i get error:
Code:
configure: error: Cannot find imap library (libc-client.a). Please check your c-client installation.
I tried locate libc-client.a , but with no luck.
Then i found this:
http://www.directadmin.com/imap.txt
So i removed libc-client-2007e-11.el6.x86_64 and libc-client-devel-2007e-11.el6.x86_64 because versions are different (there are 2007e-10)
Code:
------
On CentOS 64-bit, if you see the error:
configure: error: Cannot find imap library (libc-client.a). Please check your c-client installation.
and cannot find libc-client.a anywhere on your box:
updatedb
locate libc-client.a
Download a uw-imap src.rpm from the internet. They can be found on rpmfind.net, eg:
http://rpmfind.net/linux/rpm2html/search.php?query=uw-imap&submit=Search+...&system=&arch=src
Then type (using the relevant src.rpm package url for your system, when possible):
wget http://files.directadmin.com/services/uw-imap-2007e-10.el6.src.rpm
rpmbuild --rebuild uw-imap-2007e-10.el6.src.rpm
cd /usr/src/redhat/RPMS/x86_64/
rpm -ivh uw-imap-static-2007e-10.el6.x86_64.rpm uw-imap-devel-2007e-10.el6.x86_64.rpm libc-client-2007e-10.el6.x86_64.rpm
Note, you may need to remove the newer version of libc-client and libc-client-devel, if the above conflict.
Also, link the .a file:
ln -s /usr/lib64/libc-client.a /usr/lib/libc-client.a
After that during compiling i see error:
Code:
configure: error: utf8_mime2text() has new signature, but U8T_CANONICAL is missing. This should not happen. Check config.log for additional information.
I saw that i don't have libc-client-devel but can't find libc-client-devel-2007e-10.el6.x86_64 i only found 2007e-11
If i yum remove libc-client libc-client-devel
and then yum install libc-client libc-client-devel uw-imap uw-imap-utils
I see:
Code:
libc-client x86_64 2007e-11.el6 base 515 k
libc-client-devel x86_64 2007e-11.el6 base 56 k
uw-imap x86_64 2007e-14.el6 epel 72 k
uw-imap-utils x86_64 2007e-14.el6 epel 52 k
They are different version and different repos.
I can't find libc-client libc-client-devel uw-imap uw-imap-utils in same version.
And i have no any ideas what to do now.
Please help