[gtk-osx-users] Ninja not found.



Hello,

When building:

% sh gtk-osx-setup.sh
% PATH=.new_local/bin:$PATH

% jhbuild bootstrap-gtk-osx
% jhbuild build pygments
% jhbuild build meta-gtk-osx-bootstrap

An error occurs: ninja is not found.

It happens that .new_local/bin is not appended to PATH before running the original jhbuild.
Thus I propose to add it when creating local jhbuild:

--- ./gtk-osx-setup.sh.0        2022-01-04 21:43:05.000000000 +0100
+++ ./gtk-osx-setup.sh  2022-01-09 13:33:04.000000000 +0100
@@ -188,7 +188,7 @@
 export PIPENV_PIPFILE="$DEVPREFIX/etc/Pipfile"
 export PYENV_ROOT="$PYENV_ROOT"
 export PYENV_VERSION="$PYENV_VERSION"
-export PATH="$PYENV_ROOT/shims:$PATH"
+export PATH="$PYENV_ROOT/shims:$DEVPREFIX/bin:$PATH"
 export CARGO_HOME="$CARGO_HOME"
 export RUSTUP_HOME="$RUSTUP_HOME"
 export WORKON_HOME="$WORKON_HOME"

What is your feedback?

Thanks, Pascal.
https://blady.pagesperso-orange.fr




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]