Configure Error Pcre.h Not Found
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the
Pcre.h No Such File Or Directory Ubuntu
workings and policies of this site About Us Learn more about Stack apache pcre.h: no such file or directory Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions fatal error: 'pcre.h' file not found mac Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join
Error: Failed To Mkdir /usr/include/php/ext/imagick
them; it only takes a minute: Sign up Troubles installing Apache2 from source Redhat 6 up vote 2 down vote favorite I am trying to install the most current Apache version. I ran configure: ./configure --prefix=/usr/local/apache --enable-so --with-pcre=../pcre2-10.00/pcre2-config But I then got this error message: util_pcre.c:49:18: error: pcre.h: No such file or directory util_pcre.c: In Function 'ap_regfree': util_pcre.c:104: error:
Pcre-devel
'pcre_free' undeclared (first use in this function) util_pcre.c:104: error: (Each undeclared identifier is reported only once util_pcre.c:104: error: for each function it appears in.).... I read that I would need to have gcc installed. And I have verified that gcc is installed. Do I need to declare it somewhere in the ./configure command? Thanks in advance! apache share|improve this question edited Jun 8 '15 at 15:59 Roan 1,10911025 asked Jun 8 '15 at 15:02 rca808 214 add a comment| 1 Answer 1 active oldest votes up vote 1 down vote Try to install pcre devel yum install pcre-devel and then run your previous code without pcre part ./configure --prefix=/usr/local/apache --enable-so Hope this can help you. share|improve this answer answered Jul 29 '15 at 18:37 Milos Miskone Sretin 8221032 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign up using Facebook Sign up using Email and Password Post as a guest Name Email Post as a guest Name Email discard By posting your answer, yo
file or directory General support questions including new installations Post Reply Print view Search Advanced search 4 posts • Page 1 of 1 hasch Posts: 2 Joined: 2007/05/15 09:58:18 pcre.h: No such file util_pcre.c:49:18: error: pcre.h: no such file or directory or directory Quote Postby hasch » 2007/05/15 10:30:04 I wanted to compile mod_security,
Install Pcre Mac
but I got the following error message:pcre.h: No such file or directoryI checked the pcre-libs with "yum list installed | grep libpcre3-dev pcre" and got the installed libs:pcre.i386 4.5-3.2.RHEL4 installedpcre-devel.i386 4.5-3.2.RHEL4 installedSo the needed libs should be available, but the requeted pcre.h was not found and isn't available at my system.So my question in what package http://stackoverflow.com/questions/30712663/troubles-installing-apache2-from-source-redhat-6 the needed pcre.h is included?At my Fedora Core 5 System before the needed pcre.h was in the pcre and pcre-devel package included...Have somebody an idea? Top pjwelsh Posts: 2570 Joined: 2007/01/07 02:18:02 Location: Central IL USA pcre.h: No such file or directory Quote Postby pjwelsh » 2007/05/15 13:21:01 You can use yum to find what package owns that fileyum provides pcre.houtput notes that package "pcre-devel"So just yum -y install http://www.centos.org/forums/viewtopic.php?t=35632 pcre-devel Top hasch Posts: 2 Joined: 2007/05/15 09:58:18 Re: pcre.h: No such file or directory Quote Postby hasch » 2007/05/15 13:35:18 Thank you very much, all packages were installed. After I run updatedb again the system found the pcre.h, so that I could add the include to mod_security Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Post Reply Print view 4 posts • Page 1 of 1 Return to “CentOS 4 - General Support” Jump to CentOS General Purpose CentOS - FAQ & Readme First Announcements CentOS Social User Comments Website Problems CentOS 7 CentOS 7 - General Support CentOS 7 - Software Support CentOS 7 - Hardware Support CentOS 7 - Networking Support CentOS 7 - Security Support CentOS 6 CentOS 6 - General Support CentOS 6 - Software Support CentOS 6 - Hardware Support CentOS 6 - Networking Support CentOS 6 - Security Support CentOS 5 CentOS 5 - General Support CentOS 5 - Software Support CentOS 5 - Hardware Support CentOS 5 - Networking Support CentOS 5 - Server S
Support Search GitHub This repository Watch 28 Star 206 Fork 32 qpdf/qpdf Code Issues 40 Pull requests 2 Projects 0 Wiki https://github.com/qpdf/qpdf/issues/23 Pulse Graphs New issue 'configure' step fails on OSX because pcre.h http://lornajane.net/posts/2010/missing-pcre-h-when-installing-pecl_oauth isn't found #23 Closed KurtPfeifle opened this Issue Nov 22, 2013 · 3 comments Projects None yet Labels None yet Milestone No milestone Assignees No one assigned 2 participants KurtPfeifle commented Nov 22, 2013 I'm trying to build QPDF from Git on OSX (Mavericks). After completing './autogen.sh' no such successfully, './configure' ends with this error: configure: WARNING: unable to find required header pcre.h configure: error: some required prerequisites were not found I've MacPorts installed: $> port installed pcre The following ports are currently installed: pcre @8.33_0 (active) $> ls -lh /opt/local/include/pcre.h -rw-r--r-- 1 root admin 30K Oct 28 08:02 /opt/local/include/pcre.h I don't understand what the problem is... jberkenbilt no such file commented Nov 22, 2013 Most likely ./configure is not looking in /opt/local/include. You'll need to make sure you pass the appropriate information to ./configure using the CPPFLAGS and LDFLAGS environment variables. For example CPPFLAGS=-I/opt/local/include LDFLAGS=-L/opt/local/lib ./configure Does that help? KurtPfeifle commented Nov 22, 2013 On Fri, Nov 22, 2013 at 3:20 PM, Jay Berkenbilt ***@***.***>wrote: CPPFLAGS=-I/opt/local/include LDFLAGS=-L/opt/local/lib ./configure Yes, thanks, that did the trick. I had tried it before, but due to a typo (discovered now thru bash_history), it didn't work... Thanks again, Cheers, Kurt jberkenbilt commented Nov 22, 2013 Great. Sometimes a second set of eyes as all that's needed. jberkenbilt closed this Nov 22, 2013 Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment Contact GitHub API Training Shop Blog About © 2016 GitHub, Inc. Terms Privacy Security Status Help You can't perform that action at this time. You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
week (more about that in a later post) and when I tried to install from PECL, it grabbed the files, ran the configure step but stopped with an error status during make. This is bad news for those of us who are ubuntu users rather than compile-happy linux users! Closer inspection showed this line around the point things started to go wrong: Error: /usr/include/php5/ext/pcre/php_pcre.h:29:18: error: pcre.h: No such file or directory I didn't have the header files for pcre installed - in ubuntu the headers are in the -dev packages so I just installed what I needed:
sudo aptitude install libpcre3-dev
Re-attempting the pecl install, everything worked as expected. This is on Ubuntu 10.04 Lucid Lynx, and from reading around you'd want to install the same package in response to this error message, regardless of what you were doing to cause it. Hope this helps someone. This entry was posted in tech and tagged linux, oauth, pecl, tech, ubuntu by lornajane. Bookmark the permalink. Post navigation ← Previous Next → 3 thoughts on “Missing pcre.h when installing pecl_oauth” randy on November 8, 2010 at 22:59 said: not really sure which package one is supposed to install to get past this issue? Reply ↓ LornaJane on November 9, 2010 at 08:08 said: randy: it's the libpcre3-dev package - I am having issues with my geshi plugin and it had somehow hidden the code in the post! Sorry about that :( Reply ↓ Rob... on November 26, 2010 at 14:14 said: On OS X 10.6.5, download pcre from http://www.pcre.org/ and run ./configure This creates a pcre.h file which you then need to copy to /usr/include pecl install oauth should then work. Reply ↓ Leave a Reply Cancel reply Please use [code] and [/code] around any source code you wish to share. Comment Name * Email * Website Contact Email: [emailprotected] Twitter: @lornajane Phone: +44 113 830 1739 Links Go PHP7 (ext) Joind.In ZCE Links Bundle ZCE Questions Pack Books and Videos © 2006-2016 LornaJane.net Icons courtesy of The Noun Project