Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mosquitto-dev] Building 1.4 With Websockets on OS X 10.10

I should note that I've modified config.mk and as follows:

WITH_WEBSOCKETS:=yes


On 25 January 2015 at 10:01, Ben Day <ben.day.280412@xxxxxxxxx> wrote:
Sorry guys, I'd miss out the step:

git checkout 1.4

But didn't do:

git fetch 1.4:1.4

But 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.h
running /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.h
running /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_passwd
running /sbin/ldconfig 2>&1
/bin/sh: /sbin/ldconfig: No such file or directory
CMake 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
cd org.eclipse.mosquitto
git fetch origin 1.4:1.4
git checkout 1.4

Cheers,

Roger


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 ..
>> make
>
> 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
> mosquitto-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from this list, visit
> https://dev.eclipse.org/mailman/listinfo/mosquitto-dev
_______________________________________________
mosquitto-dev mailing list
mosquitto-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/mosquitto-dev



Back to the top