ninja: error: loading 'build.ninja': No such file or directory
on centos7.7
DIR=/tmp/libdav1d && \
mkdir -p ${DIR} && \
cd ${DIR} && \
curl -sLO https://code.videolan.org/videolan/dav1d/-/archive/${DAV1D_VERSION}/dav1d-${DAV1D_VERSION}.tar.gz && \
tar -zx --strip-components=1 -f dav1d-${DAV1D_VERSION}.tar.gz && \
yum install -y https://www.nasm.us/pub/nasm/releasebuilds/2.14.02/linux/nasm-2.14.02-0.fc27.x86_64.rpm unzip && \
curl -sLO https://github.com/ninja-build/ninja/releases/download/v1.8.2/ninja-linux.zip && \
unzip -d /usr/bin/ ninja-linux.zip && \
rm -f ninja-linux.zip && \
meson ..
log
The Meson build system
Version: 0.47.2
Source dir: /tmp/libdav1d
Build dir: /tmp
Build type: native build
Project name: dav1d
Project version: 0.5.2
Native C compiler: cc (gcc 4.8.5 "cc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-39)")
Build machine cpu family: x86_64
Build machine cpu: x86_64
Dependency threads found: YES
Checking for function "clock_gettime" : YES
Check usable header "stdatomic.h": NO
Checking if "GCC-style atomics" compiles: YES
Check usable header "unistd.h": YES
Check usable header "io.h": NO
Checking for function "getopt_long" : YES
Checking for function "posix_memalign" : YES
Compiler for C supports arguments -fvisibility=hidden: YES
Compiler for C supports arguments -Wundef: YES
Compiler for C supports arguments -Werror=vla: YES
Compiler for C supports arguments -Wno-maybe-uninitialized -Wmaybe-uninitialized: YES
Compiler for C supports arguments -Wno-missing-field-initializers -Wmissing-field-initializers: YES
Compiler for C supports arguments -Wno-unused-parameter -Wunused-parameter: YES
Compiler for C supports arguments -Werror=missing-prototypes: YES
Compiler for C supports arguments -Wshorten-64-to-32: NO
Compiler for C supports arguments -fomit-frame-pointer: YES
Compiler for C supports arguments -ffast-math: YES
Compiler for C supports arguments -mpreferred-stack-boundary=5: YES
Configuring config.h using configuration
Configuring config.asm using configuration
Program nasm found: YES (/usr/bin/nasm)
Configuring version.h using configuration
Program doxygen found: NO
Configuring cli_config.h using configuration
Library m found: YES
Program objcopy found: YES (/usr/bin/objcopy)
Build targets in project: 15
Found ninja-1.8.2 at /usr/bin/ninja
ninja: error: loading 'build.ninja': No such file or directory