OpenWrt Forum Archive

Topic: A compile question.

The content of this topic has been archived on 29 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Dear All : 


    I compile the openwrt (trunk version) , The   basic configure below :

               Target System (Ralink RT288x/RT3xxx)  --->                 
              Subtarget (RT3x5x/RT5350 based boards)  --->   


    But can't compile finished ...   Display result below :

    .
    .
    .

checking for mkdtemp... yes
checking whether mkfifo rejects trailing slashes... yes
checking whether mknod can create fifo without root privileges... configure: error: in `/opt/openwrt/trunk/build_dir/host/tar-1.28':
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
make[3]: *** [/opt/openwrt/trunk/build_dir/host/tar-1.28/.configured] Error 1
make[3]: Leaving directory `/opt/openwrt/trunk/tools/tar'
make[2]: *** [tools/tar/compile] Error 2
make[2]: Leaving directory `/opt/openwrt/trunk'
make[1]: *** [/opt/openwrt/trunk/staging_dir/target-mipsel_24kec+dsp_musl-1.1.11/stamp/.tools_install_yynyynynynyyyyyyyyyynyyyyyyyyynyyyyynnyynynnyyynnnyy] Error 2
make[1]: Leaving directory `/opt/openwrt/trunk'
make: *** [world] Error 2


     any idea to me ? thanks.

billlih wrote:

configure: error: you should not run configure as root (set FORCE_UNSAFE_CONFIGURE=1 in environment to bypass this check)

Try not compiling as root.

The discussion might have continued from here.