neolink
neolink copied to clipboard
CentOS 7 compilation issue
Trying to compile gives the following.
error: failed to run custom build command for `gstreamer-sys v0.17.0`
Caused by:
process didn't exit successfully: `/tmp/neolink-master/target/debug/build/gstreamer-sys-551c03fe60e88
d5f/build-script-build` (exit status: 1)
--- stdout
cargo:rerun-if-env-changed=GSTREAMER_1.0_NO_PKG_CONFIG
cargo:rerun-if-env-changed=PKG_CONFIG
cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_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_x86_64-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_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_x86_64-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_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" "--libs" "--cflags" "gstreamer-1.0" "gstreamer-1.0 >= 1.14"` did not exit
successfully: exit status: 1
--- stderr
Requested 'gstreamer-1.0 >= 1.14' but version of GStreamer is 1.10.4
warning: build failed, waiting for other jobs to finish...
error: build failed
CentOS 7 is still a nice server OS, can we make this work?
You need a newer version of gstreamer. Is there anyway good way to get updated packages on centos?
This version is the "stable" what the system is using. I was hoping to get around this with old system version but seems like it's easier and better to install Ubuntu inside an LXC container and use it like that instead of tampering with system libraries. Especially since gstreamer is kind of gray zone because of patents and not officially supported by main repositories. I am currently running the neolink inside an Ubuntu 18.04 LXC container.
Just thought I would follow up for anyone reading this. Sorry for the lateness.
We orignially supported 1.10 but it was found that 1.10 does not support the full feature set (notably password protected rtsp streams). This could be put behind a feature flag but noone has put it in the work (PRs welcome if you really need it)
CentOS 8 should work, but I am afraid 7 will not as the gstreamer included is 1.10 which is quite far behind the current gstramer stable of 1.16.