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.12k stars 448 forks source link

Ninja build issue, wrong dependency, no build progress. #121

Closed McPo closed 9 years ago

McPo commented 9 years ago

Ran into issues regarding ninja.

When I ran build_apprtc it failed to find ninja. Prompting me to install it with

apt-get install ninja

This however installs the ninja security program not the build system, which lead to the following screen.

log: ninja version 0.1.3 initializing
log: magic group: gid=0 (root)
log: entering main loop
log: generating initial pid array..
log: now monitoring process activity
log: ignored signal: 28

Instead had to run.

apt-get install ninja-build

It appears the install_dependencies doesn't install ninja_build. Im on Ubuntu 12.04.5 LTS, not sure whats different from my configuration.

ArikYa commented 9 years ago

ninja is part of depot_tools, so it should be there. If you were able to run gclient, I don't see any reason for ninja to not be there. What was exactly the order of the commands you issued?

McPo commented 9 years ago

mkdir webrtc cd webrtc git clone https://github.com/pristineio/webrtc-build-scripts.git cd webrtc-build-scripts . ./android/build.sh install_dependencies get_webrtc build_apprtc

However the whole thing was a bit of hack and slash from me. I may have copied an old version of gclient into the VM I was using.

Probably safe to close this issue then. At least the issue has been documented if people run into it in the future.