[DRBD-user] compile of 0.6.10 as ordinary user fails

Lars Ellenberg Lars.Ellenberg at linbit.com
Mon Jan 19 17:25:50 CET 2004

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


/ 2004-01-19 16:46:53 +0100
\ Joachim Banzhaf:
> Hi list,
> 
> I just tried to compile drbd 0.6.10 on suse 8.2 as normal user and got 
> permission problems:
> 
> ...
> make[1]: Entering directory `/home/joachim/drbd-0.6.10/drbd'
> 
>     Calling toplevel makefile of kernel source tree, which I believe is in
>     KDIR=/lib/modules/2.4.20-4GB/build
>     NOTE: please ignore warnings regarding overriding of SUBDIRS
> 
> make -C /lib/modules/2.4.20-4GB/build SUBDIRS=/home/joachim/drbd-0.6.10/drbd modules
> make[2]: Entering directory `/usr/src/linux-2.4.20.SuSE'
> scripts/split-include include/linux/autoconf.h include/config
> scripts/split-include: pdc202xx/force.h: Permission denied
> make[2]: *** [include/config/MARKER] Error 1
> make[2]: Leaving directory `/usr/src/linux-2.4.20.SuSE'
> make[1]: *** [kbuild] Error 2
> make[1]: Leaving directory `/home/joachim/drbd-0.6.10/drbd'
> make: *** [all] Error 1
> 
> Am I supposed to compile drbd as root? I like to compile as ordinary user and 
> just install as root.

no.
but unfortunately you are supposed to have write permissions in
(your copy of) the kernel source tree :)

	Lars Ellenberg



More information about the drbd-user mailing list