Cannot --Enable-Pcregrep-Libbz2 Because Bzlib.H Was Not Found

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

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

How to install / enable pcregrep on Cygwin?

Your cygcheck -p query indicates that pcregrep is mentioned in those three packages. The online package browser confirms that a pcregrep.exe binary is available in the pcre package: you don't have to compile anything.

Use the Cygwin installer, setup-x86.exe (for a 32-bit Cygwin) or setup-x86_64.exe (for a 64-bit Cygwin), which you've probably used to install Cygwin in the first place, to install the package: when you get to the "Select Packages" step, find pcre in the Text category, click the cycle icon in the New column until a version number appears, and finish the installation. If you no longer have the installer, you can download it from https://cygwin.com/.

Seeing bzlib.h not found when trying the Bindgen tutorial

As noted by @Jmb in the comments, I needed to install libbz2-dev:

sudo apt install libbz2-dev

Since this was a fairly new WSL instance of Ubuntu, I also needed libclang-dev:

sudo apt install libclang-dev

Installing latest 1.44 boost library under ubuntu 10.04

What you miss here is bz2 library that Boost Python library in particular depends on. Install this library first using the following command - sudo apt-get install libbz2-dev.



Related Topics



Leave a reply



Submit