Slackware This Forum is for the discussion of Slackware Linux.
|
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
|
01-19-2006, 09:02 PM
|
#1
|
|
Member
Registered: Aug 2004
Posts: 56
Rep:
|
HAL and DBUS?
Hey guys just wondering what way you guys recogmend installing HAL and DBUS on slack 10.2? I tried downloading the source for each, but DBUS didn't seem to install eveything as pgk-config would complain about a missing package when I tried installing HAL.
My goal is to get HAL,DBUS, and powersave installed on my laptop, I fell short of that goal a few hours ago as I could get HAL running, then when trying to compile powersave, pkg-config would complain about missing dbus-1 or somthing. Also that was when I used HAL and dbus packages from linuxpackages.com.
Thanks.
|
|
|
|
01-19-2006, 09:10 PM
|
#2
|
|
Member
Registered: Nov 2005
Location: Columbus, OH, USA
Distribution: Slackware
Posts: 246
Rep:
|
I had troubles compiling hal from source on a stock 10.2 system. Rather than slog it out, I did the easy fix; grabbed the hal, dbus and libcap packages from Freerock Gnome. The packages on linuxpackages.net didn't work for me.
You'll need a 2.6 kernel to use them though.
|
|
|
|
01-19-2006, 09:18 PM
|
#3
|
|
Member
Registered: Aug 2004
Posts: 56
Original Poster
Rep:
|
Right, I had compiled 2.6 before i nuked it  also I am not familiar with Freerock Gnome. I mostly prefer KDE, or does this not matter? Did you just install Freerock, or did you extract HAL and dbus from the package?
Last edited by Archer36; 01-19-2006 at 09:26 PM.
|
|
|
|
01-21-2006, 12:55 PM
|
#5
|
|
Member
Registered: Mar 2004
Distribution: Slackware / Dropline GNOME
Posts: 378
Rep:
|
If you want to install HAL from the sources, you may want to know that 2.6 kernel headers are required, unless you manually make some small modifications to the 2.4 headers on your own.
If you need some inspiration, feel free to use our build scripts for HAL and Dbus.
http://prdownloads.sourceforge.net/d...r.bz2?download
All of these scripts were designed around our own custom build engine though:
http://dlgwiki.dot42.org/index.php/Build_Engine
|
|
|
|
01-21-2006, 01:01 PM
|
#6
|
|
Member
Registered: Aug 2004
Posts: 56
Original Poster
Rep:
|
Please excuse my slack/kernel noobness, but even though I have 2.6.15.1 installed it still uses the 2.4 headers?
Thanks
|
|
|
|
01-21-2006, 01:08 PM
|
#7
|
|
Member
Registered: Nov 2005
Location: Columbus, OH, USA
Distribution: Slackware
Posts: 246
Rep:
|
Quote:
|
Originally Posted by zborgerd
|
Thanks for chiming in - it's nice to know the dropline devs are hanging around.
I wasn't aware of that requirement when I was trying to build HAL and DBus. I didn't really spend time screwing with it, knowing that your (or FRG's) packages "just work". You've provided inspiration to give it another whirl, thanks!
|
|
|
|
01-21-2006, 01:09 PM
|
#8
|
|
Guru
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,817
|
Yes, the 2.4 headers are always installed, even if you are using 2.6.
My understanding of this is a little sketchy, but as far as I know, it installs the 2.4 headers because the headers have to match the kernel version that glibc was compiled against. So while you might be using a 2.6.x kernel, your glibc packages are still compiled against the 2.4 kernel.
I may be off base on that though, so anyone feel free to correct me, as I have always wondered about this myself, and this was my best understanding of the situation.
As for DBUS, I to used the LinuxPackages.net package and could not get it working, though I never actually tried as such. I just know that after the package installation, there were still DBUS errors when XFCE started. That is about the depth of my experimentation with this, I have no need for it myself.
|
|
|
|
01-22-2006, 03:38 PM
|
#9
|
|
Member
Registered: Dec 2005
Location: Chicago
Distribution: Gentoo, Slackware, and FreeBSD
Posts: 38
Rep:
|
Use the dbus package from freerock gnome, the one at linuxpackages.net isn't compatable. You need dbus-0.50. http://slackware.rol.ru/frg/frg-unst...-i486-1frg.tgz
|
|
|
|
01-22-2006, 04:29 PM
|
#10
|
|
Member
Registered: Aug 2004
Posts: 56
Original Poster
Rep:
|
Thanks for the replies  now why excatly is that package not compatable?
|
|
|
|
01-22-2006, 04:34 PM
|
#11
|
|
Member
Registered: Dec 2005
Location: Chicago
Distribution: Gentoo, Slackware, and FreeBSD
Posts: 38
Rep:
|
The 0.60 version changes some shared libraries, so if you are using freerock gnome and it is compiled against dbus-0.50, then it is broken with 0.60 because of the shared library changes.
|
|
|
|
01-23-2006, 09:01 AM
|
#12
|
|
Member
Registered: Mar 2004
Distribution: Slackware / Dropline GNOME
Posts: 378
Rep:
|
MS3FGX - That's what I've always heard as well. Though I build my own custom kernels, I typically keep Slack's 2.6 headers from "/testing" on-hand for just the HAL package. I just upgradepkg back to the 2.4 headers after building HAL (It's best to keep the 2.4 headers unless you absolutely need the 2.6 headers).
j79zlr is correct. It would probably be a good idea to use dbus-0.50. We currently ship dbus-0.50 and hal-0.5.5.1 with Dropline GNOME 2.12.2 (for compatibility reasons). I think that GSB/Freerock GNOME does the same.
One thing that has only lightly been touched upon here is the udev situation. Depending on what you want to do with HAL, you may also need to update your udev package. Please see the following Dropline and GSB/Freerock mailing lists for details:
http://sourceforge.net/mailarchive/f...forum_id=43152
http://sourceforge.net/mailarchive/f...forum_id=44353
|
|
|
|
03-04-2006, 02:58 PM
|
#14
|
|
Member
Registered: Oct 2002
Location: Hyderabad, India
Distribution: Slackware 10.1
Posts: 34
Rep:
|
Success with hal+dbus in slackware
finally, i've found out that it was 'udev' which caused hal+dbus to not to work properly in Slackware 10.2 and Current.
using udev from Slackware 10.1's source fixed the problem.
download the sources:
http://rapidshare.de/files/14699145/...e.tar.bz2.html
|
|
|
|
03-05-2006, 03:17 PM
|
#15
|
|
Member
Registered: Mar 2004
Distribution: Slackware / Dropline GNOME
Posts: 378
Rep:
|
Quote:
|
Originally Posted by fast_rizwaan
|
Yeah. That's why we built a custom Udev with Dropline GNOME 2.12.x. If you'd like an updated udev with the newer firmware loader and proper support for HAL/Dbus, feel free to try our package here:
http://prdownloads.sourceforge.net/d...l.tgz?download
We attempted to pass with information onto Pat, for Slackware 10.2, but never received a response on the issue.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 04:07 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|