Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pcre2.h missing on CentOS 7, even after installing pcre2 #20

Closed
iGovindY opened this issue Sep 23, 2021 · 2 comments
Closed

pcre2.h missing on CentOS 7, even after installing pcre2 #20

iGovindY opened this issue Sep 23, 2021 · 2 comments

Comments

@iGovindY
Copy link

Hi,

I am not sure if this is the right place to raise this issue.
On CentOS 7, when we install pcre2 with the below command.
yum install pcre2

It doesn't; install pcre2.h file along with other files like .so.
Am I doing something wrong? or its a bug in CentOS packaging?

Also, I tried installing using rpm, same issue no luck.
https://centos.pkgs.org/7/centos-x86_64/pcre2-10.23-2.el7.x86_64.rpm.html
As this page shows under Files header it also doesn't install pcre2.h file.

Thanks in advance for help.

@PhilipHazel
Copy link
Collaborator

The normal default place for pcre2.h is /usr/linclude or /usr/local/include. Have you tried looking for it with "find" or "locate". In any event, this is a CentOS issue, not a PCRE2 one.

@iGovindY
Copy link
Author

iGovindY commented Dec 3, 2021

wanted to update here, if anyone faces similar issue.

looks like for build environment pcre2-devel package should be installed, which installs headers also.
for run time environment pcre2 package is enough.

So, yum install pcre2-devel should solve the above issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants