Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2015-09-13 04:58:24

#! Junkie
Registered: 2009-09-27
Posts: 276

How to install plugin gkrellsun

/.gkrellm2/plugins/gkrellsun-1.0.0# make 

Building gkrellsun for GKrellM version 2.2.x

NOTE: GKrellM 2.2.x is for GTK+ 2.4.x versions.

cd src20; make; cd ..
make[1]: Entering directory '/home/sade/.gkrellm2/plugins/gkrellsun-1.0.0/src20'
gcc  -O2 -Wall -fPIC `pkg-config gtk+-2.0 --cflags` -DPACKAGE="\"gkrellsun\""    -c -o gkrellsun.o gkrellsun.c
/bin/sh: 1: pkg-config: not found
In file included from /usr/include/gkrellm2/gkrellm.h:41:0,
                 from gkrellsun.c:10:
/usr/include/gkrellm2/log.h:37:18: fatal error: glib.h: No such file or directory
 #include <glib.h>
compilation terminated.
<builtin>: recipe for target 'gkrellsun.o' failed
make[1]: *** [gkrellsun.o] Error 1
make[1]: Leaving directory '~/.gkrellm2/plugins/gkrellsun-1.0.0/src20'

.gkrellm2/plugins/gkrellsun-1.0.0# make clean
cd src20; make clean; cd ..
make[1]: Entering directory '~/.gkrellm2/plugins/gkrellsun-1.0.0/src20'
rm -f *.o core *.so* *.bak *~
make[1]: Leaving directory '~/.gkrellm2/plugins/gkrellsun-1.0.0/src20'
rm -f gkrellsun*.zip gkrellsun*.tar.gz

Last edited by mzsade (2015-09-13 07:47:48)


Help fund CrunchBang, donate to the project!

#2 2015-09-13 13:25:51

Registered: 2012-05-22
Posts: 2,205

Re: How to install plugin gkrellsun

works on my sytem.
you don't use root with make, so it's just

$ make

and you don't have to install it - you can simply copy the resulting to ~/.gkrellm2/plugins/.

but, i think on debian you have to install development versions of packages.
this is a problem you will always run into when trying to compile sth.
so if, for example, it complains that
"No package 'gtk+-2.0' found"
then you have to install sth that contains "gtk", "2", and "dev" in its name. usually you can find it with synaptic packet managers advanced search function.

are you sure there isn't a package for gkrellsun already?

Last edited by ohnonot (2015-09-13 13:27:13)


#3 2015-09-13 18:13:02

#! Junkie
Registered: 2009-09-27
Posts: 276

Re: How to install plugin gkrellsun

Thanks @ohnonot, sorry i couldn't get back to you sooner, i got sidetracked into upgrading to sid and botched it up royally. It's a wonder that i can still boot into this messed up system (I can't even update because i have no /boot/initramfs..never mind, i am a clueless idiot. Had the good sense to make a backup with fsarchiver before and will have to restore it again, and go through the trouble of editing the /etc/fstab and reinstalling grub-efi, that comes with it.

This gkrellsun issue seems quite trivial to me now and yes, it doesn't come with the repos like gkrellmoon which seems sttrange. I guess Debian developers are night people. :lol

Last edited by mzsade (2015-09-13 18:17:10)


Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.
Server: acrobat

Debian Logo