[patch] add libexec to configure.in
David Zeuthen
david at fubar.dk
Thu Feb 10 09:47:39 PST 2005
On Wed, 2005-02-09 at 21:17 +0000, Richard Hughes wrote:
> I normally compile hal with ./configure --prefix=/home/hughsie/hal
>
I just use /usr/local.
> With this configuration I get
>
> 21:07:03.702 [E] util.c:565: Couldn't spawn 'hald-probe-input'
> err=Failed to execute child process "hald-probe-input" (No such file or
> directory)!
>
> Unless I export PATH=$PATH:/home/hughsie/hal/libexec
>
> before running ./hald.
>
> Is this the desired behavior?
You should use the run-hald.sh script in hald/ since it set's up the
PATH to use the addons/probers/callouts/fdi-files from your local tree.
You also want, probably, to run this as root. I've just put a
debug-hald.sh script there as well to make it easier to use gdb.
For packaging, packagers need to ensure that the $PATH is right when
starting hald.
> I've also attached a patch that adds libexec to configure.in, and I
> wondered if hal_util_helper_invoke() should use the libexec path
> directly.
I've committed this, thanks.
David
_______________________________________________
hal mailing list
hal at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/hal
More information about the Hal
mailing list