What is the list of nessacry packages on ubuntu to install stardust?

silverdev2482@silverdev2482-Standard-PC-Q35-ICH9-2009:~/stardust-xr-server$ cargo build
Compiling proc-macro2 v1.0.53
Compiling quote v1.0.26
Compiling libc v0.2.140
Compiling syn v1.0.109
error: linker `cc` not found
|
= note: No such file or directory (os error 2)

error: could not compile `quote` due to previous error
warning: build failed, waiting for other jobs to finish...
error: could not compile `syn` due to previous error
error: could not compile `proc-macro2` due to previous error
error: could not compile `libc` due to previous error
silverdev2482@silverdev2482-Standard-PC-Q35-ICH9-2009:~/stardust-xr-server$ cargo build
Compiling proc-macro2 v1.0.53
Compiling quote v1.0.26
Compiling libc v0.2.140
Compiling syn v1.0.109
error: linker `cc` not found
|
= note: No such file or directory (os error 2)

error: could not compile `quote` due to previous error
warning: build failed, waiting for other jobs to finish...
error: could not compile `syn` due to previous error
error: could not compile `proc-macro2` due to previous error
error: could not compile `libc` due to previous error
I'm getting this error on a fresh install of ubuntu. with only a few things installed. I think I am missing packages and would like of nessacry packages on ubuntu/debian. Although errors related to cc could be something else.
43 Replies
silverdev2482
silverdev2482OP•2y ago
I thought something was wrong with cc. No, some compiler wasn't installed, I just automatically assumed cc exists Now I get this error
silverdev2482@silverdev2482-Standard-PC-Q35-ICH9-2009:~/stardust-xr-server$ cargo build
Compiling stereokit-sys v2.4.3
Compiling angle v0.5.0
Compiling approx v0.4.0
Compiling mio v0.8.6
error: failed to run custom build command for `stereokit-sys v2.4.3`

Caused by:
process didn't exit successfully: `/home/silverdev2482/stardust-xr-server/target/debug/build/stereokit-sys-08eb2040f65ad4e1/build-script-build` (exit status: 101)
--- stdout
CMAKE_TOOLCHAIN_FILE_x86_64-unknown-linux-gnu = None
CMAKE_TOOLCHAIN_FILE_x86_64_unknown_linux_gnu = None
HOST_CMAKE_TOOLCHAIN_FILE = None
CMAKE_TOOLCHAIN_FILE = None
CMAKE_GENERATOR_x86_64-unknown-linux-gnu = None
CMAKE_GENERATOR_x86_64_unknown_linux_gnu = None
HOST_CMAKE_GENERATOR = None
CMAKE_GENERATOR = None
CMAKE_PREFIX_PATH_x86_64-unknown-linux-gnu = None
CMAKE_PREFIX_PATH_x86_64_unknown_linux_gnu = None
HOST_CMAKE_PREFIX_PATH = None
CMAKE_PREFIX_PATH = None
CMAKE_x86_64-unknown-linux-gnu = None
CMAKE_x86_64_unknown_linux_gnu = None
HOST_CMAKE = None
CMAKE = None
running: cd "/home/silverdev2482/stardust-xr-server/target/debug/build/stereokit-sys-dc55c54e485042f7/out/build" && CMAKE_PREFIX_PATH="" "cmake" "/home/silverdev2482/.cargo/registry/src/github.com-1ecc6299db9ec823/stereokit-sys-2.4.3/StereoKit" "-DSK_BUILD_SHARED_LIBS=OFF" "-DSK_BUILD_TESTS=OFF" "-DSK_LINUX_EGL=ON" "-DSK_PHYSICS=OFF" "-DCMAKE_INSTALL_PREFIX=/home/silverdev2482/stardust-xr-server/target/debug/build/stereokit-sys-dc55c54e485042f7/out" "-DCMAKE_C_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_C_COMPILER=/usr/bin/cc" "-DCMAKE_CXX_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_CXX_COMPILER=c++" "-DCMAKE_ASM_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_ASM_COMPILER=/usr/bin/cc" "-DCMAKE_BUILD_TYPE=RelWithDebInfo"
silverdev2482@silverdev2482-Standard-PC-Q35-ICH9-2009:~/stardust-xr-server$ cargo build
Compiling stereokit-sys v2.4.3
Compiling angle v0.5.0
Compiling approx v0.4.0
Compiling mio v0.8.6
error: failed to run custom build command for `stereokit-sys v2.4.3`

Caused by:
process didn't exit successfully: `/home/silverdev2482/stardust-xr-server/target/debug/build/stereokit-sys-08eb2040f65ad4e1/build-script-build` (exit status: 101)
--- stdout
CMAKE_TOOLCHAIN_FILE_x86_64-unknown-linux-gnu = None
CMAKE_TOOLCHAIN_FILE_x86_64_unknown_linux_gnu = None
HOST_CMAKE_TOOLCHAIN_FILE = None
CMAKE_TOOLCHAIN_FILE = None
CMAKE_GENERATOR_x86_64-unknown-linux-gnu = None
CMAKE_GENERATOR_x86_64_unknown_linux_gnu = None
HOST_CMAKE_GENERATOR = None
CMAKE_GENERATOR = None
CMAKE_PREFIX_PATH_x86_64-unknown-linux-gnu = None
CMAKE_PREFIX_PATH_x86_64_unknown_linux_gnu = None
HOST_CMAKE_PREFIX_PATH = None
CMAKE_PREFIX_PATH = None
CMAKE_x86_64-unknown-linux-gnu = None
CMAKE_x86_64_unknown_linux_gnu = None
HOST_CMAKE = None
CMAKE = None
running: cd "/home/silverdev2482/stardust-xr-server/target/debug/build/stereokit-sys-dc55c54e485042f7/out/build" && CMAKE_PREFIX_PATH="" "cmake" "/home/silverdev2482/.cargo/registry/src/github.com-1ecc6299db9ec823/stereokit-sys-2.4.3/StereoKit" "-DSK_BUILD_SHARED_LIBS=OFF" "-DSK_BUILD_TESTS=OFF" "-DSK_LINUX_EGL=ON" "-DSK_PHYSICS=OFF" "-DCMAKE_INSTALL_PREFIX=/home/silverdev2482/stardust-xr-server/target/debug/build/stereokit-sys-dc55c54e485042f7/out" "-DCMAKE_C_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_C_COMPILER=/usr/bin/cc" "-DCMAKE_CXX_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_CXX_COMPILER=c++" "-DCMAKE_ASM_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_ASM_COMPILER=/usr/bin/cc" "-DCMAKE_BUILD_TYPE=RelWithDebInfo"
--- stderr
thread 'main' panicked at '
failed to execute command: No such file or directory (os error 2)
is `cmake` not installed?

build script failed, must exit now', /home/silverdev2482/.cargo/registry/src/github.com-1ecc6299db9ec823/cmake-0.1.49/src/lib.rs:1104:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
--- stderr
thread 'main' panicked at '
failed to execute command: No such file or directory (os error 2)
is `cmake` not installed?

build script failed, must exit now', /home/silverdev2482/.cargo/registry/src/github.com-1ecc6299db9ec823/cmake-0.1.49/src/lib.rs:1104:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
Nova
Nova•2y ago
I don't have a list off the top of my head but you need cmake, rust, egl, OpenXR, Wayland, and xkbcommon @silverdev2482
silverdev2482
silverdev2482OP•2y ago
ok
Nova
Nova•2y ago
all as dev packages if there's an error install a package to fix it know what I mean?
silverdev2482
silverdev2482OP•2y ago
dev packages?
Nova
Nova•2y ago
it tells you what's missing stuff that ends in -dev
silverdev2482
silverdev2482OP•2y ago
ok? Actually I'ma go to bed but is there an Andromeda install guide? If I'm spinning up a vm only for stardust might as well use it. I can't find an openxr package
Nova
Nova•2y ago
@Saphira Kai
Saphira Kai
Saphira Kai•2y ago
oop
silverdev2482
silverdev2482OP•2y ago
What is the problem?
Saphira Kai
Saphira Kai•2y ago
sorry lol i'm collecting my brain here
silverdev2482
silverdev2482OP•2y ago
I'll give you a second
Saphira Kai
Saphira Kai•2y ago
andromeda isn't currently fully functional, you can test it out but i haven't finished writing the build script that creates an actual persistent os you can basically use it like a regular arch install iso except with a gui
Nova
Nova•2y ago
here's an idea
silverdev2482
silverdev2482OP•2y ago
Should I spin up an arch vm for packages then?
Nova
Nova•2y ago
why not have it be a persistent live image with calamares to install it you'd be better off with nix or gentoo since the packages are in build scripts and I forgot the exact packages needed
Saphira Kai
Saphira Kai•2y ago
well the build script is also an installer
Nova
Nova•2y ago
why not just search what the errors say is missing, silver? and install those on ubuntu
Saphira Kai
Saphira Kai•2y ago
it's honestly easier to write the script, everything is so preconfigured and static that just flashing it directly onto a device automatically is easier than setting up a guided installer
silverdev2482
silverdev2482OP•2y ago
I was having some trouble installing it from the flake.
silverdev2482
silverdev2482OP•2y ago
here is my nix flake
Nova
Nova•2y ago
hmm well then why not fix the Ubuntu issues? like... idk what to tell you other than search up the errors and install what's missing
silverdev2482
silverdev2482OP•2y ago
Ok
Nova
Nova•2y ago
I know it all exists on ubuntu I installed it all on popos once I just don't remember the exact package names
silverdev2482
silverdev2482OP•2y ago
the thing is all the stardust stuff needs to be packages and that would be hard to do on nixos for me.
Nova
Nova•2y ago
I thought you were on ubuntu I'm confused
silverdev2482
silverdev2482OP•2y ago
No, I'm on NixOS but I have vms at my disposal
Nova
Nova•2y ago
oh a VM won't work well let's get the flake working
silverdev2482
silverdev2482OP•2y ago
I know, but it will work sure I guess I need to import it in my input which I did
Nova
Nova•2y ago
@Astavie#2920 any ideas? you made the flake
silverdev2482
silverdev2482OP•2y ago
then I'm not sure what I need to do.
Nova
Nova•2y ago
let's wait for her to respond I don't know nix myself
silverdev2482
silverdev2482OP•2y ago
ok, I should shower
Nova
Nova•2y ago
ok
Astavie#2920
Astavie#2920•2y ago
Currently the flake is broken upstream, I'll try to fix that soon, although I can also see there are some issues on how you import stardust Nix is a bit of a beast to be honest 😅 doesn't have the best documentation I'll see if I can add a quick "adding it to your own flake" too @Nova I fixed the flake for now!
Nova
Nova•2y ago
it's gonna break in 0.2 seconds though isn't it? :p
Astavie#2920
Astavie#2920•2y ago
check the notes on the pull request just source changes dont break it it failed... oh i didnt merge all your changes
Nova
Nova•2y ago
oh source changes don't break it?
Astavie#2920
Astavie#2920•2y ago
just dependency updates
Nova
Nova•2y ago
ah
Astavie#2920
Astavie#2920•2y ago
you merged too soon lol sorry for the confusion
Nova
Nova•2y ago
oh shoot sorry
Astavie#2920
Astavie#2920•2y ago
alright now its fixed
Want results from more Discord servers?
Add your server