`

configure: error: Please reinstall the BZip2 distribution

    博客分类:
  • php
阅读更多

这个软件,直接MAKE && MAKE INSTALL 就可以了

 

但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

分享到:
评论

相关推荐

    PHP编译configure时常见错误的总结

    11. **错误:Configure: error: Please reinstall the BZip2 distribution** 解决方案:在CentOS上,需要`bzip2`和`bzip2-devel`,分别通过`yum install bzip2 bzip2-devel`进行安装;Debian用户则需`bzip2-devel`...

    linux下PHP编译安装各种出错及解决方法

    configure: error: Please reinstall the BZip2 distribution ``` **原因分析:** BZip2 是一种压缩算法,在 PHP 中用于文件压缩和解压功能。 **解决方案:** - 安装 BZip2 及其开发包。 ```bash # 对于 Red Hat...

    CentOS编译安装PHP常见错误及解决办法

    11. 错误:`Configure: error: Please reinstall the BZip2 distribution` 解决方法:安装bzip2和其开发库,运行`yum install bzip2 bzip2-devel`。 12. 错误:`Configure: error: Please reinstall the libcurl ...

    php编译安装常见错误大全和解决方法

    代码如下: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...

    Centos7.2 编译安装PHP7.0.2的步骤

    - `configure: error: Please reinstall the BZip2 distribution`:安装`bzip2-devel`。 ``` $ yum install bzip2-devel.x86_64 -y ``` - `configure: error: xpm.h not found.`:安装`libXpm-devel`。 ``` $ ...

Global site tag (gtag.js) - Google Analytics