On 9/10/2014 10:32 AM, Jeremy Seago wrote:
> On Wednesday, September 10, 2014 5:52:51 AM UTC-5, Jerry Stuckle wrote:
>> On 9/10/2014 12:49 AM, Jeremy Seago wrote:
>>
>>> Has anyone had luck compiling PHP 5.6 on CentOS 6.5?
>>
>>>
>>
>>> I keep getting a "cannot run C compiled programs" error when I try to ./configure 5.6, 5.5 or 5.4 on CentOS 6.5.
>>
>>>
>>
>>> Any help would be appreciated. I've tried all the usual suspects (permissions on tmp directories, etc.), but I can't figure it out...
>>
>>>
>>
>>> Thanks
>>
>>>
>>
>>
>>
>> I haven't seen this before, but googling your message shows several
>>
>> people have had this same problem. Most don't have the proper
>>
>> development tools installed.
>>
>>
>>
> I've installed the general development tools (`yum groupinstall "Development Tools"`), but I can't seem to find a list of required build tools anywhere.
>
Did you read the INSTALL file? It has several notes. For instance,
under Solaris, it lists, you need gcc, make and GNU sed (plus some other
packages for extensions).
I don't use CentOS, so I don't know what's on it, or what is included in
the group Development Tools. I have compiled it on Debian, with no
problems. But as a developer, I also have a full set of tools installed.
Googling for "compile php centos" (without the quotes) also gives some
good hits.