Difference between revisions of "HAL"

From CBLFS
Jump to navigationJump to search
(Dependencies)
Line 9: Line 9:
 
== Dependencies ==
 
== Dependencies ==
  
As of '''hal-0.5.8''' libvolume_id.so (From Udev) is a required dependency. On multilib systems you must have more then one copy of this library, (32bit,64bit,N32). Please refer to the [http://cross-lfs.org/view/svn/ clfs-svn] book for information on configuring a multilib udev. '''''WARNING: Installing a newer of older version of udev then what is currently installed on your system can cause problems booting because of the frequent changes in the rules format.''''' Please use the same version you currently have, or make the appropriate changes/upgrades to your rule set.
+
As of '''hal-0.5.8''' libvolume_id.so (From Udev) is a required dependency. On multilib systems you must have more then one copy of this library, (32bit,64bit,N32). Please refer to the [http://cross-lfs.org/view/svn/ clfs-svn] book for information on configuring a multilib udev. '''''WARNING: Installing a newer or older version of udev then what is currently installed on your system can cause problems booting because of the frequent changes in the rules format.''''' Please use the same version you currently have, or make the appropriate changes/upgrades to your rule set.
  
 
=== Required ===
 
=== Required ===

Revision as of 14:51, 30 October 2006

Download Source: http://people.freedesktop.org/~david/dist/hal-0.5.8.1.tar.gz

Dependencies

As of hal-0.5.8 libvolume_id.so (From Udev) is a required dependency. On multilib systems you must have more then one copy of this library, (32bit,64bit,N32). Please refer to the clfs-svn book for information on configuring a multilib udev. WARNING: Installing a newer or older version of udev then what is currently installed on your system can cause problems booting because of the frequent changes in the rules format. Please use the same version you currently have, or make the appropriate changes/upgrades to your rule set.

Required

Reccomended

Optional

HalDaemon User/Group

groupadd -g 19 haldaemon &&
useradd -c "HAL Daemon User" -d /dev/null \
        -u 19 -g haldaemon -s /bin/false haldaemon

Configuration Information

If you have Parted installed and you would like to link HAL against libparted pass the following to configure:

--enable-parted

Non-Multilib

Compile the package:

./configure --prefix=/usr --sysconfdir=/etc \
    --libexecdir=/usr/lib/hal --localstatedir=/var &&
make

Install the package

make install &&
install -v -m755 -d /var/run/hald

Multilib

32Bit

Compile the package:

export USE_ARCH=32 &&
CC="gcc ${BUILD32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
./configure --prefix=/usr --sysconfdir=/etc \
    --libexecdir=/usr/lib/hal --localstatedir=/var &&
make

Install the package

make install &&
unset USE_ARCH

N32

export USE_ARCH=n32 &&
CC="gcc ${BUILDN32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \
./configure --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib32 \
    --libexecdir=/usr/lib/hal --localstatedir=/var &&
make

Install the package

make install &&
unset USE_ARCH

64Bit

export USE_ARCH=64 &&
CC="gcc ${BUILD64}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
./configure --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib64 \
    --libexecdir=/usr/lib/hal --localstatedir=/var &&
make

Install the package

make install &&
unset USE_ARCH &&
install -v -m755 -d /var/run/hald

Configuration

Bootscript

Install the bootscript from the blfs-bootscripts package with the following command:

make install-haldaemon