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

Unable to install/build/run hyperflut #1

Open
picky33 opened this issue Jan 10, 2025 · 2 comments
Open

Unable to install/build/run hyperflut #1

picky33 opened this issue Jan 10, 2025 · 2 comments

Comments

@picky33
Copy link

picky33 commented Jan 10, 2025

no matter what I try it doesn't seem to want to install. I keep getting this error:

"The following warnings were emitted during compilation:

warning: [email protected]:

error: failed to run custom build command for gstreamer-video-sys v0.23.4

Caused by:
process didn't exit successfully: /home/ubuntu/hyperflut/target/debug/build/gstreamer-video-sys-158cdc30f9e97114/build-script-build (exit status: 1)
--- stdout
cargo:rerun-if-changed=/home/ubuntu/.cargo/registry/src/index.crates.io-6f17d22bba15001f/gstreamer-video-sys-0.23.4/Cargo.toml
cargo:rerun-if-env-changed=GSTREAMER_VIDEO_1.0_NO_PKG_CONFIG
cargo:rerun-if-env-changed=PKG_CONFIG_aarch64-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_aarch64_unknown_linux_gnu
cargo:rerun-if-env-changed=HOST_PKG_CONFIG
cargo:rerun-if-env-changed=PKG_CONFIG
cargo:rerun-if-env-changed=PKG_CONFIG_PATH_aarch64-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_PATH_aarch64_unknown_linux_gnu
cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH
cargo:rerun-if-env-changed=PKG_CONFIG_PATH
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_aarch64-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_aarch64_unknown_linux_gnu
cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_aarch64-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_aarch64_unknown_linux_gnu
cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
cargo:warning=
pkg-config exited with status code 1

PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 pkg-config --libs --cflags gstreamer-video-1.0 gstreamer-video-1.0 >= 1.14

The system library gstreamer-video-1.0 required by crate gstreamer-video-sys was not found.
The file gstreamer-video-1.0.pc needs to be installed and the PKG_CONFIG_PATH environment variable must contain its parent directory.
The PKG_CONFIG_PATH environment variable is not set.

HINT: if you have installed the library, try setting PKG_CONFIG_PATH to the directory containing gstreamer-video-1.0.pc.

warning: build failed, waiting for other jobs to finish..."

I tried to install gstreamer using the instructions on https://gitlab.freedesktop.org/gstreamer/gstreamer-rs#getting-started but it still got the same error. not sure what i am doing wrong

@germanVCB
Copy link

germanVCB commented Jan 10, 2025

Please show the console output command: find sudo find /usr -name "gstreamer-video-1.0.pc"?
and copy the path to this file to the environment settings
export PKG_CONFIG_PATH=/usr/lib/pkgconfig:$PKG_CONFIG_PATH

@picky33
Copy link
Author

picky33 commented Jan 10, 2025

Output is: ubuntu@ubuntu:~$ sudo find /usr -name "gstreamer-video-1.0.pc" /usr/lib/aarch64-linux-gnu/pkgconfig/gstreamer-video-1.0.pc

i'm not sure if i'm setting the environment settings correctly
even if i set the path by running this code is still get the same error export PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/lib/aarch64-linux-gnu/pkgconfig/gstreamer-video-1.0.pc

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

2 participants