[leafnode-list] Re: leafnode.spec.in needs patch (Version 2)
Martin
virenfang at arcor.de
Sun Jul 16 07:27:58 CEST 2006
On Sat, Jul 15, 2006 at 04:05:31PM -0500, Kevin R. Bulgrien wrote:
> %configure \
> --prefix=%prefix \
> --exec-prefix=%prefix \
> --enable-spooldir=%spooldir \
> --enable-runas-user=%{runas_user} --with-runas-group=%{runas_group} \
> --sysconfdir=%_sysconfdir/leafnode
[...]
> RPM build errors:
> File not found: /var/tmp/leafnode-2.0.0.alpha20060711a-buildroot/usr/local/bin/leafnode-version
> File not found: /var/tmp/leafnode-2.0.0.alpha20060711a-buildroot/usr/local/bin/lsmac.pl
> File not found: /var/tmp/leafnode-2.0.0.alpha20060711a-buildroot/usr/local/bin/newsq
> File not found: /var/tmp/leafnode-2.0.0.alpha20060711a-buildroot/usr/local/sbin/applyfilter
> File not found: /var/tmp/leafnode-2.0.0.alpha20060711a-buildroot/usr/local/sbin/checkgroups
> File not found: /var/tmp/leafnode-2.0.0.alpha20060711a-buildroot/usr/local/sbin/fetchnews
> File not found: /var/tmp/leafnode-2.0.0.alpha20060711a-buildroot/usr/local/sbin/leafnode
> File not found: /var/tmp/leafnode-2.0.0.alpha20060711a-buildroot/usr/local/sbin/rnews
> File not found: /var/tmp/leafnode-2.0.0.alpha20060711a-buildroot/usr/local/sbin/sendbatch.bash
> File not found: /var/tmp/leafnode-2.0.0.alpha20060711a-buildroot/usr/local/sbin/texpire
>
> The make is making the files in /usr/bin and /usr/sbin. I'm not sure what to do
> to fix this if I want to put leafnode in /usr/local. Will dig a bit more, but
> suggestions are appreciated.
./configure --help:
|By default, `make install' will install all the files in
|`/usr/local/bin', `/usr/local/lib' etc. You can specify
|an installation prefix other than `/usr/local' using `--prefix',
|for instance `--prefix=$HOME'.
Knowing this and having a look at the leafnode.spec quoted above, the
prefix is set in %prefix.
leafnode.spec (and leafnode.spec.in) both define %prefix as "/usr".
Guessing, I suggest defining it as "/usr/local". (This defining is in
line 13.)
HTH, Martin
More information about the leafnode-list
mailing list