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 06:40:26 +0000 |
| Subject: | Unable to compile PHP 5.3.29 On CentOS 7.0: Configure complains about BZip2 not in expected location | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-323959@lists.php.net to get a copy of this message | ||
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