LinuxQuestions.org
Visit Jeremy's Blog.
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 01-13-2009, 05:48 AM   #1
sillyfofilly
LQ Newbie
 
Registered: Sep 2008
Posts: 7

Rep: Reputation: 0
Can't compile music-applet-2.5.1 in Fedora 10


I'm trying to compile music-applet-2.5.1 and am receiving some errors.

I have extracted the tarball and after running "sudo ./configure" I get this

checking for pygtk-2.0... Package pygtk-2.0 was not 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) 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 have installed the package pygtk2 from the repos. I have used nautilus to run a search on the whole file system for pygtk-2.0.pc and nothing came up.

If I have the right packages installed, just in a strange location, how can I find where they are? and what command will tell pkg-config about it?

Otherwise, what other packages do I need to install?
 
Old 01-13-2009, 08:01 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,175
Blog Entries: 1

Rep: Reputation: 2042Reputation: 2042Reputation: 2042Reputation: 2042Reputation: 2042Reputation: 2042Reputation: 2042Reputation: 2042Reputation: 2042Reputation: 2042Reputation: 2042
Quote:
I have installed the package pygtk2 from the repos. I have used nautilus to run a search on the whole file system for pygtk-2.0.pc and nothing came up.
The .pc files are located in /usr/lib/pkgconfig and they are used by pkg-config to identify the installed version of a software, e.g:
Code:
pkg-config --modversion pygtk-2.0
in my system returns 2.12.1

Quote:
If I have the right packages installed, just in a strange location, how can I find where they are? and what command will tell pkg-config about it?
In this case you can use the env. variable PKG_CONFIG_PATH to change the search path of .pc files:
Code:
export PKG_CONFIG_PATH=/path/to/somedir:$PKG_CONFIG_PATH
Quote:
Otherwise, what other packages do I need to install?
Your package manager should be able to resolve dependencies and d/l all the needed software. Afaik pygtk depends on pygobject.

Last edited by bathory; 01-13-2009 at 08:03 AM.
 
Old 01-13-2009, 08:29 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,518

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
The reguired package is 'pygtk2-devel' which provides
/usr/lib/pkgconfig/pygtk-2.0.pc and all other files
needed for compiling with pygtk2.

When "configure" asks for <package> it always means
<package-devel>.
....
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Music Applet for Gnome in F9 fakie_flip Linux - Software 0 05-27-2008 06:28 AM
Compile ultimate music CD kencaz General 16 08-26-2005 08:43 PM
A simple question:how to compile java applet in linux? nickhx Programming 5 08-11-2004 03:11 AM
Fedora core 2 battery applet issue nanofa Fedora 1 05-23-2004 02:55 PM
Can't compile Java Swing Applet with javac chansky Programming 4 09-23-2002 04:50 PM

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

All times are GMT -5. The time now is 07:10 AM.

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