[vlc] Re: compiling vlc 0.6

Simon simon at digiglobal.com
Wed Jun 25 18:00:56 CEST 2003


I had similar problem compiling cvs 0.6.0 under RH7.3. This is what I had to
do.

1. go to ffmpeg directory, which in my case was at the same level as
vlc-0.6.0. I did the usual thing:
make distclean (start with a clean distribution)
./configure -enable-shared
make

2. libmpeg2: I downloaded the CVS version from
http://libmpeg2.sourceforge.net/files/mpeg2dec-snapshot.tar.gz
Again expanded the file in a directory at the same level as vlc-0.6.0, using
the following command
tar jxvf mpeg2dec-snapshot.tar.gz (It expands files in a directory called
mpeg2dec-0.3.2-cvs)
cd mpeg2dec-0.3.2-cvs
make distclean   (start from a clean slate)
./configure
cd libmpeg2 (this is important - this version of mpeg2dec did not compile in
my case. This is where I had help from the videolan team)
make (this is all that is needed for our purposes)

3. Go to vlc-0.6.0 directory and execute - note the "-with-ffmpeg-tree" and
"-with-libmpeg2-tree" options, make sure the path is correct. It is very
easy to mistype the path:

./configure --enable-ffmpeg --with-ffmpeg-tree=../ffmpeg-20030612 --enable-d
vdread --enable-faad \
--with-faad-tree=../faad2-20030612 --enable-arts --with-libmpeg2-tree=../mpe
g2dec-0.3.2-cvs

Ofcourse you may not need all the configuration options.

I hope I managed to recollect the steps correctly, otherwise let me know I
will be happy to look into my script and good luck.
Regards
Simon

 -----Original Message-----
From: 	vlc-bounce at videolan.org [mailto:vlc-bounce at videolan.org]  On Behalf
Of DAVID Philippe
Sent:	25 June 2003 16:23
To:	vlc at videolan.org
Subject:	[vlc] Re: compiling vlc 0.6

Le mer 25/06/2003 à 17:18, Philippe Van Hecke a écrit :
> On Wednesday 25 June 2003 16:54, you wrote:
> > Hello,
> >
> > I try to compile vlc 0.6
> >
> > I got in this issues
> >
> > If I compile the required ffmeg package from source, vlc's configure is
> > not able to detect ffmpeg
> > if I install the mandrake rpm package related to ffmpeg, configure
> > detects ffmpeg but cannot compile as the version of ffmpeg seems to not
> > match the vlc required version.
>
> You need the cvs version of ffmpeg or use the one given on the videolan
site.
>
thanks for your reply but I was not clear enough (sorry)

I used the one given on the site (ffmpeg-20030612.tar.bz2).
It's this one which is not detected by the configure script of vlc (even
if properly compiled and installed).


I cannot get the CVS version as the port is not open here.


> regards
> Philippe.
--
Philippe DAVID
SNCF
Direction de la recherche et de la technologie
Unité TIC
45, rue de Londres
75379 Paris cedecx 08
France
+33 (0)1 53 42 93 09

--
This is the vlc mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/support/lists.html
If you are in trouble, please contact <postmaster at videolan.org>




-- 
This is the vlc mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/support/lists.html
If you are in trouble, please contact <postmaster at videolan.org>



More information about the vlc mailing list