无法从 .tar.xz 文件安装 VLC 程序

无法从 .tar.xz 文件安装 VLC 程序

我成功解压了 .tar.xz 文件,然后我也运行了命令./configure,我认为它也起作用了。但是当我尝试执行make命令时,问题就出现了。

压缩文件中给定的 INSTALL 文件如下:

INSTALL file for the VLC media player
=====================================

More extensive information for *nix, Windows and Mac OS X users can be
found here: http://wiki.videolan.org/Compile_VLC

People installing VLC for Windows from source MUST read:
http://wiki.videolan.org/Win32Compile

Bootstrapping VLC
=================

If you retrieved VLC from the git server and do not have yet a "configure"
script, please run:

   ./bootstrap

Configuring VLC
===============

A typical way to configure VLC is:

   ./configure

See `./configure --help' for more information.

If you intend to debug stuff, you may want to compile with debugging
symbols:

   make distclean ; ./configure --enable-debug

We recommend using GCC to build VLC, though some people reported success
with the Intel C compiler (version 8) as well. GCC version 3.3 or higher is
required. On older systems (e.g. FreeBSD 4.x), please select a more recent
version manually by setting the CC and CXX environment variables
appropriately while running the ./configure shell script.


Building VLC
============

Once configured, run `make' to build VLC.


Installing and running VLC
==========================

You can install the VLC and its plugins by typing:

   make install

But you don't need to install it if you don't want to; VLC can be launched
from the current directory as well:

   ./vlc


Building packages
=================

To build a Debian package, you need to get the packaging info
   git clone git://git.debian.org/pkg-multimedia/vlc.git debian
and then
   git-buildpackage

答案1

我不知道vlc你用的是什么版本git,我无法构建那么多配置错误,但是我可以构建这个,来自该vlc网站。

首先我们需要安装这些

sudo apt-get install git libtool build-essential pkg-config autoconf
sudo apt-get build-dep vlc

立即获取并构建vlc

wget videolan.mirrors.uk2.net/vlc/2.2.1/vlc-2.2.1.tar.xz
tar xf ~/vlc-2.2.1.tar.xz
cd ~/vlc-2.2.1
./bootstrap
./configure
make

你可以从这里运行它,或者使用以下命令安装它

sudo make install

已在 15.10 上测试

在此处输入图片描述

相关内容