RPMs are generally the rule with Mandrake, in which case you simply have no
control... many packages go primarily in to /usr/lib with pieces going
elsewhere.

Why not move /usr/lib to the other part and create a symlink in the
original location pointing to it?  Oughta be in single-user mode to do
this.

If you use tarballs, you can change paths in Makefile (sometimes
Makefile.config) after doing 'make' and before 'make install'.  If the
subject package is real primitive, check paths in .h file.

Probably best to stick with generally-accepted standard locations though.
--
Carl A. Cook
[EMAIL PROTECTED]

ORDER,  I say...         ORDER!


Joel VanderWerf wrote:

> 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]



S/MIME Cryptographic Signature

Reply via email to