[MonetDB-users] pcre not found when configure monetdb5
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.
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 ...
It solved my problem. Thank you very much. ----- 原文 ----- 发件人: Fabian Groffen 主 题: Re: [MonetDB-users] pcre not found when configure monetdb5时 间: 2011年10月31日 02时49分57秒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.pcThen exporting PKG_CONFIG_PATH with /usr/local/lib/pkgconfig in itshould do the trick, e.g.:env PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:${PKG_CONFIG_PATH} ./configure ...------------------------------------------------------------------------------Get your Android app more play: Bring it to the BlackBerry PlayBook in minutes. BlackBerry App World™ now supports Android™ Apps for the BlackBerry® PlayBook™. Discover just how easy and simple it is! http://p.sf.net/sfu/android-dev2dev_________________________________________... mailing listMonetDB-users@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/monetdb-users
participants (2)
-
Fabian Groffen
-
xldelg@sohu.com