Error building : fatal error: pcre.h: No such file or directory
The latest version of Phalcon uses PCRE libraries.
You can install them like so:
sudo apt-get install libpcre3-dev
and then try and install Phalcon again
For CentOS you will need to use
sudo yum install pcre-devel
Credits: @xgretsch
For Mac you can use
brew install pcre
Credits @Brandon Romano
For Mac without brew
Go to https://www.pcre.org/ and download latest pcre:,
tar -xzvf pcre-8.42.tar.gz
cd pcre-8.42
./configure --prefix=/usr/local/pcre-8.42
make
make install
ln -s /usr/local/pcre-8.42 /usr/sbin/pcre
ln -s /usr/local/pcre-8.42/include/pcre.h /usr/include/pcre.h
Credits @user1377324
GCC compiler is unable to find pcre.h
As the comment above says you need to use #include. If this isn't working you may want to export an environment variable C_INCLUDE_PATH
that points to the header file.
Failing that why not try adding -I/usr/local/include
to your gcc
call, something like gcc myfile.c -I/usr/local/include -o myexe
pcre2.h: No such file or directory
try:
sudo ln -s /opt/local/include/pcre.h /usr/include/ "replace your file location here"
sudo pecl install apc
nginx compiling from source
Just don't use pcre2. You need pcre like pcre-8.36.
Fatal error: Python-h not found on griddb python client
I have been able to fix the error!
Apparently I installed the wrong python client, I git cloned the right python client with this command
git clone https://github.com/griddb/python_client.git
check out the full documentation on griddb python client installation here:
https://docs.griddb.net/gettingstarted/using-rpmyum/#install-with-rpm
sudo pecl install apc returns error
PCRE is a dependency for installing APC. You can install it pretty quick with
yum install pcre-devel
or apt-get install libpcre3-dev
once it's installed, re-run
sudo pecl install apc
Related Topics
PHP Remove Elements from Associative Array
How to Connect PHP with Microsoft Access Database
Wordpress Plugin -> Call to Undefined Function Wp_Get_Current_User()
Should Lock_Ex on Both Read & Write Be Atomic
Unescape or HTML Decode in Twig (PHP Templating)
Laravel and View Caching in Development -- Can't See Changes Right Away
MySQL Stored Procedure VS. Complex Query
Multiple Forms and One Processing Page
Using SQLite3 in PHP How to Count the Number of Rows in a Result Set
Select Within 20 Kilometers Based on Latitude/Longitude
Php: Catch Exception and Continue Execution, Is It Possible
Add Class="Active" to Active Page Using PHP
Can a User Alter the Value of $_Session in PHP
How to Use File_Get_Contents() to Compare Two Files
Require_Once :Failed to Open Stream: No Such File or Directory