** Cannot --enable-pcregrep-libz because zlib.h was not found

本小妞迷上赌 提交于 2019-12-23 04:53:04

问题


I'm trying to install pcre-8.35 on Ubuntu. My issue is similar to this guy's. I'm following the same tutorial, but my problem stems from a command up from his.When I try to install, I receive this error message: ** Cannot --enable-pcregrep-libz because zlib.h was not found I did some research and ran this command: sudo apt-get install --reinstall zlib1g But, I still have the same problem. Help is appreciated!


回答1:


In my case, I was able to solve this issue Cannot --enable-pcregrep-libz because zlib.h was not found with just this command:

sudo apt-get install zlib1g-dev

It's like the tip given by Paul Griffiths



来源:https://stackoverflow.com/questions/25960066/cannot-enable-pcregrep-libz-because-zlib-h-was-not-found

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!