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:46:27 +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-323972@lists.php.net to get a copy of this message | ||
HI Aziz;
Thank you, I ran yum install bzip2-devel and it went further.
Thanks,
Ken
On Wed, Oct 15, 2014 at 7:59 AM, Aziz Saleh <azizsaleh@gmail.com> wrote:
>
>
> On Wed, Oct 15, 2014 at 2:40 AM, 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
>>
>> --
>> PHP General Mailing List (http://www.php.net/)
>> To unsubscribe, visit: http://www.php.net/unsub.php
>>
>
> Try installing libbz2 and libbz2-dev again:
>
> apt-get install libbz2
> apt-get install libbz2-dev