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.
- pkg remove mosquitto
- make clean
- make install
- Made changes to /usr/local/etc/mosquitto/mosquitto.conf . [port 1883 listener 9001 protocol websockets]
- mosquitto -d -c /usr/local/etc/mosquitto/mosquitto.conf
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