[MonetDB-users] pcre not found when configure monetdb5

Fabian Groffen Fabian.Groffen at cwi.nl
Sun Oct 30 19:49:57 CET 2011

On 30-10-2011 16:05:05 +0000, xldelg at sohu.com wrote:
> hi,
> I tried to compile the latest monetdb(11.5.3) on centos6 x64, but the pcre
> library is not found when configure. I'm sure that the pcre library has been
> installed via compiling the source, the libpcre.la, libpcre.a, libpcre.so
> has been installed in /usr/local/lib. I also configure monetdb like:
> pcre_LIBS=/usr/local/lib pcre_CFLAGS=/usr/local/include ./configure, but it
> doesn't work. How to fix this problem?
> Any reply will be apprecitated.

I assume you have a /usr/local/lib/pkgconfig/libpcre.pc

Then exporting PKG_CONFIG_PATH with /usr/local/lib/pkgconfig in it
should do the trick, e.g.:

env PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:${PKG_CONFIG_PATH} ./configure ...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 487 bytes
Desc: Digital signature
URL: <http://www.monetdb.org/pipermail/users-list/attachments/20111030/1383e30b/attachment.sig>

More information about the users-list mailing list