LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 01-19-2006, 09:02 PM   #1
Archer36
Member
 
Registered: Aug 2004
Posts: 56

Rep: Reputation: 15
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.
 
Old 01-19-2006, 09:10 PM   #2
odevans
Member
 
Registered: Nov 2005
Location: Columbus, OH, USA
Distribution: Slackware
Posts: 246

Rep: Reputation: 30
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.
 
Old 01-19-2006, 09:18 PM   #3
Archer36
Member
 
Registered: Aug 2004
Posts: 56

Original Poster
Rep: Reputation: 15
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.
 
Old 01-21-2006, 04:39 AM   #4
odevans
Member
 
Registered: Nov 2005
Location: Columbus, OH, USA
Distribution: Slackware
Posts: 246

Rep: Reputation: 30
You can just get the individual packages from the Freerock site:

ftp://mirror.datapipe.net/norlug/frg...gnome/platform

Or use the Dropline versions (be careful to pick the latest ones):

http://sourceforge.net/project/showf...ckage_id=71205

and install them with good ole installpkg. Dropline also has an updated udev package.
 
Old 01-21-2006, 12:55 PM   #5
zborgerd
Member
 
Registered: Mar 2004
Distribution: Slackware / Dropline GNOME
Posts: 378

Rep: Reputation: 30
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
 
Old 01-21-2006, 01:01 PM   #6
Archer36
Member
 
Registered: Aug 2004
Posts: 56

Original Poster
Rep: Reputation: 15
Please excuse my slack/kernel noobness, but even though I have 2.6.15.1 installed it still uses the 2.4 headers?

Thanks
 
Old 01-21-2006, 01:08 PM   #7
odevans
Member
 
Registered: Nov 2005
Location: Columbus, OH, USA
Distribution: Slackware
Posts: 246

Rep: Reputation: 30
Quote:
Originally Posted by zborgerd
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
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!
 
Old 01-21-2006, 01:09 PM   #8
MS3FGX
Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 351Reputation: 351Reputation: 351Reputation: 351
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.
 
Old 01-22-2006, 03:38 PM   #9
j79zlr
Member
 
Registered: Dec 2005
Location: Chicago
Distribution: Gentoo, Slackware, and FreeBSD
Posts: 38

Rep: Reputation: 15
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
 
Old 01-22-2006, 04:29 PM   #10
Archer36
Member
 
Registered: Aug 2004
Posts: 56

Original Poster
Rep: Reputation: 15
Thanks for the replies now why excatly is that package not compatable?
 
Old 01-22-2006, 04:34 PM   #11
j79zlr
Member
 
Registered: Dec 2005
Location: Chicago
Distribution: Gentoo, Slackware, and FreeBSD
Posts: 38

Rep: Reputation: 15
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.
 
Old 01-23-2006, 09:01 AM   #12
zborgerd
Member
 
Registered: Mar 2004
Distribution: Slackware / Dropline GNOME
Posts: 378

Rep: Reputation: 30
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
 
Old 02-10-2006, 03:19 PM   #13
fast_rizwaan
Member
 
Registered: Oct 2002
Location: Hyderabad, India
Distribution: Slackware 10.1
Posts: 34

Rep: Reputation: 15
hal.SlackBuild dbus.SlackBuild plib.SlackBuild

after much frustration with failure to make hal work with kde, i've found out that gware's hal and dbus slackbuilds works with slack 10.1, slack 10.2.
please get hal dbus slackbuild build scripts for slackware from:

ftp://ftp.gware.org/10.2/2.12.0/source/devlib/

you could download the folder hal using

wget -c ftp://ftp.gware.org/10.2/2.12.0/source/devlib/dbus/*
wget -c ftp://ftp.gware.org/10.2/2.12.0/source/devlib/hal/*

go to the folder and run "sh dbus.SlackBuild.gware"

good luck...
 
Old 03-04-2006, 02:58 PM   #14
fast_rizwaan
Member
 
Registered: Oct 2002
Location: Hyderabad, India
Distribution: Slackware 10.1
Posts: 34

Rep: Reputation: 15
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
 
Old 03-05-2006, 03:17 PM   #15
zborgerd
Member
 
Registered: Mar 2004
Distribution: Slackware / Dropline GNOME
Posts: 378

Rep: Reputation: 30
Quote:
Originally Posted by fast_rizwaan
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

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.
 
  


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
Can't update dbus-qt on Fedora Core 4 tron_thomas Linux - Software 4 11-21-2005 10:40 PM
RUN DBUS 0.23 on Fedora Core 3 okeyla Linux - General 2 11-03-2005 09:04 PM
How to change system default dbus to version 0.23??? okeyla Linux - Newbie 0 10-27-2005 02:31 AM
Install hal and dbus from DLG on regular slack? justin_p Slackware 1 08-10-2005 04:54 AM
RPM Conflict between dbus and desktop-printing ryan_order Fedora 2 10-03-2004 09:41 PM


All times are GMT -5. The time now is 01:58 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration