Page 1 of 1

Compiling and executing from source

Posted: 30 May 2008 04:42
by nero
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

Re: Compiling and executing from source

Posted: 30 May 2008 06:50
by Jean-Baptiste Kempf
Yes. Make your changes and redo "make", then launch it.

Re: Compiling and executing from source

Posted: 30 May 2008 08:47
by nero
Yes. Make your changes and redo "make", then launch it.

Thank you very much.

Re: Compiling and executing from source

Posted: 06 Jun 2008 03:03
by nero
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