我正在尝试安装pcre 8.32。当我尝试按照本教程进行安装时,出现此错误:
**Cannot --enable-pcregrep-libbz2 because bzlib.h was not found**.
然后我尝试了:sudo yum install libbz2-dev现在说No package libbz2-dev available.Error: Nothing to do
sudo yum install libbz2-dev
No package libbz2-dev available.Error: Nothing to do
我很困惑。接下来我要做什么?
尝试找到提供bzlib.h文件的软件包:
bzlib.h
sudo yum whatprovides */bzlib.h
然后安装该软件包
从您的注释中,程序包名称为bzip2-devel-1.0.6-3.fc15.i686,因此:
bzip2-devel-1.0.6-3.fc15.i686
sudo yum install bzip2-devel-1.0.6-3.fc15.i686