You are not logged in.
Pages: 1
I would like to install xfce under ~/.local. I have successfully compiled libxfce4util, xconf and libxfce4ui. Now when it comes to garcon I get the following error messages.
Couldn't find include 'Libxfce4util-1.0.gir' (search path: '['.', '/usr/share', '/usr/share/xfce4/gir-1.0', '/usr/local/share/gir-1.0', '/usr/share/gir-1.0', '/usr/share/gir-1.0', '/usr/share/gir-1.0', '/usr/share/gir-1.0']')
make[3]: *** [/usr/share/gobject-introspection-1.0/Makefile.introspection:156: Garcon-1.0.gir] Error 1
make[3]: Leaving directory '/home/mal/code/share/xfce-4.18/garcon-4.18.0/garcon'
make[2]: *** [Makefile:588: all] Error 2
make[2]: Leaving directory '/home/mal/code/share/xfce-4.18/garcon-4.18.0/garcon'
make[1]: *** [Makefile:526: all-recursive] Error 1
make[1]: Leaving directory '/home/mal/code/share/xfce-4.18/garcon-4.18.0'
make: *** [Makefile:458: all] Error 2
Libxfce4util-1.0.gir is located under ~/.local/share/gir-1.0/. How do I make this work?
Offline
I have solved the problem. It turns out that .gir files are searched under the directories listed in $XDG_DATA_DIRS. I just had to add this line to my .bashrc
export XDG_DATA_DIRS=$XDG_DATA_DIRS:~/.local/share
More info here https://gi.readthedocs.io/en/latest/too … anner.html
Offline
Pages: 1
[ Generated in 0.008 seconds, 8 queries executed - Memory usage: 520.93 KiB (Peak: 521.77 KiB) ]