configure: error: Couldn’t find pcre.h, try installing the libpcre

When installing PHP OAuth, I get the following error

configure: error: Couldn't find pcre.h, try installing the libpcre development/headers package
ERROR: `/tmp/pear/temp/oauth/configure --with-php-config=/usr/bin/php-config' failed

To fix, install libpcre3-dev

apt install libpcre3-dev

See Errors

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *