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
Rename Multiple Directories Matching Pattern
How to Repeat a Dash (Hyphen) in Shell
How to Get Debugging Symbols Working in Linux Perf Tool Inside Docker Containers
Grep String Inside Double Quotes
Null Modem Emulator (Com0Com) for Linux
Configure and Build Opencv to Custom Ffmpeg Install
"Current" in Linux Kernel Code
How to Force a Firefox Page Refresh from Linux Console
How to Tail -F the Latest Log File with a Given Pattern
Running Shell Script Using .Env File
How to Use Awk for a Compressed File
How to Find Which Process Is Leaking Memory
Git- How to Kill Ssh-Agent Properly on Linux
Search Ms Word Files in a Directory for Specific Content in Linux
Adding Users to Sudoers Through Shell Script
Bash And/Or .Bashrc Not Working Properly After Su or Ssh Login Unless Run "Bash" Command