Re: [sr-dev] [kamailio/kamailio] support pkg-config when detecting libxml2 (#2199)

2020-05-11 Thread Daniel-Constantin Mierla
Sure -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/2199#issuecomment-626669306___ Kamailio (SER) - Development Mailing List

Re: [sr-dev] [kamailio/kamailio] support pkg-config when detecting libxml2 (#2199)

2020-05-11 Thread Victor Seva
can We backport this changes to 5.3? -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/2199#issuecomment-626667878___ Kamailio (SER) -

Re: [sr-dev] [kamailio/kamailio] support pkg-config when detecting libxml2 (#2199)

2020-02-13 Thread Daniel-Constantin Mierla
Closed #2199. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/2199#event-3034072556___ Kamailio (SER) - Development Mailing List

Re: [sr-dev] [kamailio/kamailio] support pkg-config when detecting libxml2 (#2199)

2020-02-13 Thread Daniel-Constantin Mierla
Master should have all the mods updated. If someone prefers a different way, let's discuss further. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

Re: [sr-dev] [kamailio/kamailio] support pkg-config when detecting libxml2 (#2199)

2020-02-05 Thread Daniel-Constantin Mierla
I think the best would be to figure out first if `xml2-config` exists and if yes, use it, otherwise look for `pkg-config`. I expect `xml2-config` comes from developers of the project, while `pkg-config` is more a distro/packager variant, but the main argument would be that currently it works

Re: [sr-dev] [kamailio/kamailio] support pkg-config when detecting libxml2 (#2199)

2020-02-03 Thread Henning Westerholt
Do we have any conclusion here, should we go this way: > I will go for try first pkg-config and let xml2-config as a fallback since > that change is going to be just in newer versions. and about the MacOS - maybe the compilation will also work with the fewer flags, I can't test it though. --

Re: [sr-dev] [kamailio/kamailio] support pkg-config when detecting libxml2 (#2199)

2020-01-22 Thread sergey-safarov
Oldest `RHEL-6` based dist (CentOS-6, Oracle Linux 6) is have `pkgconfig-0.23-9` and `libxml2-2.7.6` ``` [root@8760520b12b8 /]# cat /usr/lib64/pkgconfig/libxml-2.0.pc prefix=/usr exec_prefix=/usr libdir=/usr/lib64 includedir=/usr/include modules=1 Name: libXML Version: 2.7.6 Description:

Re: [sr-dev] [kamailio/kamailio] support pkg-config when detecting libxml2 (#2199)

2020-01-22 Thread Daniel-Constantin Mierla
I see that 26 modules use it in Makefile. On the other hand, on macos, the output of xml2-config and pkg-config are different: ``` $ xml2-config --libs -L/opt/local/lib -lxml2 -L/opt/local/lib -lz -L/opt/local/lib -llzma -lpthread -liconv -L/opt/local/lib -licui18n -licuuc -licudata -lm $

Re: [sr-dev] [kamailio/kamailio] support pkg-config when detecting libxml2 (#2199)

2020-01-22 Thread Daniel-Constantin Mierla
@sergey-safarov - also older versions, not only current stable? -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

Re: [sr-dev] [kamailio/kamailio] support pkg-config when detecting libxml2 (#2199)

2020-01-22 Thread sergey-safarov
This dist already have `pkg-config` 1. CentOS 1. RHEL 1. Fedora 1. OpenSUSE 1. Oracle Linux 1. Alpine Linux So we can leave only pkg-config case. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

Re: [sr-dev] [kamailio/kamailio] support pkg-config when detecting libxml2 (#2199)

2020-01-22 Thread Daniel-Constantin Mierla
Anyone knowing if pkg-config for libxml2 available on all common distros, so we can remove its usage completely, or just go and try first pkg-config and let xml2-config as a fallback? -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it

Re: [sr-dev] [kamailio/kamailio] support pkg-config when detecting libxml2 (#2199)

2020-01-22 Thread Victor Seva
I will go for try first pkg-config and let xml2-config as a fallback since that change is going to be just in newer versions. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

[sr-dev] [kamailio/kamailio] support pkg-config when detecting libxml2 (#2199)

2020-01-22 Thread Victor Seva
>From https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=949521: > your package is using `xml2-config` to detect and use libxml2. I'm removing that script, so please update your build system to use pkg-config instead. > >Additionally, your package is not failing to build, so it's creating binaries