Installation Openzwave 1.6 for dev environment (WSL and Ubuntu)

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.

  1. Download Openzwave 1.6
wget http://old.openzwave.com/downloads/openzwave-1.6.1914.tar.gz
  1. Extract
tar zxvf openzwave-1.6.1914.tar.gz
  1. Move to the extracted folder
cd openzwave-1.6.1914
  1. 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
  1. Build and install
make && sudo make install
  1. 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)

I moved this topic to « tutorials », wouldn’t this tutorial deserve to be in the WSL site documentation?

I also hope we’ll soon get rid of this completely obsolete dependency! ^^

I wondered about that too, but the patch is supposed to be temporary :confused:
But nothing is moving on the repo (It’s an issue from 2021 that put me on the track)

Oh I see… well don’t worry then, I really hope one day we’ll remove this dependency ^^

Pas Faux GIFs | Tenor