How to use pkgsrc as non-root?

From: kj (socyl_at_987jk.com.invalid)
Date: 12/26/04

  • Next message: jpd: "Re: A good tutorial..."
    Date: Sun, 26 Dec 2004 20:44:26 +0000 (UTC)
    
    

    pkgsrc/doc/pkgsrc.txt, ch. 6 (Frequently Asked Questions) has what's
    got to be the winner of the All-Time Least Helpful FAQ Answer EVER
    Award:

      6.4. How to use pkgsrc as non-root

      If you want to use pkgsrc as non-root user, you can set some variables to make
      pkgsrc work under these conditions. Please see this message for more details.

    Pretty funny, but seriously now, where can I find a *real* answer
    to FAQ 6.4? More specifically, what variables (other than LOCALBASE)
    do I need to re-set to be able to use pkgsrc as non-root

    BTW, I *have* read "this message for more details" and found the
    ol' zilch-nada-niente. Also, I changed LOCALBASE to $HOME/local
    in mk/default/mk.conf, but make still tries to become root. I even
    tried running

      ROOT_USER=yourstruly make

    but that fooled no one. All I'm trying to do here is compile
    colorls, for cryingoutloud. It shouldn't be *this* difficult.
    Any help would be greatly appreciated.

    Thanks in advance,

    kj

    -- 
    NOTE: In my address everything before the first period is backwards;
    and the last period, and everything after it, should be discarded.
    

  • Next message: jpd: "Re: A good tutorial..."