Re: Unable to compile PHP 5.3.29 On CentOS 7.0: Configure complains about BZip2 not in expected location
| From: | Kenneth Wolcott | Date: | Wed, 15 Oct 2014 17:44:24 +0000 |
| Subject: | Re: Unable to compile PHP 5.3.29 On CentOS 7.0: Configure complains about BZip2 not in expected location | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-323970@lists.php.net to get a copy of this message | ||
Hi Ash;
I did not have bzip2-devel installed. After installing that I made
more progress.
Thanks,
Ken
On Wed, Oct 15, 2014 at 12:40 AM, Ashley Sheridan
<ash@ashleysheridan.co.uk> wrote:
>
>
> On 15 October 2014 07:40:26 BST, Kenneth Wolcott <kennethwolcott@gmail.com> wrote:
>>Hi;
>>
>> My first post about issues with compiling PHP...
>>
>>Unable to compile PHP 5.3.29 On CentOS 7.0: Configure complains about
>>BZip2 not in expected location
>>
>> I'm fairly good about the "configure; make; make install" dance for
>>open source software, but now and then I run into mysteries.
>>
>> I'm responsible for moving forwards an old PHP 5.3.3 (LAMP) dev and
>>production environment into the more modern age. The developers use
>>the abandoned "php-template" extension. I plan to move them forwards
>>into one of the more modern day PHP template engines (Haanga, Twig,
>>Blitz, etc) but first I need to move to a more recent platform and
>>then to a more recent version of PHP.
>>
>> I captured the output of "php -i" from the current dev system. In
>>that output is the configure syntax used to compile PHP. I used that
>>same syntax and received the following error from configure:
>>
>>checking for BZip2 support... yes
>>checking for BZip2 in default path... not found
>>configure: error: Please reinstall the BZip2 distribution
>>
>>I've checked and I do have bzip2 installed.
>>
>>I'm wondering if it is looking for contents of the bzip2-devel rpm?
>>
>>If necessary, I can provide the configure syntax that I used, but I'm
>>hoping that the question is sufficiently phrased to not need that.
>>
>>Thanks,
>>Ken Wolcott
>
>
> Do you have the bzip2 header files installed also?
> Thanks,
> Ash