OpenBangla-Keyboard icon indicating copy to clipboard operation
OpenBangla-Keyboard copied to clipboard

OpenBangla fails to build on openSUSE MicroOS (Kalpa)

Open Dyrimon opened this issue 10 months ago • 6 comments

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.

Dyrimon avatar Apr 13 '24 12:04 Dyrimon

what this command output in your terminal in a root session?

rustc --version

mominul avatar Apr 14 '24 10:04 mominul

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)

Dyrimon avatar Apr 15 '24 12:04 Dyrimon

What does this outputs?

which rustc

mominul avatar Apr 19 '24 13:04 mominul

What does this outputs?

which rustc

/usr/bin/rustc

Dyrimon avatar Apr 21 '24 12:04 Dyrimon