HAL uses /usr/var/cache instead /var/cache

mailinglists at openelec.tv mailinglists at openelec.tv
Wed Nov 12 02:01:10 PST 2008


I compiled hal 0.5.11 from source with uClibc and have a problem starting HAL:

09:55:52.815 [E] create_cache.c:636: Unable to open fdi cache  
´/usr/var/cache/hald/fdi-cache´ file for writing: No such file or  
directory

why hal searches in /usr/var when localstatedir=/var ???
how i can fix this?

i have HAL build with:

./configure --host=$TARGET_NAME \
             --build=$HOST_NAME \
             --prefix=/usr \
             --sysconfdir=/etc \
             --datadir=/usr/share \
             --localstatedir=/var \
             --disable-static \
             --enable-shared \
             --disable-docbook-docs \
             --disable-man-pages \
             --disable-gtk-doc \
             --enable-largefile \
             --enable-pci \
             --enable-pci-ids \
             --with-libpci \
             --enable-usb \
             --enable-usb-ids \
             --enable-pnp-ids \
             --disable-apm \
             --disable-pmu \
             --disable-acpi \
             --disable-acpi-acpid \
             --disable-acpi-proc \
             --disable-acpi-ibm \
             --disable-acpi-toshiba \
             --disable-parted \
             --disable-smbios \
             --disable-console-kit \
             --disable-policy-kit \
             --disable-acl-management \
             --disable-umount-helper \
             --disable-sonypic \
             --with-pid-file=/var/run/hald/hald.pid \
             --with-pci-ids=/usr/share \
             --with-usb-ids=/usr/share \
             --with-socket-dir=/var/run/dbus \
             --with-hal-user=root \
             --with-hal-group=root \
             --with-backend=linux \
             --with-keymaps \
             --with-deprecated-keys \
             --with-dbus-sys=/etc/dbus-1 \
             --without-macbookpro \
             --without-macbook \
             --without-imac \
             --without-omap \
             --without-cpufreq \
             --without-usb-csr \
             --without-dell-backlight \

Stephan




More information about the hal mailing list