Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 10-07-2009, 10:15 AM   #1
LQ Newbie
Registered: Oct 2009
Posts: 3

Rep: Reputation: 0
cannot find hal package, or glib-config, please help

I am trying to configure and install a couple of programs. And i run into a couple of problems

The first is when i try to configure xmms

i type ./configure in the command line, and everything works fine, except when i get to glib, it says

checking for
checking for glib - version >=

i had this problem on another computer, and i installed a gtk package of some kind, but i cant remember or figure out which one it was

My other problem is when i try and install Sonbird.

the problem happens what it checks for the hal package

checking for hal.. package hal not found in the pkg-config search path

i have installed the hal package through the package manager, so i dont know how to solve this problem

Thanks for reading
Old 10-07-2009, 11:37 AM   #2
ReliaFree Maintainer
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
XMMS uses GTK version 1 for its GUI. You will need to install GTK1 which will require glib1.

You have to install the development files for HAL, not just the runtime files. Since you don't tell us what distribution you're using, its difficult to tell what the name of the HAL development package would be.
Old 10-07-2009, 01:16 PM   #3
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 CentOS7.9 + 50+ other Linux OS, for test only.
Posts: 17,486

Rep: Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635
Ubuntu : This will do :

sudo apt-get install libgtk1.2-dev libglib1.2-dev libhal-dev

When configure asks for "name" , it most often
means 'lib<name>-dev'.
The ' -dev ' packages contains the files needed
for compilation, including /usr/lib/pkgconfig/'file'.pc

But it is not a good idea to compile xmms, is much better
to use : sudo apt-get install xmms2

Last edited by knudfl; 10-07-2009 at 01:26 PM.
Old 10-07-2009, 02:40 PM   #4
Senior Member
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873
hal is only part of the new stuff. And part of dbus + avahi + hal. If you need it for a package in your distro, your distro should have grabbed it as a dependency when you installed the package that needed it. (in a perfect world). Assuming that you got the package from your distro. I have that stuff installed, but generally don't run it. If you've customized things like I have, you might consider doing that package from source without that dependency if you can. Or just run with the times and bloat up. You might still need all of the -dev's though for sources to compile.

In short install dbus. It should grab hal and friends.



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
pkg-config can't find installed package JAKK Slackware 16 08-11-2008 09:07 AM
conflicting glib versions and glib-config scius Linux - Software 5 06-03-2008 02:35 AM
'pkg-config --modversion glib-2.0' returned 2.16.3, but GLIB (2.14.6) pgb205 Linux - Software 7 05-17-2008 03:21 PM
Ardour - configure cannot find glib-config rtfondren Linux - Software 1 04-14-2004 05:29 PM
Cannot find gtk-config and glib-config NOT_Skeletor Linux - Software 3 06-27-2003 09:39 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:40 PM.

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