What's the name of the package of "GstRtp"'s library? Follow up question: how to install all dependencies of a tar file?

7 risposte [Ultimo contenuto]
Staircase
Offline
Iscritto: 02/24/2022

Hello,

I am trying to install Dino 3.0 from the tar file (https://github.com/dino/dino/releases/tag/v0.3.0).

When I run "./configure" in the directory of the extracted tar file, the output is:


user@x220:~/dino-0.3.0$ ./configure
-- Configuring Dino 0.3.0 with plugins: http-files, ice, omemo, openpgp, rtp
-- ALPN support enabled
CMake Error at /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:146 (message):
Could NOT find GstRtp (missing: GstRtp_LIBRARY)
Call Stack (most recent call first):
/usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:393 (_FPHSA_FAILURE_MESSAGE)
cmake/FindGstRtp.cmake:17 (find_package_handle_standard_args)
plugins/rtp/CMakeLists.txt:1 (find_package)

I have already installed a few missing libraries which I guessed the name of, looked up on https://packages.debian.org/ or found on the Web.

I can't seem to find the name of the package of the library "GstRtp".

I have a few questions:

My immediate question is: what is the name of the package for "GstRtp" library? Or where can I find the name of the package of this library myself?

I also have a follow up question: is there a way to install all the missing libraries or packages at once when installing from a tar file instead of iterating and guessing one package at the time? I learnt about "build-dep" from a previous thread https://trisquel.info/en/forum/configure-error-you-need-boost-signals-library-compile-ekiga-what-can-i-try-fix-error#comment-167046. Unfortunately for me, Trisquel's repository only has Dino 0.1. I need Dino 0.3 to make calls via JMP chat.

Ark74

I am a member!

I am a translator!

Offline
Iscritto: 07/15/2009

Distros that follow the point release scheme, get their programs "freezed" in time, so they most likely will keep the same version with only security updates, this makes distros such as Debian, Ubuntu and of course Trisquel very stable.
The down side is that programs versions don't get updated following the main project release for each program, as libraries are deeply tied across the system on each app, think of it as an ecosystem of libraries.

Like I've mentioned before, I've read that the easiest way to have the latest version on most packages, could be to use the Guix repository, as those packages are not tied to the system.

On the other side, you might want to try Jami instead, as seems there is no requirement for what platform you use.
At some point trisquel may (or may not) keep track of the latest release, while that is determined you can add the latest version following these instructions:

https://jami.net/download-jami-linux/#open-modal-trisquel-10.0

Regards.

Magic Banana

I am a member!

I am a translator!

Offline
Iscritto: 07/24/2010

If I were you, I would follow the instructions for Ubuntu 20.04 (Trisquel 10 is based on it) on https://software.opensuse.org/download.html?project=network:messaging:xmpp:dino&package=dino

Avron

I am a translator!

Offline
Iscritto: 08/18/2020

The name I found is gstreamer1.0-plugins-rtp but maybe you already installed it?

As Ark74 mentioned, you could install Dino 0.3.0 using Guix (I did that but I am actually using Gajim, which I find more convenient).

My only warning with Guix is that it takes a lot space in the root partition and updates can be a little painful because if you don't have "substitutes" available, i.e. precompiled binaries, guix will locally compile what is missing (but if that is too long, you can interrupt that without any risk for your system).

Staircase
Offline
Iscritto: 02/24/2022

Thank you Ark74 for taking the time to write up an explanation on why there are missing libraries. I followed the solution of Magic Banana. I had looked up "Guix repository" when Ark74 mentioned it earlier but I was not too sure how to proceed.

Avron, I first set up JMP Chat with Gajim and managed to send SMS from Gajim, but I am more interested in JMP to place calls. I understand that Gajim, like Jami, don't support SIP. That's why I was seeking to install Ekiga first, and now Dino 0.3.0, which I managed to installed.

However, Dino 0.3.0 does not detect audio. I opened another thread to discuss the issue: https://trisquel.info/en/forum/dino-030-does-not-detect-outgoing-and-incoming-audio

> The name I found is gstreamer1.0-plugins-rtp but maybe you already installed it?

I had installed this package but somehow Dino ./configure could not find it or something so I wasn't sure that was the right one.

Avron

I am a translator!

Offline
Iscritto: 08/18/2020

> I am more interested in JMP to place calls. I understand that Gajim, like Jami, don't support SIP

Actually, Jami supports SIP but I had problems using it for a SIP account from OVH. For SIP, I had a successful experience with Linphone, but I don't know whether this is suitable for JMP chat.

> I had looked up "Guix repository" when Ark74 mentioned it earlier but I was not too sure how to proceed.

How to install and use Guix on Trisquel, in case you want to try later:

  1. install nscd from Trisquel (Guix manual section 2.6 explains why, if you are interested)
  2. run as root what is at the beginning of https://guix.gnu.org/en/manual/devel/en/guix.html#Binary-Installation, with red on the side, ignore all the rest of the section
  3. do once what is at https://guix.gnu.org/en/manual/devel/en/guix.html#Upgrading-Guix (not as root unless sudo is written, not as root is important)
  4. run "guix install glibc-locales" (not as root, this is important)
  5. run "guix install fontconfig" and "fc-cache -rv" (not as root, this is important)

For installation, ignore all the rest the manual says, this is not needed at all (I find the manual rather confusing, as it looks like you need to do other things but this is not the case, I installed Guix on Trisquel on several PCs and now I am sure of that).

Then, "guix pull", "guix package update" and "guix install/remove xxx" are somehow the equivalent of "apt update", "apt upgrade" and "apt install/remove", except that you run them as the user that uses the apps to be installed, not as root, because each user installs his own applications, so what you run as root will only install apps for root and for no other user.

The two "everyday use of Gnu Guix" videos (see https://guix.gnu.org/en/videos/2020/everyday-use-of-gnu-guix-part-one/) tell you the few more really useful things, no need to look more into the manual.

EDIT: I forgot one useful thing. If, after installing Guix, you get in a situation where, when you log in, you get back to the login screen as if you did not log in, log in in text mode (Ctrl+Alt+F1 to switch to text mode, Ctrl+alt+F7 to switch back when you are done), add to ~/.profile (create it if you don't have) the following line:

export XDG_DATA_DIRS="/usr/local/share:/usr/share/${XDG_DATA_DIRS:+:}$XDG_DATA_DIRS"

Then the log in in graphic mode should work again (had this issue on multiple PCs, solution nicely given by adfeno)

Staircase
Offline
Iscritto: 02/24/2022

Thanks a lot for the detailed description on how to install and use Guix on Trisquel GNU/Linux. I have saved it for when I will need it, later.

> Actually, Jami supports SIP but I had problems using it for a SIP account from OVH. For SIP, I had a successful experience with Linphone, but I don't know whether this is suitable for JMP chat.

Thanks for the info regarding Jami and Linphone. I have managed to place a call via JMP by using the webclient of movim.eu: mov.im. Still, I would like to fix the audio issue with Dino 0.3.0 and Trisquel; I will wait and see if someone replies there: https://trisquel.info/en/forum/dino-030-does-not-detect-outgoing-and-incoming-audio.

Thanks again.

Staircase
Offline
Iscritto: 02/24/2022

Would "How to install and use Guix on Trisquel" written by Avron here above[1] be suitable to be added to a wiki page (https://trisquel.info/en/node/add)?

[1] https://trisquel.info/en/forum/whats-name-package-gstrtps-library-follow-question-how-install-all-dependencies-tar-file#comment-167176