Hello All,
I am compiling kernel to learn it and as well as for edubook, a netbook I am working on.
I wanted to put the compilation under my home directory and followed the syntax suggested in the README in /usr/src/linux,like,
‘make o=/home/pbhat/temp/kcompile menuconfig’
Like this I have gone through full compilation successfully,but see no output going to the specified folder.Could anybody point out my error?
Second problem I faced is,not able to do ‘make’ as normal user.I get following message;
pbhat@linux-9f6d:/usr/src/linux> make menuconfig
HOSTCC scripts/basic/fixdep
scripts/basic/fixdep.c:400: fatal error: opening dependency file scripts/basic/.fixdep.d: Permission denied
compilation terminated.
make[1]: *** [scripts/basic/fixdep] Error 1
make: *** [scripts_basic] Error 2
If I reissue the command as ‘sudo’,I do not get this.If I do not want to be root to compile and I do not want to manually install source(install using package manager),how can I do that?
Thanks in advance.