[389-devel] Please review: fix some pcre build issues

yersinia yersinia.spiros at gmail.com
Wed Aug 12 15:24:05 UTC 2009


On Wed, Aug 12, 2009 at 5:11 PM, Rich Megginson <rmeggins at redhat.com> wrote:

> Nathan Kinder wrote:
>
>> On 08/12/2009 08:04 AM, Rich Megginson wrote:
>>
>>> Some minor issues encountered when building pcre on different platforms.
>>>
>> ack.
>>
> Thanks - pushed
>
>> ------------------------------------------------------------------------
>>>
>>> --
>>> 389-devel mailing list
>>> 389-devel at redhat.com
>>> https://www.redhat.com/mailman/listinfo/fedora-directory-devel
>>>
>>>
>>
>> ------------------------------------------------------------------------
>>
>> --
>> 389-devel mailing list
>> 389-devel at redhat.com
>> https://www.redhat.com/mailman/listinfo/fedora-directory-devel
>>
>>
>
>
> --
> 389-devel mailing list
> 389-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-directory-devel
>
> Attention to rely on pkg-config for pcre for cross-platoform, upstream
pcre.pc  is wrong for linux because it include in Libs -L${libdir} :

$cat /usr/lib64/pkgconfig/libpcre.pc
# Package Information for pkg-config

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

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

BUT, not every Linux distro as Fedora and RHEL include a local patch a
pkgconfig for this problem e.g. with the previous pcre.pc

$pkg-config --libs libpcre
-lpcre


Look at this ref for more detail
https://bugzilla.novell.com/show_bug.cgi?id=529921

hth
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-directory-devel/attachments/20090812/c7f706e9/attachment.htm>


More information about the Fedora-directory-devel mailing list