(Linux) Build fails on newer Fedora ARM distro (Fedora 39 Asahi Linux for Apple Silicon)
Bug report
"Asahi Linux is a project that ports the Linux kernel and related software to Apple silicon-powered Macs." https://asahilinux.org/
A customer reports an error using the Raspberry Pi build guide (https://www.ivpn.net/knowledgebase/linux/building-the-ivpn-cli-client-for-linux-on-a-raspberry-pi/) with Asahi Linux on Apple Silicon hardware:
In file included from wifiNotifier/wifiNotifier_linux.go:14:
./iwlib_2_linux.c:7:10: fatal error: iwlib.h: No such file or directory
7 | #include <iwlib.h> // sudo apt-get install libiw-dev
| ^~~~~~~~~
compilation terminated.
ERROR building IVPN Daemon
I looked up online that iwlib has been deprecated. I dont know how to go forward from this. libiw-dev (nor wireless-tools-dev or otherwise) does not show up as an option when I use 'sudo dnf install'
--
Thanks.
We currently have no plans to transition away from Wireless Tools ('libiw-dev').
Nevertheless, I have implemented the option to skip it. Note that the 'Trusted WiFi' functionality will not be applicable in this case!
To bypass the requirement for the 'libiw-dev' package (and 'iwlib.h' header), the environment variable IVPN_NO_WIFI must be defined.
Example:
cd desktop-app/cli/References/Linux/
IVPN_NO_WIFI=true ./build.sh -v $VER