The Computer Oracle

Apache ./configure can't find pcre-config script

--------------------------------------------------
Hire the world's top talent on demand or became one of them at Toptal: https://topt.al/25cXVn
and get $2,000 discount on your first invoice
--------------------------------------------------

Music by Eric Matyas
https://www.soundimage.org
Track title: Secret Catacombs

--

Chapters
00:00 Apache ./Configure Can'T Find Pcre-Config Script
01:06 Answer 1 Score 0
01:33 Accepted Answer Score 15
01:51 Answer 3 Score 0
02:07 Thank you

--

Full question
https://superuser.com/questions/680559/a...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#installation #apachehttpserver

#avk47



ACCEPTED ANSWER

Score 15


I solved it by specifying the full path to the pcre-config file. In other words, instead of:

--with-pcre=/u01/app/apache/pcre/bin

I did:

--with-pcre=/u01/app/apache/pcre/bin/pcre-config



ANSWER 2

Score 0


This is a shell script and thus it must begin with #!/path/to/interpreter . The most probable cause of your problem is, that this path is bad. For example it is #!/bin/perl although your perl is in /usr/bin. Check this, if it is not ok, fix it manually and retry.




ANSWER 3

Score 0


Installed pcre-8.37 from pcre.org .os is rhel 7.3 and httpd 2.4.23.After installing pcre there was no need to show the path explicitly