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

Patryk Zawadzki patrys at pld-linux.org
Wed Nov 12 02:22:38 PST 2008


On Wed, Nov 12, 2008 at 11:16 AM, Danny Kukawka <danny.kukawka at web.de> wrote:
> On Mittwoch, 12. November 2008, mailinglists at openelec.tv wrote:
>> 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 \
> Because you used /usr as prefix.

Uhm, prefix is for bindir, libdir, libexecdir and datadir. It sure
shouldn't affect localstatedir especially when it's overriden several
lines before. It's perfectly possible to have /usr as a read-only
mount (terminals, X clusters).

And it behaves as expected here (0.5.11).

-- 
Patryk Zawadzki


More information about the hal mailing list