pristineio / webrtc-build-scripts

A set of build scripts useful for building WebRTC libraries for Android and iOS.
BSD 3-Clause "New" or "Revised" License
1.13k stars 447 forks source link

build_apprtc for Android causes "die: error: must run as root" for ninja #27

Closed soulfly closed 9 years ago

soulfly commented 9 years ago

build_apprtc for Android causes "die: error: must run as root" for ninja

Here what I see in logs:

 Build AppRTCDemo in  (arch: x86_64) mode
 log: ninja version 0.1.3 initializing
 die: error: must run as root
smithaaron commented 9 years ago

I'm also getting this error.

aaalaniz commented 9 years ago

@soulfly what exactly are you executing? I just pulled down latest and ran the following and it worked.


get_webrtc && build_apprtc
smithaaron commented 9 years ago

FWIW I had forgotten to run install_dependencies. Perhaps same issue for OP?

efecanbugday commented 8 years ago

linux(ubuntu) on: sudo apt-get remove --purge ninja

HEllRZA commented 5 years ago
sudo apt remove --purge ninja
sudo apt install ninja-build