On Monday 03 March 2014 09:08:46 Ted Creedon wrote:
> /usr/local/share needs to be explicitly added to XDG_DATA_DIRS
> echo $XDG_DATA_DIRS
> /usr/share:/usr/share:/usr/local:/usr/local/share
> 
I agree with John. Considering what XDG_DATA_DIRS was originally set to I would 
argue it 
should not be set at all in the first place. "/usr/share:/usr/share" really 
makes no sense and 
suggests misconfiguration.

If you set it somewhere like that you should unset it. If Suse set it, ask to 
remove/fix it.

As I said before when XDG_DATA_DIRS is unset, glib will automatically look in 
/usr/share and 
/usr/local/share. So if these two are the only locations that matter, 
XDG_DATA_DIRS should 
be empty.

By the way if you would have followed my other advice of installing in (for 
example) /opt 
rather than /usr/local the build process would have taken care of setting 
XDG_DATA_DIRS 
appropriately for you. It will not do this when you are installing in either 
/usr or /usr/local as 
these are special installation directories.

But I'm glad you managed to get GnuCash running anyway.

Geert
_______________________________________________
gnucash-devel mailing list
[email protected]
https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Reply via email to