先把笔记存起来!!
下载代码,Download 最新的代码vlc-2.2.0包
git clone git://git.videolan.org/vlc.git
解压, 看Readme 对目录的大概介绍
README for the VLC media player
===============================
VLC is a popular libre and open source media player and multimedia engine,
used by a large number of individuals, professionals, companies and
institutions. Using open source technologies and libraries, VLC has been
ported to most computing platforms, including GNU/Linux, Windows, Mac OS X,
BSD, iOS and Android.
VLC can play most multimedia files, discs, streams, allows playback from
devices, and is able to convert to or stream in various formats.
The VideoLAN project was started at the university École Centrale Paris who
relicensed VLC under the GPLv2 license in February 2001. Since then, VLC has
been downloaded close to one billion times.
Links:
======
The VLC web site . . . . . http://www.videolan.org/
Support . . . . . . . . . . http://www.videolan.org/support/
Forums . . . . . . . . . . http://forum.videolan.org/
Wiki . . . . . . . . . . . http://wiki.videolan.org/
The Developers site . . . . http://wiki.videolan.org/Developers_Corner
VLC hacking guide . . . . . http://wiki.videolan.org/Hacker_Guide
Bugtracker . . . . . . . . http://trac.videolan.org/vlc/
The VideoLAN web site . . . http://www.videolan.org/
Source Code Content:
===================
ABOUT-NLS - Notes on the Free Translation Project.
AUTHORS - VLC authors.
COPYING - The GPL license.
COPYING.LIB - The LGPL license.
INSTALL - Installation and building instructions. // 安装和编译介绍..
NEWS - Important modifications between the releases.
README - This file.
THANKS - VLC contributors.
bin/ - VLC binaries.
bindings/ - libVLC bindings to other languages.
compat/ - compatibility library for operating systems missing
essential functionalities.
contrib/ - Facilities for retrieving external libraries and building
them for systems that don't have the right versions.
doc/ - Miscellaneous documentation.
extras/analyser - Code analyser and editor specific files.
extras/buildsystem - different buildsystems specific files.
extras/misc - Files that don't fit in the other extras/ categories.
extras/package - VLC packaging specific files such as spec files.
extras/tools/ - Facilities for retrieving external building tools needed
for systems that don't have the right versions.
include/ - Header files.
lib/ - libVLC source code.
modules/ - VLC plugins and modules. Most of the code is here.
po/ - VLC translations.
share/ - Common Resources files.
src/ - libvlccore source code.
test/ - testing system.
看INSTALL
linux@linux:vlc$ ./bootstrap
NOTE: GNU gettext appears to be missing or out-of-date.
Please install or update GNU gettext. //安装
Also check if you have cvs, a dependency of autopoint.
Otherwise, you will not be able to build a source tarball.
==============================================================
generating modules/**/Makefile.am
.................
+ autoreconf --install --force --verbose -I m4
./bootstrap: line 78: autoreconf: command not found //没法按
linux@linux:vlc$
Package autoconf is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'autoconf' has no installation candidate //安装没有
linux@linux:vlc$ $ sudo apt-get -y update //here
$: command not found
linux@linux:vlc$ $ sudo apt-get -y update
sudo apt-get install autoconf //成功
继续
linux@linux:vlc-git$ ./bootstrap
NOTE: GNU gettext appears to be missing or out-of-date.
Please install or update GNU gettext.
Also check if you have cvs, a dependency of autopoint.
Otherwise, you will not be able to build a source tarball.
==============================================================
generating modules/**/Makefile.am
.....
+ autoreconf --install --force --verbose -I m4
Can't exec "libtoolize": No such file or directory at /usr/bin/autoreconf line 196. //解决这个
Use of uninitialized value in pattern match (m//) at /usr/bin/autoreconf line 196.
autoreconf: Entering directory `.'
autoreconf: running: true --force
autoreconf: running: aclocal -I m4 --force -I m4
autoreconf: configure.ac: tracing
autoreconf: configure.ac: not using Libtool
autoreconf: running: /usr/bin/autoconf --include=m4 --force
autoreconf: running: /usr/bin/autoheader --include=m4 --force
autoreconf: running: automake --add-missing --copy --force-missing
configure.ac:59: installing `autotools/compile'
configure.ac:23: installing `autotools/config.guess'
configure.ac:23: installing `autotools/config.sub'
configure.ac:27: installing `autotools/install-sh'
configure.ac:27: installing `autotools/missing'
bin/Makefile.am: installing `autotools/depcomp'
compat/Makefile.am:1: Libtool library used but `LIBTOOL' is undefined
compat/Makefile.am:1: The usual way to define `LIBTOOL' is to add `LT_INIT'
compat/Makefile.am:1: to `configure.ac' and run `aclocal' and `autoconf' again.
compat/Makefile.am:1: If `LT_INIT' is in `configure.ac', make sure
compat/Makefile.am:1: its definition is in aclocal's search path.
lib/Makefile.am:31: Libtool library used but `LIBTOOL' is undefined
lib/Makefile.am:31: The usual way to define `LIBTOOL' is to add `LT_INIT'
lib/Makefile.am:31: to `configure.ac' and run `aclocal' and `autoconf' again.
lib/Makefile.am:31: If `LT_INIT' is in `configure.ac', make sure
lib/Makefile.am:31: its definition is in aclocal's search path.
modules/Makefile.am:19: Libtool library used but `LIBTOOL' is undefined
modules/Makefile.am:19: The usual way to define `LIBTOOL' is to add `LT_INIT'
modules/Makefile.am:19: to `configure.ac' and run `aclocal' and `autoconf' again.
modules/Makefile.am:19: If `LT_INIT' is in `configure.ac', make sure
modules/Makefile.am:19: its definition is in aclocal's search path.
modules/gui/ios_dialog_provider/Makefile.am:6: Libtool library used but `LIBTOOL' is undefined
modules/gui/ios_dialog_provider/Makefile.am:6: The usual way to define `LIBTOOL' is to add `LT_INIT'
modules/gui/ios_dialog_provider/Makefile.am:6: to `configure.ac' and run `aclocal' and `autoconf' again.
modules/gui/ios_dialog_provider/Makefile.am:6: If `LT_INIT' is in `configure.ac', make sure
modules/gui/ios_dialog_provider/Makefile.am:6: its definition is in aclocal's search path.
modules/gui/macosx/Makefile.am:6: Libtool library used but `LIBTOOL' is undefined
modules/gui/macosx/Makefile.am:6: The usual way to define `LIBTOOL' is to add `LT_INIT'
modules/gui/macosx/Makefile.am:6: to `configure.ac' and run `aclocal' and `autoconf' again.
modules/gui/macosx/Makefile.am:6: If `LT_INIT' is in `configure.ac', make sure
modules/gui/macosx/Makefile.am:6: its definition is in aclocal's search path.
modules/gui/macosx_dialog_provider/Makefile.am:6: Libtool library used but `LIBTOOL' is undefined
modules/gui/macosx_dialog_provider/Makefile.am:6: The usual way to define `LIBTOOL' is to add `LT_INIT'
modules/gui/macosx_dialog_provider/Makefile.am:6: to `configure.ac' and run `aclocal' and `autoconf' again.
modules/gui/macosx_dialog_provider/Makefile.am:6: If `LT_INIT' is in `configure.ac', make sure
modules/gui/macosx_dialog_provider/Makefile.am:6: its definition is in aclocal's search path.
modules/gui/minimal_macosx/Makefile.am:6: Libtool library used but `LIBTOOL' is undefined
modules/gui/minimal_macosx/Makefile.am:6: The usual way to define `LIBTOOL' is to add `LT_INIT'
modules/gui/minimal_macosx/Makefile.am:6: to `configure.ac' and run `aclocal' and `autoconf' again.
modules/gui/minimal_macosx/Makefile.am:6: If `LT_INIT' is in `configure.ac', make sure
modules/gui/minimal_macosx/Makefile.am:6: its definition is in aclocal's search path.
modules/gui/qt4/Makefile.am:33: Libtool library used but `LIBTOOL' is undefined
modules/gui/qt4/Makefile.am:33: The usual way to define `LIBTOOL' is to add `LT_INIT'
modules/gui/qt4/Makefile.am:33: to `configure.ac' and run `aclocal' and `autoconf' again.
modules/gui/qt4/Makefile.am:33: If `LT_INIT' is in `configure.ac', make sure
modules/gui/qt4/Makefile.am:33: its definition is in aclocal's search path.
modules/gui/skins2/Makefile.am:6: Libtool library used but `LIBTOOL' is undefined
modules/gui/skins2/Makefile.am:6: The usual way to define `LIBTOOL' is to add `LT_INIT'
modules/gui/skins2/Makefile.am:6: to `configure.ac' and run `aclocal' and `autoconf' again.
modules/gui/skins2/Makefile.am:6: If `LT_INIT' is in `configure.ac', make sure
modules/gui/skins2/Makefile.am:6: its definition is in aclocal's search path.
modules/hw/mmal/Makefile.am:11: Libtool library used but `LIBTOOL' is undefined
modules/hw/mmal/Makefile.am:11: The usual way to define `LIBTOOL' is to add `LT_INIT'
modules/hw/mmal/Makefile.am:11: to `configure.ac' and run `aclocal' and `autoconf' again.
modules/hw/mmal/Makefile.am:11: If `LT_INIT' is in `configure.ac', make sure
modules/hw/mmal/Makefile.am:11: its definition is in aclocal's search path.
src/Makefile.am:164: Libtool library used but `LIBTOOL' is undefined
src/Makefile.am:164: The usual way to define `LIBTOOL' is to add `LT_INIT'
src/Makefile.am:164: to `configure.ac' and run `aclocal' and `autoconf' again.
src/Makefile.am:164: If `LT_INIT' is in `configure.ac', make sure
src/Makefile.am:164: its definition is in aclocal's search path.
autoreconf: automake failed with exit status: 1
//解决这个 apt-get install libtool
root@linux:/home/linux/work/vlc-git# ./bootstrap
NOTE: GNU gettext appears to be missing or out-of-date.
Please install or update GNU gettext.
Also check if you have cvs, a dependency of autopoint.
Otherwise, you will not be able to build a source tarball.
==============================================================
generating modules/**/Makefile.am
.....
+ autoreconf --install --force --verbose -I m4
autoreconf: Entering directory `.'
autoreconf: running: true --force
autoreconf: running: aclocal -I m4 --force -I m4
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --install --copy --force
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `autotools'.
libtoolize: copying file `autotools/config.guess'
libtoolize: copying file `autotools/config.sub'
libtoolize: copying file `autotools/install-sh'
libtoolize: copying file `autotools/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: You should add the contents of `m4/libtool.m4' to `aclocal.m4'.
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: You should add the contents of `m4/ltoptions.m4' to `aclocal.m4'.
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: You should add the contents of `m4/ltsugar.m4' to `aclocal.m4'.
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~obsolete.m4'
libtoolize: You should add the contents of `m4/lt~obsolete.m4' to `aclocal.m4'.
autoreconf: running: /usr/bin/autoconf --include=m4 --force
autoreconf: running: /usr/bin/autoheader --include=m4 --force
autoreconf: running: automake --add-missing --copy --force-missing
autoreconf: Leaving directory `.'
+ rm -f po/Makevars.template
+ rm -f 'stamp-h*'
+ set +x
Successfully bootstrapped
第一阶段完成