The famous "./configure; make" - my custom version
Posted Mar 27, 2008 18:15 UTC (Thu) by pr1268
In reply to: The famous "./configure; make" - my custom version
Parent article: Striking gold in binutils
What's the harm in compiling as source code as root? I've heard of some urban myth where compiling the Linux kernel as root used to throw a segmentation fault, but that was fixed ages ago. Granted, my example above is not compiling kernel source, but rather some user space application.
FWIW I run that chain of commands in a Konsole window, logged into KDE as a non-privileged user, and a su - in the terminal. I'm unsure of any (obvious) security issues in this configuration as I'm sitting right there at the physical computer.
And, just the other day I attempted to compile kernel 126.96.36.199 as non-privileged user and got some weird errors during the first-running scripts (i.e. after make menuconfig). Sure, I'll admit I might be doing it "wrong" (or in a fashion you don't recommend), but how might I do it "right"? Thanks!
to post comments)