You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To Reproduce
Run make on system without GTK installed, such that pkgconf --variable=glib_compile_resources gio-2.0 will run without writing to stdout.
Expected behavior
I expect the Makefile to give me an error saying that gio isn't installed.
Screenshots
$ make
mkdir -p build
Run 'sudo make install' for installation.
Run 'sudo make uninstall' for uninstallation.
cd src && make
make[1]: Entering directory '/home/user/linux-wifi-hotspot/src'
ui/glade/wifih.gresource.xml --target=ui/resources.c --sourcedir=ui/glade --generate-source
make[1]: ui/glade/wifih.gresource.xml: Permission denied
make[1]: *** [Makefile:31: resources.c] Error 127
make[1]: Leaving directory '/home/chris/s/linux-wifi-hotspot/src'
make: *** [Makefile:5: all] Error 2
Desktop (please complete the following information):
OS: Raspberry Pi OS Lite
Additional context GLIB_COMPILE_RESOURCES = $(shell $(PKGCONFIG) --variable=glib_compile_resources gio-2.0) in src/Makefile is empty so $(GLIB_COMPILE_RESOURCES) ui/glade/wifih.gresource.xml --target=ui/$@ --sourcedir=ui/glade --generate-source tries to run ui/glade/wifih.gresource.xml as an executable.
The text was updated successfully, but these errors were encountered:
Describe the bug
When
make
is run on a system without GTK installed, the error is unhelpful.To Reproduce
Run
make
on system without GTK installed, such thatpkgconf --variable=glib_compile_resources gio-2.0
will run without writing to stdout.Expected behavior
I expect the Makefile to give me an error saying that gio isn't installed.
Screenshots
Desktop (please complete the following information):
Additional context
GLIB_COMPILE_RESOURCES = $(shell $(PKGCONFIG) --variable=glib_compile_resources gio-2.0)
insrc/Makefile
is empty so$(GLIB_COMPILE_RESOURCES) ui/glade/wifih.gresource.xml --target=ui/$@ --sourcedir=ui/glade --generate-source
tries to runui/glade/wifih.gresource.xml
as an executable.The text was updated successfully, but these errors were encountered: