I am trying to update the MacOS Netdata client from 1.44 to 1.45, to take advantage of new features.
My Mac is running
Darwin server1.local 19.6.0 Darwin Kernel Version 19.6.0: Mon Aug 31 22:12:52 PDT 2020; root:xnu-6153.141.2~1/RELEASE_X86_64 x86_64
Which is a rather old Catalina 10.15.7
However it will not update.
I installed it originally using the regular method curl https://get.netdata.cloud/kickstart.sh > /tmp/netdata-kickstart.sh && sh /tmp/netdata-kickstart.sh --stable-channel --claim-token ....
I had to update/install somethings like
brew install libuvl
brew install libuv
But it did install and work fine.
I am following the details on Update Netdata | Learn Netdata to update using sudo ./netdata-updater.sh
Here is some of the output
server1:netdata mike$ sudo ./netdata-updater.sh
Mon 25 Mar 2024 23:35:55 GMT : INFO: netdata-updater.sh: Checking if a newer version of the updater script is available.
Mon 25 Mar 2024 23:35:56 GMT : INFO: netdata-updater.sh: Running on a terminal - (this script also supports running headless from crontab)
Mon 25 Mar 2024 23:35:56 GMT : INFO: netdata-updater.sh: Fetching dependency handling script...
Mon 25 Mar 2024 23:35:57 GMT : INFO: netdata-updater.sh: Running dependency handling script...
Sorry! This script needs BASH version 4+, but you have BASH version 3.2.57(1)-release
Mon 25 Mar 2024 23:35:57 GMT : ERROR: netdata-updater.sh: Installing build dependencies failed. The update should still work, but you might be missing some features.
Mon 25 Mar 2024 23:35:57 GMT : INFO: netdata-updater.sh: Current Version: 00104400300000
Mon 25 Mar 2024 23:35:57 GMT : INFO: netdata-updater.sh: Latest Version: 00104500000000
Mon 25 Mar 2024 23:35:57 GMT : INFO: netdata-updater.sh: Update available
./netdata-latest.tar.gz: OK
./netdata-updater.sh: line 609: pidof: command not found
Mon 25 Mar 2024 23:36:10 GMT : INFO: netdata-updater.sh: Re-installing netdata...
Then the first errors appear some moments later
[187/831] /Library/Developer/CommandLineTools/usr/bin/cc -I/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/netdata-updater-XXXXXXXXXX.I2iQr4ZF/netdata-v1.45.0/build -I/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/netdata-updater-XXXXXXXXXX.I2iQr4ZF/netdata-v1.45.0/src -I/usr/local/Cellar/pcre2/10.42/include -fexceptions -O3 -DNDEBUG -fstack-protector-strong -D_FORTIFY_SOURCE=3 -fcf-protection=full -ffunction-sections -fdata-sections -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk -mmacosx-version-min=10.15 -std=gnu11 -MD -MT CMakeFiles/log2journal.dir/src/collectors/log2journal/log2journal.c.o -MF CMakeFiles/log2journal.dir/src/collectors/log2journal/log2journal.c.o.d -o CMakeFiles/log2journal.dir/src/collectors/log2journal/log2journal.c.o -c /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/netdata-updater-XXXXXXXXXX.I2iQr4ZF/netdata-v1.45.0/src/collectors/log2journal/log2journal.c
FAILED: CMakeFiles/log2journal.dir/src/collectors/log2journal/log2journal.c.o
/Library/Developer/CommandLineTools/usr/bin/cc -I/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/netdata-updater-XXXXXXXXXX.I2iQr4ZF/netdata-v1.45.0/build -I/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/netdata-updater-XXXXXXXXXX.I2iQr4ZF/netdata-v1.45.0/src -I/usr/local/Cellar/pcre2/10.42/include -fexceptions -O3 -DNDEBUG -fstack-protector-strong -D_FORTIFY_SOURCE=3 -fcf-protection=full -ffunction-sections -fdata-sections -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk -mmacosx-version-min=10.15 -std=gnu11 -MD -MT CMakeFiles/log2journal.dir/src/collectors/log2journal/log2journal.c.o -MF CMakeFiles/log2journal.dir/src/collectors/log2journal/log2journal.c.o.d -o CMakeFiles/log2journal.dir/src/collectors/log2journal/log2journal.c.o -c /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/netdata-updater-XXXXXXXXXX.I2iQr4ZF/netdata-v1.45.0/src/collectors/log2journal/log2journal.c
In file included from /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/netdata-updater-XXXXXXXXXX.I2iQr4ZF/netdata-v1.45.0/src/collectors/log2journal/log2journal.c:3:
/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/netdata-updater-XXXXXXXXXX.I2iQr4ZF/netdata-v1.45.0/src/collectors/log2journal/log2journal.h:95:10: fatal error: 'yaml.h' file not found
#include <yaml.h>
^~~~~~~~
1 error generated.
[188/831] /Library/Developer/CommandLineTools/usr/bin/cc -I/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/netdata-updater-XXXXXXXXXX.I2iQr4ZF/netdata-v1.45.0/build -I/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/netdata-updater-XXXXXXXXXX.I2iQr4ZF/netdata-v1.45.0/src -I/usr/local/Cellar/pcre2/10.42/include -fexceptions -O3 -DNDEBUG -fstack-protector-strong -D_FORTIFY_SOURCE=3 -fcf-protection=full -ffunction-sections -fdata-sections -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk -mmacosx-version-min=10.15 -std=gnu11 -MD -MT CMakeFiles/log2journal.dir/src/collectors/log2journal/log2journal-help.c.o -MF CMakeFiles/log2journal.dir/src/collectors/log2journal/log2journal-help.c.o.d -o CMakeFiles/log2journal.dir/src/collectors/log2journal/log2journal-help.c.o -c /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/netdata-updater-XXXXXXXXXX.I2iQr4ZF/netdata-v1.45.0/src/collectors/log2journal/log2journal-help.c
FAILED: CMakeFiles/log2journal.dir/src/collectors/log2journal/log2journal-help.c.o
/Library/Developer/CommandLineTools/usr/bin/cc -I/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/netdata-updater-XXXXXXXXXX.I2iQr4ZF/netdata-v1.45.0/build -I/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/netdata-updater-XXXXXXXXXX.I2iQr4ZF/netdata-v1.45.0/src -I/usr/local/Cellar/pcre2/10.42/include -fexceptions -O3 -DNDEBUG -fstack-protector-strong -D_FORTIFY_SOURCE=3 -fcf-protection=full -ffunction-sections -fdata-sections -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk -mmacosx-version-min=10.15 -std=gnu11 -MD -MT CMakeFiles/log2journal.dir/src/collectors/log2journal/log2journal-help.c.o -MF CMakeFiles/log2journal.dir/src/collectors/log2journal/log2journal-help.c.o.d -o CMakeFiles/log2journal.dir/src/collectors/log2journal/log2journal-help.c.o -c /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/netdata-updater-XXXXXXXXXX.I2iQr4ZF/netdata-v1.45.0/src/collectors/log2journal/log2journal-help.c
In file included from /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/netdata-updater-XXXXXXXXXX.I2iQr4ZF/netdata-v1.45.0/src/collectors/log2journal/log2journal-help.c:3:
/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/netdata-updater-XXXXXXXXXX.I2iQr4ZF/netdata-v1.45.0/src/collectors/log2journal/log2journal.h:95:10: fatal error: 'yaml.h' file not found
#include <yaml.h>
^~~~~~~~
1 error generated.
Any help is very welcome, thanks.
Mike