但ubuntu自带bzip2的,查看php源码中的ext/bz2/config.m4,原来要在参数中的目录、/usr/local、/usr的
include中查找bzlib.h,
因为ubuntu9.04似乎没有bzip2-dev的库,所以只有手工下载一个
bzip2-1.0.5.tar.gz,解压后
make
sudo make install
代码如下:checking for BZip2 support… yes checking for BZip2 in default path… not found configure: error: Please reinstall the BZip2 distribution 解决方法:yum install bzip2-devel 代码如下:checking...
相关推荐
11. **错误:Configure: error: Please reinstall the BZip2 distribution** 解决方案:在CentOS上,需要`bzip2`和`bzip2-devel`,分别通过`yum install bzip2 bzip2-devel`进行安装;Debian用户则需`bzip2-devel`...
configure: error: Please reinstall the BZip2 distribution ``` **原因分析:** BZip2 是一种压缩算法,在 PHP 中用于文件压缩和解压功能。 **解决方案:** - 安装 BZip2 及其开发包。 ```bash # 对于 Red Hat...
11. 错误:`Configure: error: Please reinstall the BZip2 distribution` 解决方法:安装bzip2和其开发库,运行`yum install bzip2 bzip2-devel`。 12. 错误:`Configure: error: Please reinstall the libcurl ...
代码如下:checking for BZip2 support… yes checking for BZip2 in default path… not found configure: error: Please reinstall the BZip2 distribution 解决方法:yum install bzip2-devel 代码如下:checking...
- `configure: error: Please reinstall the BZip2 distribution`:安装`bzip2-devel`。 ``` $ yum install bzip2-devel.x86_64 -y ``` - `configure: error: xpm.h not found.`:安装`libXpm-devel`。 ``` $ ...