2

While trying to install qemu-5.2.0, I found the build method has changed to mesa.(I don't know why they change things sometimes to make our lives difficult... :) ) Under build directory, I did ../configure --target-list=aarch64-softmmu --enable-debug as usual, and it gave me at the last line

ERROR: Could not detect Ninja v1.7 or newer

I tried installing ninja by sudo apt-get install ninja and in removed old version and re-installed ninja. But as you can see, the installed ninja version is too low. (it expects 1.7 or newer)

ckim@chan-ubuntu:~$ dpkg -l | grep ninja
ii  ninja                                                       0.1.3-2                                                     amd64        Privilege escalation detection system for GNU/Linux
rc  ninja-build                                                 1.5.1-0.1ubuntu1                                            amd64        small build system closest in spirit to Make

What is the best way to install Ninja 1.7 or newer? (I'm on ubuntu 16.04)

ADD :
I found you can install ninja 1.7 on ubuntu 16.05 : git clone github.com/ninja-build/ninja.git, then cd ninja; git checkout v1.7.0; ./configure --bootstrap. now ninja is built on that local directory. you link to previous ninja executable like /usr/bin/ninja. this works ok. (but as others said, upgrading to higher version of ubuntu might be better)

Chan Kim
  • 2,293

0 Answers0