Small tutorial for devs on Ubuntu or WSL, I rebuilt my dev env under WSL and had issues with openzwave
To remind, this is a system dependency for zwave integration.
- Download Openzwave 1.6
wget http://old.openzwave.com/downloads/openzwave-1.6.1914.tar.gz
- Extract
tar zxvf openzwave-1.6.1914.tar.gz
- Move to the extracted folder
cd openzwave-1.6.1914
- Patch (the latest versions no longer build on Ubuntu, Debian, etc…)
wget https://gist.githubusercontent.com/VonOx/9229c8815edc2ece33fdff7bcc15bc25/raw/225b66516829853d3c368f51234f4c09bb5b1361/ozw1914.patch && patch -p1 < ozw1914.patch
- Build and install
make && sudo make install
- Modify the environment
sudo sed -i '$a LD_LIBRARY_PATH=/usr/local/lib64' /etc/environment
sudo ldconfig
After that, the installation of npm packages will work (and eslint as well)
