Hi Karl.
I'm using make...
In the meantime I've deleted that option (editing "
config.mk") and the compilation was OK!
Actually I encountered another problem: the option "--strip-program=…" in the install is not supported by the busybox of my qnap NAS.
So I've edited each Makefile and deleted the "--strip-program=…". By doing this, the "make install" completed succesfully!!
Just another little point... I don't know if it's a bug of the scripts or it's due to my lack of experience: I decided to install mosquitto in "/opt" instead of the default "/usr/local". I've edited "
config.mk" to change "prefix" from "/usr/local" to "/opt". The result was as expected for all the files (i.e. installed in "/opt/...") except few files that have been installed in "/etc" even if prefix was "/opt". Such files are:
/etc/mosquitto/mosquitto.conf.example
/etc/mosquitto/pskfile.example
/etc/mosquitto/aclfile.example
/etc/mosquitto/pwfile.example
I've solved by manually copying those files to "/opt/etc".
Now i've a NAS running mosquitto! I'm testing it to make sure that my compilation has generated reliable binaries...
Br.