Compiling VLC on Ubuntu
Posted: 05 Sep 2011 23:16
Hello.
I try to compile latest VLC from git on Ubuntu 10.04 LTS by using tutorial.
I got an error while execute command ./configure
configure: error: Could not find libavcodec or libavutil. Use --disable-avcodec to ignore this error.
I add --disable-avcodec
configure: error: Could not find libswscale. Use --disable-swscale to ignore this error. Proper software scaling and some video chroma conversion will be missing.
then --disable-swscale
configure: error: Could not find libpostproc. Use --disable-postproc to ignore this error.
then --disable-postproc
checking for XCB... configure: error: Package requirements (xcb >= 1.6) were not met:
Requested 'xcb >= 1.6' but version of XCB is 1.5
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables XCB_CFLAGS
and XCB_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
so I have to execute ./configure --disable-avcodec --disable-swscale --disable-xcb --disable-postproc
How can I solve problems without disabling these features?
I had installed required libraries:
libavcodec52
libavcodec-dev
libswscale0
libswscale-dev
libpostproc51
libpostproc-dev
What value XCB_CFLAGS , XCB_LIBS should be, and where should they store (/etc/environment ??)
Content of /etc/environment:
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games"
PKG_CONFIG_PATH="/usr/lib/pkgconfig"
Thank you!
I try to compile latest VLC from git on Ubuntu 10.04 LTS by using tutorial.
I got an error while execute command ./configure
configure: error: Could not find libavcodec or libavutil. Use --disable-avcodec to ignore this error.
I add --disable-avcodec
configure: error: Could not find libswscale. Use --disable-swscale to ignore this error. Proper software scaling and some video chroma conversion will be missing.
then --disable-swscale
configure: error: Could not find libpostproc. Use --disable-postproc to ignore this error.
then --disable-postproc
checking for XCB... configure: error: Package requirements (xcb >= 1.6) were not met:
Requested 'xcb >= 1.6' but version of XCB is 1.5
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables XCB_CFLAGS
and XCB_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
so I have to execute ./configure --disable-avcodec --disable-swscale --disable-xcb --disable-postproc
How can I solve problems without disabling these features?
I had installed required libraries:
libavcodec52
libavcodec-dev
libswscale0
libswscale-dev
libpostproc51
libpostproc-dev
What value XCB_CFLAGS , XCB_LIBS should be, and where should they store (/etc/environment ??)
Content of /etc/environment:
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games"
PKG_CONFIG_PATH="/usr/lib/pkgconfig"
Thank you!