Make chrome-build doesn't work

Author: AlainKnaffCreated Apr 12, 2026Updated Jul 21, 2026

When trying to do make chrome-build, the following happens:

bash
> make chrome-build
tar xf brotli-1.0.9.tar.gz
cd brotli-1.0.9
mkdir -p out
cd out
# Convert autoconf style os name to CMake style os name.
case linux-gnu in           \
  linux*)                    \
    system_name=Linux        \
    ;;                       \
  darwin*)                   \
    system_name=Darwin       \
    ;;                       \
  *)                         \
    system_name=linux-gnu   \
    ;;                       \
esac
DCMAKE_BUILD_TYPE=Release \
        -DCMAKE_INSTALL_PREFIX=./installed \
        -DCMAKE_INSTALL_LIBDIR=lib \
        -DCMAKE_CXX_COMPILER=g++ \
        -DCMAKE_C_COMPILER=gcc \
        -DCMAKE_SYSTEM_NAME=$system_name \
        -DCMAKE_SYSTEM_PROCESSOR=x86_64 \
        ..
build . --config Release --target install
bash: line 17: -DCMAKE_INSTALL_PREFIX=./installed: No such file or directory
make: *** [Makefile:180: .../curl-impersonate-0.6.1/brotli-1.0.9/out/installed/lib/libbrotlicommon-static.a] Error 127

Same thing with make firefox-build

Source: lwthiker/curl-impersonate