[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
|
Re: [mosquitto-dev] 2.1.0rc1 available for testing
|
On Wed, 21 Jan 2026 at 10:15, c--- via mosquitto-dev
<mosquitto-dev@xxxxxxxxxxx> wrote:
> - I couldn’t get apps/mosquitto_ctrl to compile because Xcode has readline 0x0402 installed
> (urrent readline version is 0x0803!) and overriding EDITLINE_DIR wasn’t successful (I am not a cmake expert):
> ```
> [ 26%] Building C object apps/mosquitto_ctrl/CMakeFiles/ctrl_shell.dir/ctrl_shell.c.o
> In file included from /Users/ckrey/mosquitto/apps/mosquitto_ctrl/ctrl_shell.c:40:
> /Users/ckrey/mosquitto/apps/mosquitto_ctrl/ctrl_shell_internal.h:38:2: error: unknown type name 'rl_vcpfunc_t'
> 38 | rl_vcpfunc_t *line_callback;
> | ^
Yes, this is a pain. It uses editline for license reasons, but with
the readline compatible interface. I didn't realise this wasn't
commonplace.
> - linking test/lib/c and test/lib/cpp with ssl needs adaptation of the CMakelist.txt files
> - target_link_libraries(${TARGET} PRIVATE common-options mosquittopp ssl crypto)
> + target_link_libraries(${TARGET} PRIVATE common-options mosquittopp OpenSSL::SSL)
Sorted.
> - missing includes in test/lib/cpp/03-publish-loop-manual.cpp
Sorted, thank you.
> - a few warnings:
I think I've got most of those sorted now.
> I tried setting up python3 virtual environments with psutil installed via pip, but no success:
> ```
> 7 "broker-01-bad-initial-packets" start time: Jan 20 09:10 CET
> 8 Output:
> 9 ----------------------------------------------------------
> 10 Traceback (most recent call last):
> 11 File "/Users/ckrey/mosquitto/test/broker/01-bad-initial-packets.py", line 6, in <module>
> 12 import psutil
> 13 ModuleNotFoundError: No module named 'psutil'
> 14 <end of output>
> 15 Test time = 0.06 sec
> ```
>
> All the sqlite test cases fail with similar error messages:
I'm surprised any of the plugin tests work on mac actually - they all
assume .so for the shared library ending.
Cheers,
Roger