-- Juan Navarro Kurento developer @j1elo at GitHub & Twitter
--
You received this message because you are subscribed to the Google Groups "kurento" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kurento+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kurento/e12cc42d-adc0-47a3-8d8b-cd7fc8ebf8dcn%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kurento/8ef6a115-7329-4ce6-a8d4-f93934371f3an%40googlegroups.com.
-- Juan Navarro Software Development Engineer Kurento & OpenVidu WebRTC platforms | https://openvidu.io/
To view this discussion on the web visit https://groups.google.com/d/msgid/kurento/aaa41124-549f-4d89-a7ca-cb19d7a6563fn%40googlegroups.com.
-- Juan Navarro Software Development Engineer Kurento & OpenVidu WebRTC platforms | https://openvidu.io/
To view this discussion on the web visit https://groups.google.com/d/msgid/kurento/edd62d00-7c4a-4ca5-99e7-7c100d13d6a9n%40googlegroups.com.
-- Juan Navarro Software Development Engineer Kurento & OpenVidu WebRTC platforms | https://openvidu.io/
To view this discussion on the web visit https://groups.google.com/d/msgid/kurento/7aff5fbd-dd98-4715-8ee2-26a633b0a968n%40googlegroups.com.
ubuntu@kms7:~$ sudo apt-get update ; sudo apt-get install --no-install-recommends \
> kurento-media-server-dev
[sudo] password for ubuntu:
Hit:1 http://de.archive.ubuntu.com/ubuntu focal InRelease
Get:2 http://de.archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
Get:3 http://de.archive.ubuntu.com/ubuntu focal-backports InRelease [108 kB]
Get:4 http://de.archive.ubuntu.com/ubuntu focal-security InRelease [114 kB]
Get:5 http://de.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [2,405 kB]
Fetched 2,741 kB in 11s (245 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package kurento-media-server-dev
ubuntu@kms7:~$
ubuntu@kms7:~$ sudo apt-get update ; sudo mk-build-deps --install --remove \
> --tool="apt-get -o Debug::pkgProblemResolver=yes --no-install-recommends --no-remove" \
> debian/control
Hit:1 http://de.archive.ubuntu.com/ubuntu focal InRelease
Hit:2 http://de.archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:3 http://de.archive.ubuntu.com/ubuntu focal-backports InRelease
Hit:4 http://de.archive.ubuntu.com/ubuntu focal-security InRelease
Reading package lists... Done
mk-build-deps: You must have equivs installed to use this program.
ubuntu@kms7:~$
After sudo apt-get install -y equivs and re-run:
E: You must put some 'deb-src' URIs in your sources.list
After this:
sudo cp /etc/apt/sources.list /etc/apt/sources.list~
sudo sed -Ei 's/^# deb-src /deb-src /' /etc/apt/sources.list
sudo apt-get update
W: Unable to locate package debian/control
mk-build-deps: Unable to find package name in `apt-cache showsrc debian/control'
And I gave up :)
To view this discussion on the web visit https://groups.google.com/d/msgid/kurento/eed6e780-bda5-48dc-95e8-4cfa9aceead0n%40googlegroups.com.
-- Juan Navarro Software Development Engineer Kurento & OpenVidu WebRTC platforms | https://openvidu.io/
To view this discussion on the web visit https://groups.google.com/d/msgid/kurento/5bc9c235-38d3-495a-bf56-a78982d953f6n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kurento/9b630ecf-f4e3-5d56-b7a5-f8e9f8026d32%40gmx.es.
# In-place Docker container commands BEGIN
docker run --rm -i ubuntu:20.04 /bin/bash <<'DOCKERCOMMANDS'
# Bash options for strict error checking
set -o errexit -o errtrace -o pipefail -o nounset
# Trace all commands
set -o xtrace
# Run apt-get/dpkg without interactive dialogue.
export DEBIAN_FRONTEND=noninteractive
# Get DISTRIB_* env vars.
source /etc/upstream-release/lsb-release 2>/dev/null || source /etc/lsb-release
echo "# Install required tools"
apt-get update ; apt-get install --no-install-recommends --yes \
build-essential \
ca-certificates \
cmake \
git \
pkg-config
echo "# Install Kurento Media Server"
apt-get update ; apt-get install --no-install-recommends --yes \
gnupg
# Add Kurento repository key for apt-get.
apt-key adv \
--keyserver keyserver.ubuntu.com \
--recv-keys 234821A61B67740F89BFD669FC8A16625AFA7A83
# Add Kurento repository line for apt-get.
tee "/etc/apt/sources.list.d/kurento.list" >/dev/null <<EOF
deb [arch=amd64] http://ubuntu.openvidu.io/dev $DISTRIB_CODENAME main
EOF
# Install Kurento Media Server development packages.
apt-get update ; apt-get install --no-install-recommends --yes \
kurento-media-server-dev
echo "# Download Kurento source code"
git clone https://github.com/Kurento/kurento.git
cd kurento/
git submodule update --init --recursive
echo "# Build and run Kurento"
cd server/
export MAKEFLAGS="-j$(nproc)"
bin/build-run.sh --build-only
echo "Done! Everything got installed and built successfully"
DOCKERCOMMANDS
# In-place Docker container commands END
-- Juan Navarro Software Development Engineer Kurento & OpenVidu WebRTC platforms | https://openvidu.io/
To view this discussion on the web visit https://groups.google.com/d/msgid/kurento/535b17af-2f3a-4e14-8861-3ec46b5a74cen%40googlegroups.com.
kurento-media-server --version
Kurento Media Server version: 7.0.0-dev
Found modules:
'core' version 7.0.0-dev
'elements' version 7.0.0-dev
'filters' version 7.0.0-dev
$ apt-cache depends kurento-media-server-dev
kurento-media-server-dev
Depends: kurento-module-creator
$ apt-cache depends kurento-module-creator
kurento-module-creator
Depends: maven
To view this discussion on the web visit https://groups.google.com/d/msgid/kurento/3ae8c1f2-d862-4ed3-9487-d8631f135411n%40googlegroups.com.
Now - there is no such "Modules" directory anymore. In fact, all the little helpers, like this one or "FindKurentoModules.cmake" are not there. I suppose (not tried yet) I will not be able to compile my modules anymore
What am I missing?
Version does not match <7.0.0 with 7.0.0-dev
- This is for sure caused by the fact, that I still have to have a 7.0.0-dev environment, while release is expected here. Release is not released yet :). I commented the check starting at around line 301 in the mentioned file
- After that I was able to `cmake ..` and to compile my module
- Usually my installation are finishing with `sudo make install` which in turn copies my binaries to `/usr/local/lib` (amongst some meta-data elsewhere).
Install the project...
-- Install configuration: ""
-- Installing: /usr/local/lib/libkmswebrtccbrinterface.a
-- Installing: /usr/local/include/kurento/modules/webrtccbr/webrtccbr.hpp
-- Installing: /usr/local/include/kurento/modules/webrtccbr/onResult.hpp
-- Installing: /usr/local/lib/pkgconfig/kmswebrtccbr.pc
-- Installing: /usr/local/lib/libkmswebrtccbrimpl.so.0.1.6~7.gb9ddf5e
-- Installing: /usr/local/lib/libkmswebrtccbrimpl.so.0
-- Installing: /usr/local/lib/libkmswebrtccbrimpl.so
-- Installing: /usr/local/include/kurento/modules/webrtccbr/webrtccbrImpl.hpp
-- Installing: /usr/local/include/kurento/modules/webrtccbr/webrtccbrOpenCVImpl.hpp
-- Installing: /usr/local/include/kurento/modules/webrtccbr/webrtccbrImplFactory.hpp
-- Installing: /usr/local/lib/kurento/modules/libkmswebrtccbrmodule.so
-- Set runtime path of "/usr/local/lib/kurento/modules/libkmswebrtccbrmodule.so" to ""
-- Installing: /usr/local/share/cmake/Kurento/FindKMSWEBRTCCBR.cmake
-- Installing: /usr/local/share/kurento/modules/webrtccbr.kmd.json
This doesn't work anymore. Following the documentation quoted above it is now not even "allowed" anymore to have ".so" installed. Instead there is a focus to ".deb" installations. I don't have means for that, so I tried the suggestion to place the path to the module into the file `/etc/default/kurento`. But whatever I tried, the setting there was not recognized at start of the KMS service.
Only this worked at command line:
export KURENTO_MODULES_PATH="/home/ubuntu/webrtc-calibration/build/src/server"
I'm not too happy with it, also because all the same files are available at /usr/local/lib already... If someone could clarify, what the proper location would be for a pure binary installation.
Finally I got my module loaded:
So questions are:
What is the proper location of the plain module *.so" files so that those get loaded as before?
Sorry for the long post. I hope it is of help for somebody else having the same issues.
## Path to the directory where Kurento modules can be found
#export KURENTO_MODULES_PATH="/usr/lib"
Uncomment and change to `/usr/local/lib` and done.To view this discussion on the web visit https://groups.google.com/d/msgid/kurento/39dca5e0-c85d-4477-beb3-4be2909d083en%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kurento/9abc6456-1693-4c5e-b4b2-b09c8a4336b9n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kurento/d8cad7bd-806a-4ce6-a1ef-a82109d27395n%40googlegroups.com.