isDipesh / gnome-shell-extension-sensors

Gnome shell extension: Shows CPU temperature, HDD temperature, voltage and fan RPM
https://motorscript.com/gnome-shell-extension-sensors/
161 stars 153 forks source link

make local-install fails with error about schemas. #98

Open Rmano opened 10 years ago

Rmano commented 10 years ago

Hi, I have tried to compile this (really nice) extension by myself, to have the memory leak fix in my 3.8 installation. I have cloned the git directory under a temporary dir, and then followed the instructions...

./autogen.sh goes well. After that, issuing make local-install fails with

cp: cannot stat ‘./.build/usr/local/share/glib-2.0/schemas’: No such file or directory

Full log: http://pastebin.com/Za8Ssdkg

Any hint? Thanks a lot!

farsx commented 10 years ago

You probably miss glib2-devel or libglib2.0-dev packages, depending on your distribution. Make sure to install all the dependencies listed on the project page, switch to gnome-3.8 branch and then run ./autogen.sh again.

Rmano commented 10 years ago

Ok, thanks. That did it. I supposed that having no errors on the build phase meant that I had all the dependency... my bad. OTOH, I have to say that the leak, although slower, happens without sensors installed to. I tried to install gnome 3.10 on another machine, but seems that the leak is still there too. Sigh...

farsx commented 10 years ago

There is an error but it's rather trick because the script doesn't stop andò it's masked by the other prints.. ;)

checking for perl >= 5.8.1... 5.14.2 checking for XML::Parser... ok checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.22... yes ./configure: line 4339: GLIB_GSETTINGS: command not found checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating data/Makefile config.status: creating po/Makefile.in