Fatal Error Pcre.h No Such File
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you apache pcre.h no such file or directory might have Meta Discuss the workings and policies of this
Fatal Error: 'pcre.h' File Not Found Mac
site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or undefined reference to `pcre_free' posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community
Pcre-devel
of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Error building : fatal error: pcre.h: No such file or directory up vote 46 down vote favorite 10 I'm just finished installing Ubuntu 13.10. I want try Phalcon, and when I build the source (phalcon.so), util_pcre.c:49:18: error: pcre.h: no such file or directory I have this error : from /home/fabrice/Downloads/cphalcon/build/32bits/phalcon.c:204: /usr/include/php5/ext/pcre/php_pcre.h:29:18: fatal error: pcre.h: No such file or directory #include "pcre.h" ^ compilation terminated. make: *** [phalcon.lo] Erreur 1 My installation of lamp is : sudo apt-get install -y apache2 php5 mysql-server libapache2-mod-php5 php5-mysql php5-curl php5-imagick php5-mcrypt php5-memcache php5-sqlite php5-xdebug php-apc php5-intl php-mongo php5-dev gcc Can anybody help me ? php ubuntu build phalcon ubuntu-13.10 share|improve this question edited Oct 6 '14 at 23:15 j0k 17.4k114960 asked Mar 21 '14 at 10:00 quoidautre 4371413 php -v : PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20121212/phalcon.so' - /usr/lib/php5/20121212/phalcon.so: undefined symbol: php_end_ob_buffer in Unknown on line 0 PHP 5.5.3-1ubuntu2.2 (cli) (built: Feb 28 2014 20:03:35) Copyright (c) 1997-2013 The PHP Group Zend Engine v2.5.0, Copyright (c) 1998-2013 Zend Technologies with Zend OPcache v7.0.3-dev, Copyright (c) 1999-2013, by Zend Technologies with Xdebug v2.2.3, Copyright (c) 2002-2013, by Derick Rethans –quoidautre Mar 21 '14 at 10:01 add a comment| 3 Answers 3 activ
Sign in Pricing Blog Support Search GitHub This repository Watch 67 Star 493 Fork 282 samr7/vanitygen Code Issues 43 Pull requests 16 Projects 0 Wiki Pulse Graphs New issue pcre.h: No
Libpcre3-dev
such file or directory #18 Closed Lohoris opened this Issue Jan 2, 2013
Install Pcre Mac
· 4 comments Projects None yet Labels None yet Milestone No milestone Assignees No one assigned 1 configuration option "php_ini" is not set to php.ini location participant Lohoris commented Jan 2, 2013 I have installed the packages pcre and pcre++ with port, but it still complains it can't find pcre.h... looris@Palace-of-the-Nine-Moons:~/ext-Sviluppo/vanitygen $ make cc -ggdb -O3 -Wall -c -o pattern.o http://stackoverflow.com/questions/22555561/error-building-fatal-error-pcre-h-no-such-file-or-directory pattern.c pattern.c:32:18: error: pcre.h: No such file or directory pattern.c:1604: error: expected specifier-qualifier-list before ‘pcre’ Using OSX 10.6 ghost commented Jan 3, 2013 Missing h file typically means you don't have the dev package. So try installing libpcre++-dev Lohoris commented Jan 3, 2013 True, but there is no such package, and the normal pcre package likely already is a dev one: pcre @8.12 (devel) Perl Compatible Regular https://github.com/samr7/vanitygen/issues/18 Expressions Library pcre++ @0.9.5 (devel) C++ wrapper for the Perl Compatible Regular Expressions Library pcrexx @0.9.5 (devel) C++ wrapper for the Perl Compatible Regular Expressions Library ghost commented Jan 3, 2013 Oh, that's odd. I'm not on OSX. On Ubuntu there is dev packages. If the normal package doesn't contain h files then it can't be a dev version. Well, unless they get put somewhere non-standard and aren't found in the include path. So you might look into that. Any h files installed need to be in the "include" path to be found. Perhaps on OSX they need to be copied or moved. Lohoris commented Jan 5, 2013 Someone else had the same problem: http://bitcoin.stackexchange.com/questions/6004/osx-vanitygen-broken-makefile Apparently it is fixed by linking /opt/local/include/pcre.h into /usr/include/. Lohoris closed this Jan 5, 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.
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 or directory Quote Postby hasch » 2007/05/15 10:30:04 I wanted to compile mod_security, but http://www.centos.org/forums/viewtopic.php?t=35632 I got the following error message:pcre.h: No such file or directoryI checked the pcre-libs with "yum list installed | grep 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 http://lornajane.net/posts/2010/missing-pcre-h-when-installing-pecl_oauth not found and isn't available at my system.So my question in what package 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 no such 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 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 no such file 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 Support CentOS 5 - Security Support CentOS 5 - Webhosting Support CentOS 5 - X86_64,s390(x) and PowerPC Support CentOS 5 - Oracle Installation and Support CentOS 5 - Miscellaneous Questions CentOS 4 CentOS 4 - General Support CentOS 4 - Software Support CentOS 4 - Hardware Support CentOS 4 - Networking Support CentOS 4 - Server Support CentOS 4 - Security Support CentOS 4 - Webhosting Support CentOS 4 - X86_64,s390(x) and PowerPC Suppor
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