[EnMasse] Issue building qpid-proton on Fedora

Nandan Joshi njoshi at redhat.com
Sat Jan 20 00:51:15 UTC 2018


Thanks, David. Did get my question answered on Qpid users.

With qpid-proton-0.19.0, I am not able to connect to enmasse messaging. The
host/port/queue params that work in the rhea JS examples (simple_send,
simple_recv) do not seem to work with the simple_recv.py and simple_send.py
e.g.s. When I run the simple_send or simple_recv with the address
configured as follows, in the console, I don't see a receiver on the queue
or topic specified.

parser.add_option("-a", "--address", default="
messaging-enmasse153proj.apps.dev37.openshift.opentlc.com:443/mytopic",
                  help="address from which messages are received (default
%default)")

Do the Python examples need to be configured differently?

Nandan

On Thu, Jan 18, 2018 at 3:58 AM, David Ingham <dingham at redhat.com> wrote:

> HI,
>
> Can I suggest you try the Qpid users list [1] for Proton issues.
>
> Thanks,
> Dave.
>
> [1] https://qpid.apache.org/discussion.html
>
> On Thu, Jan 18, 2018 at 12:51 AM, Nandan Joshi <njoshi at redhat.com> wrote:
>
>> Following the instructions to build the qpid-proton language bindings for
>> Python (  http://qpid.apache.org/proton/ and follow the link for
>> Installing Qpid Proton), I get the following error.
>>
>>
>>  make install
>> [  1%] Built target generated_c_files
>> [ 13%] Built target qpid-proton-core
>> [ 31%] Built target qpid-proton
>> [ 32%] Built target qpid-proton-proactor
>> [ 33%] Built target msgr-send
>> [ 34%] Built target msgr-recv
>> [ 36%] Built target reactor-recv
>> [ 37%] Built target reactor-send
>> [ 38%] Linking CXX shared library libqpid-proton-cpp.so
>> CMakeFiles/qpid-proton-cpp.dir/src/proactor_container_impl.cpp.o: In
>> function `std::thread::thread<void (proton::container::impl::*)(),
>> proton::container::impl*>(void (proton::container::impl::*&&)(),
>> proton::container::impl*&&)':
>> /usr/include/c++/7/thread:126: undefined reference to `pthread_create'
>> collect2: error: ld returned 1 exit status
>> make[2]: *** [proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/build.make:1397:
>> proton-c/bindings/cpp/libqpid-proton-cpp.so.11.1.0] Error 1
>> make[1]: *** [CMakeFiles/Makefile2:1886: proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/all]
>> Error 2
>> make: *** [Makefile:141: all] Error 2
>>
>> Anyone run into this? On Fedora 26. Looks like the compiler needs a
>> -pthread option. Not sure where to specify.
>>
>> Any help or pointers greatly appreciated.
>>
>> Regards,
>>
>> Nandan Joshi
>>
>> _______________________________________________
>> enmasse mailing list
>> enmasse at redhat.com
>> https://www.redhat.com/mailman/listinfo/enmasse
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/enmasse/attachments/20180119/fd416b46/attachment.htm>


More information about the enmasse mailing list