[Kamailio-Devel] [ openser-Patches-2781237 ] fix libpcre include and library paths using pcre-config

SourceForge.net noreply at sourceforge.net
Mon Apr 27 17:44:59 CEST 2009


Patches item #2781237, was opened at 2009-04-25 18:14
Message generated for change (Comment added) made by henningw
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743022&aid=2781237&group_id=139143

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: modules
Group: ver devel
>Status: Closed
>Resolution: Accepted
Priority: 5
Private: No
Submitted By: Jinke Jiang (jjksam)
>Assigned to: Henning Westerholt (henningw)
Summary: fix libpcre include and library paths using pcre-config

Initial Comment:
the #include <pcre.h>, is not <pcre/pcre.h>, 
adding -I/usr/include/pcre or something else to the build-wide CFLAGS is ugly.
Should we use the pcre-config to find out the flags in different systems in a more general way.
CentOS 4.6 : /usr/include/pcre/pcre.h.
CentOS 5.2 : /usr/include/pcre.h
openBSD : I don't have one to verify. 


----------------------------------------------------------------------

>Comment By: Henning Westerholt (henningw)
Date: 2009-04-27 15:44

Message:
Hi Jinke,

thank you for the patch. I've added them with some small extensions to the
sr git master branch. I changed the dialplan (and the lcr) module also, as
you suggested.

Henning

----------------------------------------------------------------------

Comment By: Jinke Jiang (jjksam)
Date: 2009-04-25 18:25

Message:
found the same problem in dialplan also. Same trick can be done in that
module Makefile.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743022&aid=2781237&group_id=139143



More information about the Devel mailing list