Gluon compiliert nicht als root-user

Hallo zusammen habe ein kleines Problem meine Kompilation bricht immer ab kann mir jemand weiter helfen.

checking whether mknod can create fifo without root privileges… configure: error: in /home/gluon/openwrt/build_dir/host/tar-1.30': configure: error: you should not run configure as root (set FORCE_UNSAFE_CONFIGURE=1 in environment to bypass this check) See config.log’ for more details
Makefile:31: recipe for target ‚/home/gluon/openwrt/build_dir/host/tar-1.30/.configured‘ failed
make[3]: *** [/home/gluon/openwrt/build_dir/host/tar-1.30/.configured] Error 1
make[3]: Leaving directory ‚/home/gluon/openwrt/tools/tar‘
Command exited with non-zero status 2
time: tools/tar/compile#10.92#3.94#17.69
tools/Makefile:152: recipe for target ‚tools/tar/compile‘ failed
make[2]: *** [tools/tar/compile] Error 2
make[2]: Leaving directory ‚/home/gluon/openwrt‘
/home/gluon/openwrt/include/toplevel.mk:216: recipe for target ‚tools/install‘ failed
make[1]: *** [tools/install] Error 2
make[1]: Leaving directory ‚/home/gluon/openwrt‘
Makefile:139: recipe for target ‚openwrt/staging_dir/hostpkg/bin/lua‘ failed
make: *** [openwrt/staging_dir/hostpkg/bin/lua] Error 2

Lesen kann helfen!

Erste Zeile…

error: you should not run configure as root

Nicht als root bauen!

Tip: Dokumentation Lesen :slight_smile:

1 „Gefällt mir“

Und wenn man es einmal versehentlich als root getan hat, dann sind evtl schon haufenweise Dateien auf dem falschen Owner.
Dann ist ein

         chown -r _user_:_user_ 

fällig

off-topic, aber winziger Optimierungstipp für viele zukünftige ersparte Tastenklicks: Das nach dem Doppelpunkt kann weggelassen werden, wenn es das selbe sein soll wie vor dem Doppelpunkt.

1 „Gefällt mir“