Click to See Complete Forum and Search --> : Gkrellm Plugins


Bambi
08-08-2001, 12:00 PM
I am trying to compile the Gkrellmmms plugin and i get these errors :


gcc -O2 -Wall -fPIC `gtk-config --cflags` `imlib-config --cflags-gdk` `xmms-config --cflags` -c -o gkrellmms.o gkrellmms.c
/bin/sh: gtk-config: command not found
/bin/sh: imlib-config: command not found
/bin/sh: xmms-config: command not found
In file included from gkrellmms.c:21:
gkrellmms.h:21:29: gkrellm/gkrellm.h: No such file or directory
gkrellmms.h:22:27: xmms/xmmsctrl.h: No such file or directory
make: *** [gkrellmms.o] Error 1

I have tried installing gnome because i thought it was a missing libraries problem and was hoping gnome would solve this but nothing hase changed. I am compiling as a normal user from my user account. and i have gkrell installed and running. Any suggestions?

ronmon
08-08-2001, 01:42 PM
It is looking for gtk-config and xmms, but can't find them. You need to tell make where to look. You didn't say what distro you're using so I'll use my beloved Slackware as a good example. It's appropriate since GNOME is installed under /opt and you always have to do this:

./configure --sysconfdir=/etc/opt/gnome --with-gnome-prefix=/opt/gnome

Then make should run properly. To find out if where they are, do which gtk-config, etc. If you don't use Slack, you can omit the sysconfdir option unless you know where yours is.

Bambi
08-09-2001, 06:20 AM
Ok What if i have not got Gnome installed?. Are there just some librys i can instal that will make it work rather than installing the whole of gnome. I am running Madrake 8

xhadow
08-09-2001, 07:01 AM
err..make sure you installed the development pakages if any,
eg. xmms-1.2.4-dev.i386.rpm
the dev pakages contains all the include files which youl need when compiling apps

ronmon
08-09-2001, 09:05 AM
Now (or maybe even before you started) would be a good time to read a little documentation on gkrellm.

You can find it here (http://web.wt.net/~billw/gkrellm/gkrellm.html).

Bambi
08-10-2001, 10:11 AM
Right, I have read all about Gkrellm requirements and have installed :

gtk
gdk (although this was gdk-pixbuf on my cd)
glib
imlib
imlib-cfgeditor
xmms-devel
and i am still getting compile errors :

gcc -O2 -Wall -fPIC `gtk-config --cflags` `imlib-config --cflags-gdk` `xmms-config --cflags` -c -o gkrellmms.o gkrellmms.c
/bin/sh: imlib-config: command not found
In file included from gkrellmms.c:21:
gkrellmms.h:21:29: gkrellm/gkrellm.h: No such file or directory
make: *** [gkrellmms.o] Error 1

As far as i can see it is a missing imlib command but i have installed everything mentioning imlib on my install cds. What am i doing wrong?

Bambi
08-13-2001, 06:25 AM
Imlib is part of enlightenment am i not correct. Do i need to install enlightenment?

Bambi
08-16-2001, 11:12 AM
I am having to drag this up from the distant passt because i am still stuck. I have tried compiling some other stuff and am getting simmilar errors. They all mention imlib-config: command not found. I have enlightenment, gtk-devel, and xmms-devel reinstalled but still the same problem. and i dont know what else to do. Can someone please help?

PLBlaze
08-16-2001, 11:20 AM
Try imlib from
ftp://ftp.gnome.org/pub/GNOME/stable/sources/imlib
you will need to compile it of course...as why imlib-config si not found even though you have it installed i would guess is that either your $PATH does not contain imlib-config directory or teh package you installed is not the right one.Have you located imlib-config on your box? whereis,locate should do it.Also you could pass a flag to configure to specifically tell the script to look for imlib-config eg. --with-imlib=/opt/gnome/bin ...Hope this helps.

bdg1983
08-16-2001, 11:42 AM
Since additional libraries have been installed, would it be advisable to verify the library paths are in /etc/ld.so.conf and to also execute 'ldconfig' to apply the updates?

PLBlaze
08-16-2001, 12:20 PM
mdwatts you are correct Sir, ldconfig will update the lib path db and it never hurts to check /etc/ld.so.conf for correct paths or add new ones...

Bambi
08-16-2001, 12:23 PM
I did do a search for imlib but nothing... I will try downloading and installing it that way and see how it goes. Thanks for all the help!