Darren Freeman wrote:
Hi all,

why does "make install" under Linux have so much work to do? It seems to
be linking and building docs etc.

Surely this stuff is meant to be done by "make". Since I have to run
"make install" as root, I generally prefer not to have actual processing
being done here.
I have seen this occationally.

It seems to me that "make install" will "make" anything that
isn't up to date. So, if you patched something since the last "make",
then "make install" will indeed compile and link for you.

If this happens once, then you are kind of stuck.  The next "make"
run as non-root will not be able to overwrite the object files
created by root.  So the next "make install" will have to
recreate them again.

The fix is to let root run a
"chown -R your_username *" in the top build directory.
After that, you own all the files and can compile without root's help again.

Helge Hafting

Reply via email to