qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleksandr Rudyy <oru...@gmail.com>
Subject Re: qpid-cpp cmake fails to find proton when PKG_CONFIG_PATH is set to non-standard <proton-prefix>/lib[64]/pkgconfig
Date Thu, 22 Mar 2018 12:02:11 GMT
Justin,

Thanks for fixing the issue. The jenkins job is building cpp-broker
successfully after your change.

On 21 March 2018 at 22:11, Justin Ross <justin.ross@gmail.com> wrote:
> Alex, with the following change now on master, the pkg-config based build
> is working for me.
>
> https://github.com/apache/qpid-cpp/commit/f14f1bc162c4f4249d6397cbf1ee2522074dc17a
>
> On Mon, Mar 19, 2018 at 2:20 PM, Justin Ross <justin.ross@gmail.com> wrote:
>
>> Seems likely that it's this change of mine.
>>
>> https://github.com/apache/qpid-cpp/commit/b18583a6c05d0bb8cb9502f0823d90
>> 2e17b2410e
>>
>> I'll try to reproduce and see if this really the cause.
>>
>> On Mon, Mar 19, 2018 at 12:28 PM, Robbie Gemmell <robbie.gemmell@gmail.com
>> > wrote:
>>
>>> I see the same thing on Fedora 26 too. There have been cmake-related
>>> changes on qpid-cpp and qpid-proton masters in recent days, its not
>>> immediately clear to me whether it is one or the other, or both.
>>>
>>> On 19 March 2018 at 17:15, Oleksandr Rudyy <orudyy@gmail.com> wrote:
>>> > Hi,
>>> >
>>> > Jenkins job Qpid-Broker-J-Python-Test started to fail due to an issue
>>> > with building cpp broker. The job was building qpid-cpp broker
>>> > successfully before 15th of March.
>>> >
>>> > The jobs installs proton into non-standard location and sets
>>> > PKG_CONFIG_PATH as specified in qpid-cpp INSTALL.txt.
>>> >
>>> > However, cmake fails to find proton and reports the following error:
>>> >
>>> > CMake Error: The following variables are used in this project, but
>>> > they are set to NOTFOUND.
>>> > Please set them or make sure they are set and tested correctly in the
>>> > CMake files:
>>> > Proton_LIBRARY
>>> >     linked by target "amqp" in directory
>>> > /home/jenkins/jenkins-slave/workspace/Qpid-Broker-J-Python-
>>> Test/qpid-cpp/src
>>> >     linked by target "qpidmessaging" in directory
>>> > /home/jenkins/jenkins-slave/workspace/Qpid-Broker-J-Python-
>>> Test/qpid-cpp/src
>>> >
>>> > What is interesting, that when both qpid broker and proton have the
>>> > same install prefix, proton is found successfully by cmake.
>>> >
>>> >
>>> > I can change the job to build qpid and proton with the same install
>>> > prefix, though, I would like to clarify whether the build scripts have
>>> > been changed intentionally  and setting of PKG_CONFIG_PATH as
>>> > described in INSTALL.txt is not supported any-more.
>>> >
>>> > I built on Fedora 27. Jenkins job is running on Ubuntu.
>>> > For both environments the same cmake error is reported with
>>> PKG_CONFIG_PATH.
>>> >
>>> > Kind Regards,
>>> > Alex
>>> >
>>> > ---------------------------------------------------------------------
>>> > To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org
>>> > For additional commands, e-mail: users-help@qpid.apache.org
>>> >
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org
>>> For additional commands, e-mail: users-help@qpid.apache.org
>>>
>>>
>>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org
For additional commands, e-mail: users-help@qpid.apache.org


Mime
View raw message