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
silverdev2482•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
silverdev2482•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
silverdev2482•2y ago
dev packages?
Nova
Nova•2y ago
it tells you what's missing stuff that ends in -dev
silverdev2482
silverdev2482•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
silverdev2482•2y ago
What is the problem?
Saphira Kai
Saphira Kai•2y ago
sorry lol i'm collecting my brain here
silverdev2482
silverdev2482•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
silverdev2482•2y ago
Should I spin up an arch vm for packages then?
Want results from more Discord servers?
Add your server