Have been trying to install mosquitto with websockets enabled on FreeBSD.
Following are the steps.FreeBSD 10.2-BETA1-p1 , amd64.
Installed the available mosquitto port on freebsd.
Made changes to the config.mk in File mosquitto-1.4.4.tar.gz located at /usr/ports/distfiles
Changed the SHA 256 and the file size in distinfo at /usr/ports/net/mosquitto . This is to make sure the file is not downloaded again from net.
Error: Websockets support not available.
Error found at /usr/local/etc/mosquitto/mosquitto.conf:152.
Unable to figure out what the issue maybe. I checked the work folder in the mosquitto port to see if websockets was set to yes. Everything seems to be correct.
Appreciate your help ,Thanking you all in advance .
GS
You need to change the conf file before you make it. And run make after make clean.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.