[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: sudo make install
From: |
Ludwig, Mark |
Subject: |
RE: sudo make install |
Date: |
Tue, 14 Apr 2015 20:06:57 +0000 |
When I built Emacs 24.4 last month, I used "make" (as
"myself") and then when I was happy and confident with the
result, used "sudo make install"; I only ended up with a
single file that's owned by root in the source directory:
blessmail. I can't tell from what you wrote, but are you
building everything with regular (plain) "make" before
invoking "sudo make install"?
Hope this helps,
Mark
> Milan Stanojevic wrote Tuesday, April 14, 2015 2:56 PM
>
> Just use a different prefix that doesn't require root.
> ./configure --prefix=some-local-dir
> make
> make install
>
>
> On Tue, Apr 14, 2015 at 3:46 PM, Michael Heerdegen
> <michael_heerdegen@web.de> wrote:
> > Hello,
> >
> > I noticed that since some time, "make install" does compile stuff in the
> > emacs/ source dir , just like "make". I remember that it only used to
> > copy files into the installation target dirs.
> >
> > My question: when I want to "make install", I need to use "sudo". But
> > after that operation, the emacs/ source dir now contains files owned by
> > root. After that, I always need to be root to "make" Emacs. I don't
> > want that, I still want to be able to "make" as a normal user.
> >
> > How do others handle this?
> >
> >
> > Thanks,
> >
> > Michael.
> >