Page 1 of 1
Compile vlc
Posted: 21 Sep 2010 22:07
by AyeshaArshad
Hay i'm a student and a beginner.. I need you help in understanding vlc. The working behing vlc..
The first thing i've to understand is how i compile vlc
1. Is it better to compile using fedora or windows?
2. Which method should i start with, Cross-compile with Mingw32 on Linux or Native-compile with MSYS+MINGW?
3. For cross Compile or for native compile method, what kind of software do i required??
Thanks.. help me and if some one have time to explain me vlc, send me email id through personal message, i will contact
Re: Compile vlc
Posted: 21 Sep 2010 22:40
by Jean-Baptiste Kempf
1. Linux
2. Xcompile
3. Read the wiki
Re: Compile vlc
Posted: 21 Sep 2010 23:02
by AyeshaArshad
sorry but Wiki is truly not graspable for beginners..

I spend a lot of time of wiki & i understand only few of things..
Re: Compile vlc
Posted: 22 Sep 2010 04:28
by gnosygnu
I hate to say it, but if you find the wiki is not for beginners, then the code isn't going to be any more beginner friendly....
At any rate, I would second j-b's recommendation for Linux. The Windows route has many steps, and can be complicated. I think it may take 60 min to get everything setup, and that's if everything goes correctly. If you do go Windows, I would recommend msys+mingw. Read the wiki -- it's going to be your best source. If you're desperate, you can also refer to following link for more details:
viewtopic.php?f=32&t=76483
I've compiled for the first time on Ubuntu tonight. This was incredibly easy compared to the Windows route (especially for a beginner who knows very little about Linux).
If you want a simple series of steps, I would recommend looking at j-b's blog:
http://www.jbkempf.com/blog/post/2009/0 ... 5-commands
My version of his steps:
Code: Select all
sudo apt-get build-dep vlc && sudo apt-get install libtool build-essential automake1.10 git-core
* unpacked the vlc-1.1.4.tar.gz to a vlc directory (note that his blog is for 1.0)
cd vlc && ./bootstrap
* skipped sudo apt-get install libxcb-shm0-dev libxcb-xv0-dev libxcb-keysyms1-dev libxcb-randr0-dev (this didn't solve my xcb problem)
mkdir build && cd build && ../configure --disable-nls --enable-qt4 --disable-xcb
make
Hope this helps
Re: Compile vlc
Posted: 23 Sep 2010 00:57
by gnosygnu
After some searching, I figured out I was missing a library (libx11-xcb-dev)
I've reposted the steps below.
Note that I used the 1.1.4 sourcecode tarball. The git is probably easier
j-b (or VLC devs): Is it okay if I modify the wiki to include the sudo apt-get for the libxcb libraries?
Code: Select all
sudo apt-get build-dep vlc && sudo apt-get install libtool build-essential automake1.10 git-core
git clone git://git.videolan.org/vlc.git
cd vlc && ./bootstrap
sudo apt-get install libxcb-shm0-dev libxcb-xv0-dev libxcb-keysyms1-dev libxcb-randr0-dev libx11-xcb-dev
mkdir build && cd build && ../configure --disable-nls --enable-qt4
make
./vlc
Re: Compile vlc
Posted: 23 Sep 2010 14:15
by Jean-Baptiste Kempf
yes
Re: Compile vlc
Posted: 24 Sep 2010 00:34
by gnosygnu
Re: Compile vlc
Posted: 24 Sep 2010 18:03
by AyeshaArshad
gnosygnu Thank you so much.. really appreciated
Re: Compile vlc
Posted: 24 Sep 2010 18:19
by AyeshaArshad
hay i get this msgs. what would i do?
E: Unable to find a source package for vlc
bash: cd: vlc: No such file or directory
Re: Compile vlc
Posted: 25 Sep 2010 23:36
by AyeshaArshad
first 2 command are succesfully executed but in third command i get this error.. why?
configure.ac:29: warning: macro `AM_SILENT_RULES' not found in library
configure.ac:4648: warning: macro `AM_COND_IF' not found in library
configure.ac:4656: warning: macro `AM_COND_IF' not found in library
and before make coomand i had these error messages
../configure: line 4581: syntax error near unexpected token `yes'
../configure: line 4581: `AM_SILENT_RULES(yes)'
Re: Compile vlc
Posted: 26 Sep 2010 00:13
by AyeshaArshad
& at last i get this msg
make: *** No rule to make target `vlc'. Stop.
Re: Compile vlc
Posted: 01 Oct 2010 00:55
by rogerdpack
& at last i get this msg
make: *** No rule to make target `vlc'. Stop.
windows or linux here?