Open anishdevtech opened 1 year ago
I don't think this is a bug. As shown, you've installed libandroid-spawn
.
I don't think this is a bug. As shown, you've installed
libandroid-spawn
.
It is installed kind but not in working condition
What does not in working condition
mean? If you can find it in $PREFIX/lib
, this package has been already successfully installed, and I don't think there is any error in installing libandroid-spawn
.
Installing ninja from pip has many bugs, because ninja from pip always tries to compile from source.
Anyway, you should try export LDFLAGS="-landroid-spawn" && pip install ninja -vv
and share the output to see what is the root cause.
make[2]: [CMakeFiles/build_ninja.dir/build.make:120: build_ninja-prefix/src/build_ninja-stamp/build_ninja-run_ninja_test_suite] Error 1 make[1]: [CMakeFiles/Makefile2:111: CMakeFiles/build_ninja.dir/all] Error 2 make: *** [Makefile:136: all] Error 2 Traceback (most recent call last):
File "/data/data/com.termux/files/usr/tmp/pip-build-env-ke2e5_8g/overlay/lib/python3.11/site-packages/skbuild/setuptools_wrap.py", line 674, in setup cmkr.make(make_args, install_target=cmake_install_target, env=env)
File "/data/data/com.termux/files/usr/tmp/pip-build-env-ke2e5_8g/overlay/lib/python3.11/site-packages/skbuild/cmaker.py", line 697, in make self.make_impl(clargs=clargs, config=config, source_dir=source_dir, install_target=install_target, env=env)
File "/data/data/com.termux/files/usr/tmp/pip-build-env-ke2e5_8g/overlay/lib/python3.11/site-packages/skbuild/cmaker.py", line 742, in make_impl raise SKBuildError(msg)
An error occurred while building with CMake. Command: /data/data/com.termux/files/usr/bin/cmake --build . --target install --config Release -- Install target:
install Source directory: /data/data/com.termux/files/usr/tmp/pip-install-v5nzp_am/ninja_10399d4c447c461cb38fd2529ab2f53a Working directory:
/data/data/com.termux/files/usr/tmp/pip-install-v5nzp_am/ninja_10399d4c447c461cb38fd2529ab2f53a/_skbuild/linux-armv8l-3.11/cmake-build Please check the install target is valid and see CMake's output for more information.
Someone should help me with this
Create a new issue pls
Problem description
I was trying to install libandroid-spawn but it was not installing I don't know why I have seen a old message in which there is a guide how to install Ninja using some commands I follow that commands but install libandroid-spawn command didn't work and give the output
What steps will reproduce the bug?
I have I have full load this Link commands but this produce this error
What is the expected behavior?
Expected behaviour is to successfully install it
System information
termux-info: