30 Oct
2011
30 Oct
'11
6:49 p.m.
On 30-10-2011 16:05:05 +0000, xldelg@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 ...