Compiling and executing from source

*nix specific usage questions
nero
Blank Cone
Blank Cone
Posts: 18
Joined: 30 Apr 2008 12:01
VLC version: 0.8.6f
Operating System: Fedora
Location: Malaysia
Contact:

Compiling and executing from source

Postby nero » 30 May 2008 04:42

Hi guys,

Let me explain the situation first. I plan to do some enhancement on top of the existing VLC 0.8.6f... so.. i downloaded the source tar from videolan.org (vlc-0.8.6f.tar.gz). I ran ./configure, then i ran make. After that, i can able to execute the vlc from the source itself via ./vlc. My question here.. can i start doing my enhancement from this folder itself.. (I will be making the changes as a patch later on). So.. will i have problem later on if i do in this way or is this the way to do it?

I would like to make the changes here and observe the changes as i progress by compiling and executing it...

Please advice guys.


Thank you.

Nero
Last edited by nero on 06 Jun 2008 02:49, edited 2 times in total.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Compiling and executing from source

Postby Jean-Baptiste Kempf » 30 May 2008 06:50

Yes. Make your changes and redo "make", then launch it.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

nero
Blank Cone
Blank Cone
Posts: 18
Joined: 30 Apr 2008 12:01
VLC version: 0.8.6f
Operating System: Fedora
Location: Malaysia
Contact:

Re: Compiling and executing from source

Postby nero » 30 May 2008 08:47

Yes. Make your changes and redo "make", then launch it.

Thank you very much.

nero
Blank Cone
Blank Cone
Posts: 18
Joined: 30 Apr 2008 12:01
VLC version: 0.8.6f
Operating System: Fedora
Location: Malaysia
Contact:

Re: Compiling and executing from source

Postby nero » 06 Jun 2008 03:03

I have another situation..

Im using Fedora 8, and VLC 0.8.6g on wxWidgets interface. I have the same version of VLC installed via yum. I intended to compile and rebuild another version for development purposes.

I have managed to successfully compile and rebuild the source Rpm. In the folder BUILD/vlc-0.8.6g/, I made a small change, so that i can see the changes does happen if i re-make it. I edited the modules/gui/wxwidgets/menu.cpp and tried to do make to observe the changes. The make process was successful.

It is just that i could not see any changes at all. When i execute ./vlc from the BUILD/vlc-0.8.6g/, it executes the previous version (Without any changes). Am i doing it wrong or is it not coming as it supposed to?

I even tried to remove the VLC which was installed via yum to observe if there is any changes or not.... it gives "Remote control interface initialized. Type `help' for help." when i try to execute the built VLC from BUILD/vlc-0.8.6g/. Can anyone help me out on this.

Thanks.


Nero


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

Who is online

Users browsing this forum: No registered users and 19 guests