Re: Issue building qpid-proton on Fedora

2018-01-20 Thread nandanone
Thanks, all. The dnf install did the trick.

Nandan




--
Sent from: http://qpid.2158936.n2.nabble.com/Apache-Qpid-users-f2158936.html

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



Re: Issue building qpid-proton on Fedora

2018-01-19 Thread nandanone
Andrew::

I downloaded the 0.19.0 distribution of qpid-proton from the apache site.
The install instructions talk about building the distribution using
cmake/make. This is why I was trying to build the distribution (with Perl,
Ruby, PHP turned off). Is there a way to install the proton module and its
dependencies without a build? Otherwise when I try to run the examples in
the Python directory I get errors like

Traceback (most recent call last):
  File "simple_send.py", line 23, in 
from proton import Message
ImportError: No module named proton

I have set 
echo $PYTHONPATH 
/home/njoshi/Development/community/qpid-proton-0.19.0/

Thanks,

Nandan







--
Sent from: http://qpid.2158936.n2.nabble.com/Apache-Qpid-users-f2158936.html

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



Issue building qpid-proton on Fedora

2018-01-18 Thread nandanone
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*&&)':
/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



--
Sent from: http://qpid.2158936.n2.nabble.com/Apache-Qpid-users-f2158936.html

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