[vlc-devel] [help] how to compile vlc using contrib packages

Gilles Sabourin gilles.sabourin at free.fr
Wed Dec 28 10:57:48 CET 2016

Le mercredi 28 décembre 2016, 17:26:48 liyoubdu a écrit :
> hi all:
> my operating system: centos7 x86_64.
> i had build all contrib packages successfully.
> than i run three commands:
> cd /mnt/vlc-latest-git/
> ./bootstrap
> ./configure --enable-debug --enable-run-as-root --with-sysroot=/mnt/vlc-latest-git/contrib/x86_64-redhat-linux
> after running third command, errors happen. it seems to canot find the contrib packages. what should i do?

Your configure parameter "--with-sysroot=" is misunderstanted/misemployed here. Have you read https://wiki.videolan.org/UnixCompile/ before?

Simply launch:
./configure --enable-debug --with-contrib

If you want to use your contrib libs. But sooner, your configure script will issue the error I've already reported here about malformed pkgconfig libavcodec.pc file.
This issue has not been already fixed by libav developers. One has to contact libav developers via their mailing list.


More information about the vlc-devel mailing list