Can't find executable within build directory after compilation

*nix specific usage questions
rrrssssss
New Cone
New Cone
Posts: 8
Joined: 19 Jan 2018 03:32

Can't find executable within build directory after compilation

Postby rrrssssss » 11 Apr 2018 18:57

Hello VLC forum,

I successfully compiled VLC 2.2.8 using the contrib method (static libraries) but I can not find the executable to launch VLC within the build directory in my home folder according to this page: https://wiki.videolan.org/UnixCompile/

The above page says the following command should work: # ./vlc but it says file not found and that same page also says it is not necessary to use 'make install' when VLC should launch directly from the build directory in my home folder without having to install it on to my system. Do I have to install VLC to my system (make install) for the executable file to be created? I'm pretty sure there were no errors during the compile process.

Help would be appreciated.

Roy

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

Re: Can't find executable within build directory after compilation

Postby Rémi Denis-Courmont » 11 Apr 2018 19:49

When the wiki page mentions build directory, it means build directory.

There is not one occurrence of the word "home" on that page.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

rrrssssss
New Cone
New Cone
Posts: 8
Joined: 19 Jan 2018 03:32

Re: Can't find executable within build directory after compilation

Postby rrrssssss » 12 Apr 2018 01:37

Is it okay to put the build directory in the home directory? Any other directory would be root and I do not think I should compile as root. When I ran ./vlc I was in the build directory.

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

Re: Can't find executable within build directory after compilation

Postby Rémi Denis-Courmont » 12 Apr 2018 16:39

That can only mean one of two things: you did not follow the instructions, or you ignored some fatal error.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

rrrssssss
New Cone
New Cone
Posts: 8
Joined: 19 Jan 2018 03:32

Re: Can't find executable within build directory after compilation

Postby rrrssssss » 13 Apr 2018 01:12

You were right on the first count. I did not thoroughly read the documentation pages. I did not know that after running make in the contrib directory I then had to run ./configure and make from the uppermost directory of the uncompressed tarball. So thank you much.

Roy


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

Who is online

Users browsing this forum: No registered users and 11 guests