Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add mosquitto broker to repo #131

Open
Nic2012 opened this issue Sep 10, 2017 · 2 comments
Open

Add mosquitto broker to repo #131

Nic2012 opened this issue Sep 10, 2017 · 2 comments

Comments

@Nic2012
Copy link

Nic2012 commented Sep 10, 2017

Hi,
great work with this new distro, works fine. But could y add the MQTT broker Mosquitto to the repo.
I could compile it, but there are several dependencies (e.g. http://goochgooch.co.uk/2014/08/01/building-mosquitto-1-4/) needed for libwebsocket and Mosquitto that are not existing in repo.

Best reagards,
Nic

@ccstevens
Copy link
Collaborator

Hi,
Thanks! MQTT has been on my mind to support.

Which exact dependencies are missing? libwebsocket itself is not there, but it's dependencies are: zlib, cmake, and libopenssl (our default package has the libssl-dev files in /usr/include and /usr/lib). Are there C Library pieces missing as well for libwebsocket?

And for Mosquitto, it looks like we don't have uuid-dev, xsltproc, and docbook-xsl.

Is that your understanding as well?
-Chris

@Nic2012
Copy link
Author

Nic2012 commented Sep 11, 2017

Hi Chris,
yes according to mentioned URL, I have also read there are some dep, maybe these dep have also some dep that isnt yet in your repo. I am not a C expert, sorry and I havent compiled it on a Linux distro, but in OpenWrt, Asus-Merlin and Raspbian Jessie all have it in their repo, but always without websocket support.

But in the latest Raspbian/Linux Stretch when y install e.g. the Mosq-Broker the libwebsocket is installing automatically, which is a big progress. With incl. websocket support the Mosq. broker is able to send to Webbrowser client as well!

This http://www.steves-internet-guide.com/mqtt-websockets/ mentioned some problems with ares.h file, but he commits that http://goochgooch.co.uk/2014/08/01/building-mosquitto-1-4/ seems to work.

Best regards,
Nic

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants