linux-wifi-hotspot: Unable to build on Manjaro
Describe the bug I’m unable to build this tool from source
To Reproduce Steps to reproduce the behavior:
- Run ‘yay -Sy linux-wifi-hotspot’
- Install all the required dependencies
- Wait for make to start
- See error
Expected behavior The program compiles fine
Desktop (please complete the following information):
- OS: Manjaro
- Version 20.1.1
Terminal output
==> Starting build()...
mkdir -p build
Run 'sudo make install' for installation.
Run 'sudo make uninstall' for uninstallation.
cd src && make
make[1]: Entering directory '/home/ag/.cache/yay/linux-wifi-hotspot/src/linux-wifi-hotspot-3.0.0/src'
/usr/bin/glib-compile-resources ui/glade/wifih.gresource.xml --target=ui/resources.c --sourcedir=ui/glade --generate-source
gcc -c -o ../build/main.o ui/main.c `pkg-config --cflags gtk+-3.0`
gcc -c -o ../build/ui.o ui/ui.c `pkg-config --cflags gtk+-3.0`
gcc -c -o ../build/h_prop.o ui/h_prop.c `pkg-config --cflags gtk+-3.0`
gcc -c -o ../build/util.o ui/util.c `pkg-config --cflags gtk+-3.0`
g++ -c -o ../build/read_config.o ui/read_config.cpp
make[1]: *** No rule to make target '../build/resources.o', needed by '../build/wihotspot-gui'. Stop.
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/home/ag/.cache/yay/linux-wifi-hotspot/src/linux-wifi-hotspot-3.0.0/src'
make: *** [Makefile:5: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
error making: linux-wifi-hotspot
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 1
- Comments: 16 (8 by maintainers)
Commits related to this issue
- Change window title Related #68 — committed to lakinduakash/linux-wifi-hotspot by lakinduakash 4 years ago
@marchingon12 The reason for not working from GUI is it does not include
ieee80211n
orieee80211ac
options. For a temporary fix, you can modify line https://github.com/lakinduakash/linux-wifi-hotspot/blob/5599e6fb824dd63a6cd94a914ae32d6f20503dc6/src/ui/h_prop.c#L101 assnprintf(cmd_mkconfig, BUFSIZE, "%s %s %s %s '%s' '%s' %s %s --ieee80211ac",SUDO, CREATE_AP, cv->iface_wifi, cv->iface_inet, cv->ssid, cv->pass,MKCONFIG,a);
Uninstall the current program and rebuild it and then install it.
I will add GUI option to select
ieee80211n
orieee80211ac
I’ll search on the arch wiki, but no, I don’t use windows cause it sucks
Great!
Sadly I’m not a C/C++ dev, so I don’t know how to help you… But you can check here to see how you can probably do this.
Doing this manually fixed the issue
Make output:
Make install output: