LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-27-2005, 07:24 AM   #1
Noido
Member
 
Registered: Apr 2005
Location: Cambridge, UK
Distribution: Slackware 10.2
Posts: 48

Rep: Reputation: 15
Installing gDesklets


I have downloaded the gDesklets file, extracted to a folder in /usr/local/ and changed directory to that folder in Konsole. I run ./configure and I get this:

checking for pygtk-2.0 >= 2.4.0 pyorbit-2 >= 2.0.1 gnome-python-2.0 >= 2.6.0... Package pygtk-2.0 wasnot found in the pkg-config search path.
Perhaps you should add the directory containing `pygtk-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'pygtk-2.0' found

configure: error: Library requirements (pygtk-2.0 >= 2.4.0 pyorbit-2 >= 2.0.1 gnome-python-2.0 >= 2.6.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.

i'm not entirely sure what this means, and how to fix it so any advice would be welcomed

I'm running Slackware by the way

~Noido
 
Old 06-27-2005, 07:40 AM   #2
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
That means what it says, you don't have pygtk or pygtk-devel packages installed. I found gdesklets difficult to compile, you might want to try installing a slackware package instead?

http://www.linuxpackages.net/search_...gdesklets&ver=
 
Old 06-27-2005, 07:46 AM   #3
Noido
Member
 
Registered: Apr 2005
Location: Cambridge, UK
Distribution: Slackware 10.2
Posts: 48

Original Poster
Rep: Reputation: 15
woops, n00b alert

thanks for the link; I would use this right away, but I have very little (if any) experience with linux installations and i'm no 100% sure where to start with package installation. is there a specific folder I have to install it to in order for all users to have access?

ok, scratch that, it's fixed

thanks for your help (very much)

~noido

Last edited by Noido; 06-27-2005 at 08:07 AM.
 
Old 06-27-2005, 08:07 AM   #4
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
Hi there Noido!

No need to worry, we have all been there once. First time I've tried Linux, I downloaded Winamp, double-clicked on the .exe, nothing happened and I call Linux a lot of names... ^_^.

You can download anywhere you want. Just never login as root, never. When you need to install/remove things, use the su command. Learn deeply the terminal, it will be your best friend. I will assume that there is an user called noido on your machine from here. First thing you've to do is to download the package. I like to keep the packages I download in a temp folder. A good place would be /home/noido/temp

Download the most appropriate file for your distribution. I will download for 9.1. This is the link:

http://www2.linuxpackages.net/packag...-i686-1pez.tgz

I've saved that file at /home/noido/temp. On terminal I do:

Code:
cd /home/noido/temp
su <you will be asked for your password>
installpkg gdesklets-0.26.2-i686-1pez.tgz
exit
If no dependencies were found, you should have gdesklets installed by now and you should be able to start it with any user by typing gdesklets on a terminal. That is, if you were lucky not having to install dependencies ^_^. I will post some useful links for you that should get you started:

Slackware tips and tricks
A lot of Slackware packages
Useful thread and information about installing programs
Slackware Linux Essentials

There are some tools as swaret that should help you installing dependencies as well. I've heard that emerge has been ported to Slackware. It certainly is worth a look =).

I hope it helps. Good luck!
 
Old 06-27-2005, 01:09 PM   #5
Noido
Member
 
Registered: Apr 2005
Location: Cambridge, UK
Distribution: Slackware 10.2
Posts: 48

Original Poster
Rep: Reputation: 15
oh dear :(

bash-3.00# gdesklets
You need a recent version of PyGTK to run this program.
Traceback (most recent call last):
File "/usr/bin/gdesklets", line 10, in ?
from main import init
File "/usr/share/gdesklets/main/__init__.py", line 37, in ?
from utils.i18n import Translator
File "/usr/share/gdesklets/utils/__init__.py", line 1, in ?
from FileWatcher import FileWatcher
File "/usr/share/gdesklets/utils/FileWatcher.py", line 3, in ?
import gtk
ImportError: No module named gtk
bash-3.00#


oh dear... what exactly is PyGTK? and where can I get it...
 
Old 06-27-2005, 01:56 PM   #6
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
It's just to search for the package in the link I've recommended you ^_^. There's even a brief description of what it is and what it does for most of the packages:

Quote:
PyGTK provides a convenient wrapper for the GTK+ library for use in Python programs, taking care of many of the boring details such as managing memory and type casting. When combined with PyORBit and gnome-python, it can be used to write full featured Gnome applications. Packaged by R S Ananda Murthy on an up-to-date Slackware 10 system without Dropline Gnome.
http://www.linuxpackages.net/search_...ame=pygtk&ver=
 
Old 06-29-2005, 11:17 AM   #7
Noido
Member
 
Registered: Apr 2005
Location: Cambridge, UK
Distribution: Slackware 10.2
Posts: 48

Original Poster
Rep: Reputation: 15
sorry to yet again burden you with my woes, but after I uninstall gdesklets, install pyGTK, reinstall gdesklets I get this:

bash-3.00# gdesklets
Traceback (most recent call last):
File "/usr/bin/gdesklets", line 10, in ?
from main import init
File "/usr/share/gdesklets/main/__init__.py", line 37, in ?
from utils.i18n import Translator
File "/usr/share/gdesklets/utils/__init__.py", line 2, in ?
from GConfWatcher import GConfWatcher
File "/usr/share/gdesklets/utils/GConfWatcher.py", line 3, in ?
import gconf
ImportError: No module named gconf


I haven't got a clue as to what this means....

thanks again for help
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
installing gDesklets kurcz Linux - Software 3 08-01-2005 01:41 AM
Installing gDesklets Bern911 Linux - Software 1 02-19-2005 08:13 PM
Error installing gDesklets Bern911 Linux - Software 1 02-19-2005 05:03 PM
problem installing gDesklets Bern911 Linux - Newbie 1 02-18-2005 04:33 PM
installing gdesklets minm Linux - Software 1 10-10-2004 11:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration