LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-20-2015, 01:16 PM   #1
blackRonin
Member
 
Registered: Jun 2014
Distribution: Debian 9.6
Posts: 68

Rep: Reputation: Disabled
Installing php 5.6.9 from source


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
 
Old 05-22-2015, 04:31 AM   #2
veerain
Senior Member
 
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
You may try installing php from source using instructions from BLFS.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Installing apache,php and mysql from source in Linux tarunchawla Linux - Software 3 10-10-2013 08:34 AM
installing php from the source tajamari Linux - Server 2 10-28-2008 06:44 AM
Installing php source and rpm sucram2g Linux - Software 1 02-17-2007 03:22 AM
Installing php package after installing from source shubb Slackware 4 03-14-2006 10:19 AM
Problems installing Apache/PHP from source minorgod Mandriva 0 09-11-2004 07:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration