libpcre on redhat/centos 6

112 views
Skip to first unread message

max.wolf

unread,
Mar 10, 2015, 3:43:37 AM3/10/15
to pure...@googlegroups.com
Hi

Trying to configure pure with pcre support (./configure --with-pcre) on centos 6.6 fails, because there is no libpcreposix.pc file.
A simple symlink to libpcre.pc does the trick:

cd /usr/lib64/pkgconfig/
ln -s libpcre.pc libpcreposix.pc

perhaps that helps somebody running in the same problem.

Max

max.wolf

unread,
Mar 10, 2015, 6:08:06 AM3/10/15
to pure...@googlegroups.com
Forget the above.
It doesn't work.
It breaks the regex module
test093 fails.

Max

max.wolf

unread,
Mar 10, 2015, 6:31:21 AM3/10/15
to pure...@googlegroups.com
instead writing the libpcreposix.pc file as below works:

###########################################################

# Package Information for pkg-config

prefix=/usr
exec_prefix=/usr
libdir=/usr/lib64
includedir=/usr/include

Name: libpcreposix
Description: PCRE - Perl compatible regular expressions C library
Version: 7.8
Libs: -L${libdir} -lpcreposix
Cflags: -I${includedir}

#########################################################

This can probably be solved properly in another way. I assume by changing the configure script.
Unfortunately I don't know that stuff at all.
Reply all
Reply to author
Forward
0 new messages