OpenBangla-Keyboard
OpenBangla-Keyboard copied to clipboard
OpenBangla fails to build on openSUSE MicroOS (Kalpa)
I'm trying to build the develop branch on Kalpa, cmake error fails to find rust.
~/OpenBangla-Keyboard/build> sudo cmake .. -DCMAKE_INSTALL_PREFIX="/usr"
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.5 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
CMake Error at cmake/FindRust.cmake:69 (message):
Could not find Rust!
Call Stack (most recent call first):
cmake/CMakeDetermineRustCompiler.cmake:3 (find_package)
CMakeLists.txt:14 (enable_language)
CMake Error: CMAKE_Rust_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!
All dependencies are installed (including rust and fcitx5)
CMakeLists.txt attached CMakeLists
P.S: I'm running commands from a root session.
what this command output in your terminal in a root session?
rustc --version
what this command output in your terminal in a root session?
rustc --version
rustc 1.77.0 (aedd173a2 2024-03-17) (built from a source tarball)
What does this outputs?
which rustc
What does this outputs?
which rustc
/usr/bin/rustc