Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenBangla fails to build on openSUSE MicroOS (Kalpa) #380

Open
Dyrimon opened this issue Apr 13, 2024 · 6 comments
Open

OpenBangla fails to build on openSUSE MicroOS (Kalpa) #380

Dyrimon opened this issue Apr 13, 2024 · 6 comments

Comments

@Dyrimon
Copy link

Dyrimon commented Apr 13, 2024

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.

@mominul
Copy link
Member

mominul commented Apr 14, 2024

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

rustc --version

@Dyrimon
Copy link
Author

Dyrimon commented Apr 15, 2024

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)

@mominul
Copy link
Member

mominul commented Apr 19, 2024

What does this outputs?

which rustc

@Dyrimon
Copy link
Author

Dyrimon commented Apr 21, 2024

What does this outputs?

which rustc

/usr/bin/rustc

@asifakonjee
Copy link

@Dyrimon ... Is there any way to build applications manually in MicroOS? As far as I know, it is an immutable distro and does not support manually building. I may be wrong as I haven't use any immutable distros myself.

@Dyrimon
Copy link
Author

Dyrimon commented Oct 6, 2024

@Dyrimon ... Is there any way to build applications manually in MicroOS? As far as I know, it is an immutable distro and does not support manually building. I may be wrong as I haven't use any immutable distros myself.

I don't use it anymore. My short experience with microOS taught me that atomic desktops may not be suitable for a general purpose desktop or production PC. It might work for a server, but I have no experience. Building on it hasn't been fun.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants