Closed kloczek closed 5 years ago
This isn't a help forum for learning compiling!
Only bugs should be reported.
All is written in your log.
fatal error: gio/gunixoutputstream.h: No such file or directory
You need to intall glib2-devel.
[root@mother rave]# dnf provides */gio/gunixoutputstream.h
glib2-devel-2.60.1-2.fc30.x86_64 : A library of handy utility functions
Quelle : @System
Übereinstimmung von:
Dateiname : /usr/include/gio-unix-2.0/gio/gunixoutputstream.h
Thank you.
And please honor our template, next time.
I have installed glib-devel and in attachment is patch which fixes the issue. If I would not have installed proper devel resources autoconf script would be not able to finish and generate make files.
Here is the patch
--- mate-settings-daemon-1.22.0/plugins/rfkill/Makefile.am~ 2019-02-10 13:56:46.000000000 +0000
+++ mate-settings-daemon-1.22.0/plugins/rfkill/Makefile.am 2019-04-27 11:58:25.262670356 +0100
@@ -17,7 +17,7 @@
$(AM_CPPFLAGS)
librfkill_la_CFLAGS = \
- $(PLUGIN_CFLAGS) \
+ $(GIOUNIX_CFLAGS) \
$(RFKILL_CFLAGS) \
$(SETTINGS_PLUGIN_CFLAGS) \
$(AM_CFLAGS)
@@ -26,7 +26,7 @@
$(MSD_PLUGIN_LDFLAGS)
librfkill_la_LIBADD = \
- $(RFKILL_LIBS) \
+ $(GIOUNIX_LIBS) \
$(SETTINGS_PLUGIN_LIBS)
plugin_in_files = rfkill.mate-settings-plugin.in
@kloczek Thank you for reporting your build experience, but I can't reproduce your build issue on Fedora.
sudo dnf builddep mate-settings-daemon -y
git clone https://github.com/mate-desktop/mate-settings-daemon.git
cd mate-settings-daemon
./autogen.sh --enable-rfkill --prefix=/usr
cd plugins/rfkill
make V=1
Reason:
See config.log file:
grep SETTINGS_PLUGIN config.log
All because in plugins/rfkill/Makefile.am is:
But there is no in configure.ac pkgconfig call to fill $(RFKILL_CFLAGS) and $(RFKILL_LIBS).