Cannot run configure due to dvdread

*nix specific usage questions
jimmyjinkles
New Cone
New Cone
Posts: 3
Joined: 04 Oct 2016 22:00

Cannot run configure due to dvdread

Postby jimmyjinkles » 04 Oct 2016 23:58

I have follow the steps to get and compile VLC source 2.2.4 for Ubuntu. My issue is this when running configure

checking for DC1394... yes
checking for DV1394... yes
checking for DVDREAD... no
configure: error: Library dvdread > 4.9.0 needed for dvdread was not found

It is really infuriating because dvdread only exists at 4.2 in apt and I ran
sudo apt-get build-dep vlc
Which did not fail so I don't understand how it doesn't get this dependency.
Also
sudo apt-get install -y libdvdread4
sudo apt-get install -y libdvdread-dev
These are not the latest versions.

Does it make sense to grab 5.0 from http://www.linuxfromscratch.org/blfs/vi ... dread.html ? I mean I tried anyways, extracted it, and from the extracted folder ran

./configure --prefix=/usr && make

which did not make a difference. It still cannot find libdvdread.. Worst part is I don't even need dvdread.

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

Re: Cannot run configure due to dvdread

Postby Rémi Denis-Courmont » 05 Oct 2016 13:06

'apt-get build-dep vlc' gets the dependencies for the version of VLC inside Ubuntu.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

jimmyjinkles
New Cone
New Cone
Posts: 3
Joined: 04 Oct 2016 22:00

Re: Cannot run configure due to dvdread

Postby jimmyjinkles » 05 Oct 2016 13:57

And that command went without a hitch. Yet I cannot build because of dvdread...

This is exactly what happens after I apt-get remove dvdread and run apt-get build-dep vlc

libdvdnav-dev libdvdread-dev
Get:1 http://ca.archive.ubuntu.com/ubuntu/ trusty/universe libdvdread-dev amd64 4.2.1-2ubuntu1 [62.0 kB]
Fetched 111 kB in 2s (44.1 kB/s)
Selecting previously unselected package libdvdread-dev:amd64.
(Reading database ... 193761 files and directories currently installed.)
Preparing to unpack .../libdvdread-dev_4.2.1-2ubuntu1_amd64.deb ...
Unpacking libdvdread-dev:amd64 (4.2.1-2ubuntu1) ...
Setting up libdvdread-dev:amd64 (4.2.1-2ubuntu1) ...

Why is it installing 4.2 when it needs 4.9? Is there someone I can post this issue to whomever manages said packages?

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

Re: Cannot run configure due to dvdread

Postby Rémi Denis-Courmont » 05 Oct 2016 16:06

Sigh. Because the version of VLC inside Ubuntu works fine with dvdread 4.2 only?
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

User avatar
nonzyro
Blank Cone
Blank Cone
Posts: 23
Joined: 27 Sep 2016 13:34
VLC version: 2.2.4
Operating System: Debian Linux
Contact:

Re: Cannot run configure due to dvdread

Postby nonzyro » 06 Oct 2016 19:52

What Rémi means is that the version you installed with your *package manager* has all dependencies satisfied.
The version you want to *build* requires more "bleeding-edge" libs.
What you build *is not* the same as your package manager installed. When you run build-dep it is done by your package manager (APT) and the query is made against the index retrieved by APT on the last update.
This is not related to building it. That is entirely a different beast. My advice: if want something newer than your distribution's default version, use a backport.
64bit: Debian 8 / VLC 2.2.4 / 4GB RAM / i5 430M / 512MB VRAM / Radeon HD5470

One time Randy's mom grew her nails really long and then she got an iPhone, but she couldn't use it so she had to have her nails cut but they had to use a chainsaw and they accidentally cut off her fingers and they sowed them back on backwards by accident and now her hands look weird and that's my 400 character limit


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

Who is online

Users browsing this forum: No registered users and 20 guests