> [email protected] wrote: >> Hello, >> >> While I was attempting to compile Gcr-3.10.1 from the stable BLFS-7.5 >> book >> I was not able to do so until I did the following: >> >> XDG_DATA_HOME=/usr/share >> export XDG_DATA_HOME >> >> XDG_DATA_DIRS=/usr/share/ >> export XDG_DATA_DIRS >> >> I do not yet have KDE or GNOME fully installed, and was doing the >> compile >> from an xterm terminal. > > Can you post the error message? > >> These are only set from the kde.sh script. > > In BLFS-7.5 the /etc/profile script has changed. XDG_DATA_DIRS is set > there now. I'm not sure XDG_DATA_HOME is needed. > > That said, grepping though the gcr source shows no references to > XDG_DATA. It is used in glib though. > > -- Bruce > > > -- > http://linuxfromscratch.org/mailman/listinfo/blfs-support > FAQ: http://www.linuxfromscratch.org/blfs/faq.html > Unsubscribe: See the above information page >
Hello, The error that you get WITHOUT the XDG_DATA_DIRS set is: error: Package `GObject-2.0' not found in specified Vala API directories or GObject-Introspection GIR directories error: Package `Gio-2.0' not found in specified Vala API directories or GObject-Introspection GIR directories It is really misleading. I did quite a bit of research on the net and was only able to solve the installation by setting the XDG_DATA_DIRS and home dirs. It seems that I was using the 7.4 version of the /etc/profile. I added those paths to the profile file before I received your response. I always seem to encounter the obscure errors. At least if anyone else is getting this kind of error, if they check that the XDG path is set it should solve the problem. I have no idea why this solved it, if gcr is not even making a call to it, but it HAS solved it, for which I am very happy. Regards, Christopher -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
