SystemError: ('Failed', './configure --prefix=/home/kees/project_buildouts/wsr/parts/varnish-build')Going into the directory in /tmp and trying to run ./configure there, i get:
configure: error: Package requirements (libpcre) were not met:
No package 'libpcre' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables PCRE_CFLAGS
and PCRE_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
The answer is to simply install the package libpcre3-dev.
On Debian, you might also have to do:
export PCRE_LIBS="-L/usr/lib -lpcre"
export PCRE_CFLAGS=-I/usr/include/pcre

2 comments:
I had to do this on Debian + RHEL:
export PCRE_LIBS="-L/usr/lib -lpcre"
export PCRE_CFLAGS=-I/usr/include/pcre
-- Huub
I had to install pkg-config as well in order for lib-pcre (and flags) to be properly picked up.
-Peter
Post a Comment