最近在用ubuntu编译vlc源码,我用的ubuntu版本号:12.0.0,下载的vlc 是: vlc-2.2.4.tar.xz。
执行到./configure 结果如下:
libvlc configuration
version : 2.2.4
system : linux
architecture : i686 mmx sse sse2
optimizations : yes
vlc aliases : cvlc rvlc qvlc svlc nvlc
然后执行sudo make 报以下错误
video_chroma/swscale.c:39:32: fatal error: libswscale/version.h: No such file or directory
compilation terminated.
make[4]: *** [video_chroma/libswscale_plugin_la-swscale.lo] Error 1
make[4]: Leaving directory /home/farsight/vlc/vlc2.2.4/vlc-2.2.4/modules'
/home/farsight/vlc/vlc2.2.4/vlc-2.2.4/modules'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
make[2]: *** [all] Error 2
make[2]: Leaving directory /home/farsight/vlc/vlc2.2.4/vlc-2.2.4/modules'
/home/farsight/vlc/vlc2.2.4/vlc-2.2.4'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
make: *** [all] Error 2
根据报错提示:安装所缺少的库,执行 :sudo apt-get install libversion-dev,显示结果如下
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libversion-dev
报错提示无法找到包,随后更新执行sudo apt-get update,错误仍然如下
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libversion-dev
请问各位大师,出现这种问题该如何解决?