Xfce Forum

Sub domains
 

You are not logged in.

#1 2023-01-04 11:10:15

mal1213
Member
Registered: 2023-01-04
Posts: 2

Trouble building xfce-4.18 from source

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

#2 2023-01-04 11:34:10

mal1213
Member
Registered: 2023-01-04
Posts: 2

Re: Trouble building xfce-4.18 from source

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

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.008 seconds, 8 queries executed - Memory usage: 520.93 KiB (Peak: 521.77 KiB) ]