To include the pcre.h file, search the package archives for the pcre.h file. To do this, I use the apt-file (
apt-get install apt-file
and
Update apt file
if you did not install it).
Then search for pcre package:
apt-file search -x "/pcre.h $"
-x tells the command that I want to use the regular expression as a template. apt-file provided me with three hits:
- kannel-dev: /usr/include/kannel/gwlib/pcre.h
- libajax6-dev: /usr/include/ajax/pcre.h
- libpcre3-dev: /usr/include/pcre.h
The latter is the one I want:
apt-get install libpcre3-dev
This will solve the problem with the compilation of the pcre.h file. Hope this helps others who can come to find an answer on this topic.
stackMonk Dec 10 '15 at 9:11 2015-12-10 09:11
source share