Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Announcements and Chat > General Discussion

Reply
 
Thread Tools Search this Thread Display Modes
Old 12th November 2019, 07:27   #1  |  Link
Katie Boundary
Registered User
 
Katie Boundary's Avatar
 
Join Date: Jan 2015
Posts: 616
Compiling VLC from source in Linux

I'm currently attempting to compile VLC player in LXLE, derived from Ubuntu 18.04

Unzipping the tarball and running ./configure produces an error message about Lua being missing. I installed Lua and tried again, but got the same error. Fine then, be that way. I tried ./configure --disable-lua, and got a similar message but complaining about "Missing libav or FFmpeg". So I build ffmpeg from source and install it, which goes just fine, and try ./configure --disable-lua again... and it's STILL saying that ffmpeg is missing. So I try ./configure --disable-lua --disable-avcodec and it complains about a missing swscale. I download the swscale .deb file and install it with gdebi and try again. It can't see the swscale either, so I try ./configure --disable-lua --disable-avcodec --disable-swscale...

What the hell? This can't be a coincidence. Why is VLC refusing to see that these dependencies are installed?
__________________
If I ask "How do I do X?" or "what happens if I do X?", and X is a very bad thing that no one would ever normally do, assume that I already know this, and that I have Katie reasons for asking anyway.

Last edited by Katie Boundary; 12th November 2019 at 07:53.
Katie Boundary is offline   Reply With Quote
Old 12th November 2019, 09:52   #2  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 9,833
Unless you really know what you are doing, the best choice is probably to install the development packages of dependencies from Ubuntu, instead of also building dependencies from source.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is online now   Reply With Quote
Old 12th November 2019, 14:00   #3  |  Link
wonkey_monkey
Formerly davidh*****
 
wonkey_monkey's Avatar
 
Join Date: Jan 2004
Posts: 1,839
Quote:
Originally Posted by Katie Boundary View Post
I'm currently attempting to compile VLC player in LXLE, derived from Ubuntu 18.04

Unzipping the tarball and running ./configure produces an error message about Lua being missing. I installed Lua and tried again, but got the same error. Fine then, be that way. I tried ./configure --disable-lua, and got a similar message but complaining about "Missing libav or FFmpeg". So I build ffmpeg from source and install it, which goes just fine, and try ./configure --disable-lua again... and it's STILL saying that ffmpeg is missing. So I try ./configure --disable-lua --disable-avcodec and it complains about a missing swscale. I download the swscale .deb file and install it with gdebi and try again. It can't see the swscale either, so I try ./configure --disable-lua --disable-avcodec --disable-swscale...

What the hell? This can't be a coincidence. Why is VLC refusing to see that these dependencies are installed?
Probably because you don't know what you're doing (this is not to be unexpected when trying to compile things on Linux), and also - as always - because you aren't aware of how to properly explain what you're doing. You say:

Quote:
I download the swscale .deb file and install it
But what, exactly, did you install? What was the name of the file/package? Did you install libswscale or did you install libswscale-dev? Likewise for Lua and ffmpeg. You probably need to install the -dev packages. These contain the header files that VLC needs to include so it can link itself to the library packages you've probably already installed.
__________________
My AviSynth filters / I'm the Doctor
wonkey_monkey is offline   Reply With Quote
Old 13th November 2019, 08:18   #4  |  Link
Katie Boundary
Registered User
 
Katie Boundary's Avatar
 
Join Date: Jan 2015
Posts: 616
Quote:
Originally Posted by nevcairiel View Post
Unless you really know what you are doing, the best choice is probably to install the development packages of dependencies from Ubuntu, instead of also building dependencies from source.
I agree, which is why I tried installing things normally whenever possible, and only building ffmpeg from source because there was no other way to install it.

Quote:
Originally Posted by wonkey_monkey
This message is hidden because wonkey_monkey is on your ignore list.
Insightful commentary as always.
__________________
If I ask "How do I do X?" or "what happens if I do X?", and X is a very bad thing that no one would ever normally do, assume that I already know this, and that I have Katie reasons for asking anyway.
Katie Boundary is offline   Reply With Quote
Old 13th November 2019, 11:33   #5  |  Link
wonkey_monkey
Formerly davidh*****
 
wonkey_monkey's Avatar
 
Join Date: Jan 2004
Posts: 1,839
Quote:
Originally Posted by Katie Boundary View Post
Insightful commentary as always.
Serves me right for trying to be helpful. The answer probably is that you need to install the -dev versions of packages, not the library versions. But since you'll never read this message, you'll never find out.

Warning to anyone else tempted to reply to this thread: this is the kind of treatment you can expect simply for trying to be helpful, if you don't happen to tell this user what she wants to hear.
__________________
My AviSynth filters / I'm the Doctor
wonkey_monkey is offline   Reply With Quote
Old 15th November 2019, 02:02   #6  |  Link
Katie Boundary
Registered User
 
Katie Boundary's Avatar
 
Join Date: Jan 2015
Posts: 616
NVM. After switching to a different linux distro for unrelated reasons, everything installed correctly... except Checkinstall, which does not seem to be available from any of this distribution's repositories. But I don't strictly need Checkinstall.
__________________
If I ask "How do I do X?" or "what happens if I do X?", and X is a very bad thing that no one would ever normally do, assume that I already know this, and that I have Katie reasons for asking anyway.
Katie Boundary is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 15:22.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.