Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cannot --enable-pcregrep-libbz2 because bzlib.h was not found [closed]

I am trying to install pcre 8.32. When I tried to install following this tutorial I get this error:

 **Cannot --enable-pcregrep-libbz2 because bzlib.h was not found**.

Then I tried: sudo yum install libbz2-dev and now it is saying No package libbz2-dev available.Error: Nothing to do

I am totally confused. What shold I do next?

like image 255
AssamGuy Avatar asked Dec 20 '12 09:12

AssamGuy


1 Answers

Try to locate the package that provides the bzlib.h file with:

sudo yum whatprovides */bzlib.h

And then install that package

From your comment the package name is bzip2-devel-1.0.6-3.fc15.i686, so do:

sudo yum install bzip2-devel-1.0.6-3.fc15.i686
like image 192
Atropo Avatar answered Nov 10 '22 14:11

Atropo