{"id":30,"date":"2013-08-27T11:19:19","date_gmt":"2013-08-27T11:19:19","guid":{"rendered":"http:\/\/muse.oneshot.in\/?p=30"},"modified":"2013-09-27T14:00:42","modified_gmt":"2013-09-27T14:00:42","slug":"pcre-error-in-installation-of-apache","status":"publish","type":"post","link":"https:\/\/muse.oneshot.in\/?p=30","title":{"rendered":"PCRE error in installation of Apache"},"content":{"rendered":"<p>On Compiling Apache from the source code I got the below error<\/p>\n<p>checking for gcc&#8230; gcc<br \/>\nchecking whether the C compiler works&#8230; yes<br \/>\nchecking for C compiler default output file name&#8230; a.out<br \/>\nchecking for suffix of executables&#8230;<br \/>\nchecking whether we are cross compiling&#8230; no<br \/>\nchecking for suffix of object files&#8230; o<br \/>\nchecking whether we are using the GNU C compiler&#8230; yes<br \/>\nchecking whether gcc accepts -g&#8230; yes<br \/>\nchecking for gcc option to accept ISO C89&#8230; none needed<br \/>\nchecking how to run the C preprocessor&#8230; gcc -E<br \/>\nchecking for gcc option to accept ISO C99&#8230; -std=gnu99<br \/>\nchecking for pcre-config&#8230; false<br \/>\n<em><strong>configure: error: pcre-config for libpcre not found. PCRE is required and available from http:\/\/pcre.org\/<\/strong><\/em><\/p>\n<p><strong>Solution<\/strong><\/p>\n<p>1. Download PCRE from PCRE.org<\/p>\n<p>2. Compile it with a prefix and install it:<\/p>\n<p>.\/configure &#8211;prefix=\/usr\/local\/pcre<br \/>\nmake<br \/>\nmake install<\/p>\n<p>3. Go back to where your Apache installation is and compile Apache with PCRE:<\/p>\n<p>&#8211;with-pcre=\/usr\/local\/pcre<\/p>\n","protected":false},"excerpt":{"rendered":"<p>On Compiling Apache from the source code I got the below error checking for gcc&#8230; gcc checking whether the C compiler works&#8230; yes checking for C compiler default output file name&#8230; a.out checking for suffix of executables&#8230; checking whether we are cross compiling&#8230; no checking for suffix of object files&#8230; o checking whether we are [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,3],"tags":[],"class_list":["post-30","post","type-post","status-publish","format-standard","hentry","category-apache","category-information-technology"],"_links":{"self":[{"href":"https:\/\/muse.oneshot.in\/index.php?rest_route=\/wp\/v2\/posts\/30","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/muse.oneshot.in\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/muse.oneshot.in\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/muse.oneshot.in\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/muse.oneshot.in\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=30"}],"version-history":[{"count":1,"href":"https:\/\/muse.oneshot.in\/index.php?rest_route=\/wp\/v2\/posts\/30\/revisions"}],"predecessor-version":[{"id":31,"href":"https:\/\/muse.oneshot.in\/index.php?rest_route=\/wp\/v2\/posts\/30\/revisions\/31"}],"wp:attachment":[{"href":"https:\/\/muse.oneshot.in\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=30"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/muse.oneshot.in\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=30"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/muse.oneshot.in\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=30"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}