vlc-3.0.18 compilation errors with live555

*nix specific usage questions
amcrest
Blank Cone
Blank Cone
Posts: 14
Joined: 21 Dec 2020 03:32
Operating System: Linux

vlc-3.0.18 compilation errors with live555

Postby amcrest » 31 Dec 2022 22:51

My project is to include live555 in vlc for use in Debian 11 to view rtsp streams. Following instructions in http://live555.com/liveMedia/#config-unix no errors were encountered installing live555-latest.tar.gz to the default location. In vlc-3.0.18 however:

Code: Select all

./configure --enable-live555 ... checking for live555... no configure: WARNING: Package 'live555', required by 'virtual:world', not found. checking for live555 version 1324598400 or later... no configure: WARNING: live555 is missing or its installed version is too old: Version 2011.12.23 or later is required to proceed. You can get an updated one from http://www.live555.com/liveMedia . configure: error: Update live555 or pass --disable-live555 to disable RTSP input support.
How might I resolve this compilation issue, please? I'd prefer to not use the vlc "snap" installation method if at all possible.

Rémi Denis-Courmont
Developer
Developer
Posts: 15344
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: vlc-3.0.18 compilation errors with live555

Postby Rémi Denis-Courmont » 01 Jan 2023 11:55

live555 is not found in the build environment that you use to build VLC.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

amcrest
Blank Cone
Blank Cone
Posts: 14
Joined: 21 Dec 2020 03:32
Operating System: Linux

Re: vlc-3.0.18 compilation errors with live555

Postby amcrest » 01 Jan 2023 17:26

Yes, that's rather obvious. The question is why can't the vlc configure script detect the most recent live555 installation? The section of code that generates the error is somewhat convoluted and contains many variables that are difficult for me to decipher, so I was hoping a more knowledgeable person could assist, please.

amcrest
Blank Cone
Blank Cone
Posts: 14
Joined: 21 Dec 2020 03:32
Operating System: Linux

Re: vlc-3.0.18 compilation errors with live555

Postby amcrest » 01 Jan 2023 23:29

In config.log:

Code: Select all

... configure:34445: checking for live555 configure:34452: $PKG_CONFIG --exists --print-errors "live555" Package live555 was not found in the pkg-config search path. Perhaps you should add the directory containing `live555.pc' to the PKG_CONFIG_PATH environment variable Package 'live555', required by 'virtual:world', not found configure:34455: $? = 1 configure:34469: $PKG_CONFIG --exists --print-errors "live555" Package live555 was not found in the pkg-config search path. Perhaps you should add the directory containing `live555.pc' to the PKG_CONFIG_PATH environment variable Package 'live555', required by 'virtual:world', not found configure:34472: $? = 1 configure:34486: result: no Package 'live555', required by 'virtual:world', not found configure:34503: WARNING: Package 'live555', required by 'virtual:world', not found. configure:34553: checking for live555 version 1324598400 or later configure:34576: g++ -E -I/usr/include/liveMedia -I/usr/include/groupsock -I/usr/include/BasicUsageEnvironment -I/usr/include/UsageEnvironment conftest.cpp conftest.cpp:176:10: fatal error: liveMedia_version.hh: No such file or directory 176 | #include <liveMedia_version.hh> | ^~~~~~~~~~~~~~~~~~~~~~ compilation terminated. ...
So I'm wondering what needs to be changed to find it, please?

Code: Select all

$ find /usr -type f -name liveMedia_version.hh /usr/local/include/liveMedia/liveMedia_version.hh


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 141 guests