I'm using Mandrake 6.0, but this is really a general linux question.
How do I force install scripts to put files in /usr/local?
Some background: when I first installed linux, I put /usr/local on a
separate partition (symlinked to /home/local, actually). (That may have
even been the advice of one of the resident sages of this list ;-) The
intention was that all subsequently installed programs would go to
/usr/local, and I could install new versions of the distro on top of my
/ partition without clobbering all the downloaded stuff. I'd only have
to worry about preserving /etc, /root, and maybe a few others.
With *some* tarballs, all I have to do is "configure
--prefix=/usr/local", and the makefiles will put everything where I
want.
But today I tried to install kdirstat. Even with the prefix option, it
tries to put kdirstat in /usr/bin. Here's the Makefile output:
/usr/bin/install -c kdirstat
/usr/bin/kdirstat
I also tried "--exec-prefix=/usr/local".
Are there some other settings I should change?
Thanks for any help!
Joel
--
Joel VanderWerf
[EMAIL PROTECTED]