|Re: [mosquitto-dev] Building 1.4 With Websockets on OS X 10.10|
Sorry guys, I'd miss out the step:git checkout 1.4But didn't do:git fetch 1.4:1.4But I believe the outcome is the same.I can now complete the build, so thanks for making the change, but when trying to run the broker, I get the following, config attached:Error: Websockets support not available.Error found at /etc/mosquitto/mosquitto-external.conf:27.Error: Unable to open configuration file.Interestingly I'm getting some errors on the sudo make install:Install the project...-- Install configuration: ""-- Up-to-date: /usr/local/etc/mosquitto/mosquitto.conf-- Up-to-date: /usr/local/etc/mosquitto/aclfile.example-- Up-to-date: /usr/local/etc/mosquitto/pskfile.example-- Up-to-date: /usr/local/etc/mosquitto/pwfile.example-- Installing: /usr/local/lib/libmosquitto.1.4.dylib-- Up-to-date: /usr/local/lib/libmosquitto.1.dylib-- Up-to-date: /usr/local/lib/libmosquitto.dylib-- Up-to-date: /usr/local/include/mosquitto.hrunning /sbin/ldconfig 2>&1/bin/sh: /sbin/ldconfig: No such file or directory-- Installing: /usr/local/lib/libmosquittopp.1.4.dylib-- Up-to-date: /usr/local/lib/libmosquittopp.1.dylib-- Up-to-date: /usr/local/lib/libmosquittopp.dylib-- Up-to-date: /usr/local/include/mosquittopp.hrunning /sbin/ldconfig 2>&1/bin/sh: /sbin/ldconfig: No such file or directory-- Installing: /usr/local/bin/mosquitto_pub-- Installing: /usr/local/bin/mosquitto_sub-- Up-to-date: /usr/local/sbin/mosquitto-- Up-to-date: /usr/local/include/mosquitto_plugin.h-- Up-to-date: /usr/local/bin/mosquitto_passwdrunning /sbin/ldconfig 2>&1/bin/sh: /sbin/ldconfig: No such file or directoryCMake Error at man/cmake_install.cmake:31 (file):file INSTALL cannot find"/Users/ben/dev/mosquitto/org.eclipse.mosquitto/man/mosquitto_passwd.1".Call Stack (most recent call first):cmake_install.cmake:44 (include)On 24 January 2015 at 22:25, Roger Light <roger@xxxxxxxxxx> wrote:Hi Jos,
The bitbucket repository hasn't been updated since the start of
November, the Eclipse git repositories are now the canonical sources.
The readme at bitbucket does try to make that clear :)
You're right that Ben's steps as described don't produce the problem,
he missed out the step to change to the 1.4 branch:
git clone https://git.eclipse.org/r/mosquitto/org.eclipse.mosquitto
git fetch origin 1.4:1.4
git checkout 1.4
On Sat, Jan 24, 2015 at 10:08 PM, Jos Vos <jos@xxxxxx> wrote:
> On Sat, Jan 24, 2015 at 03:14:24PM +0000, ben.day.280412@xxxxxxxxx wrote:
>> I’m trying to build Mosquitto 1.4 with websockets support, but the build is failing.
>> The steps I’ve taken are as follows:
>> git clone git://git.eclipse.org/gitroot/mosquitto/org.eclipse.mosquitto.git <git://git.eclipse.org/gitroot/mosquitto/org.eclipse.mosquitto.git>
>> cd org.eclipse.mosquitto
>> mkdir build
>> cd build
>> cmake ..
> I didn't know about this git repository, but I repeated the steps you
> listed and I don't see websocket support in that tree.
> I'm also testing the pre-1.4 version with websocket support, but I use
> the mosquitto repository at bitbucket, which works fine (but that's on
> Linux, so your problem on OS X might still be there of course).
> -- Jos Vos <jos@xxxxxx>
> -- X/OS Experts in Open Systems BV | Phone: +31 20 6938364
> -- Amsterdam, The Netherlands | Fax: +31 20 6948204
> mosquitto-dev mailing list
> To change your delivery options, retrieve your password, or unsubscribe from this list, visit
mosquitto-dev mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
Back to the top