赞
踩
如何获得源代码:
http://dev.chromium.org/developers/how-tos/get-the-code
http://www.cnblogs.com/kanego/p/4086686.html
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
[leosu@localhost chromium_dev]$ pwd
/mnt/chromium_dev
[leosu@localhost chromium_dev]$ export PATH=$PATH:/mnt/chromium_dev/depot_tools
[leosu@localhost chromium_dev]$ git config --global user.name "Leo"
[leosu@localhost chromium_dev]$ git config --global user.email "bamboolsu@gmail.com"
[leosu@localhost chromium_dev]$ git config --global core.autocrlf false
[leosu@localhost chromium_dev]$ git config --global core.filemode false
[leosu@localhost chromium_dev]$ git config --global color.ui true
[leosu@localhost chromium_dev]$ ./depot_tools/fetch chromium
Running: gclient config --spec 'solutions = [
{
"managed": False,
"name": "src",
"url": "https://chromium.googlesource.com/chromium/src.git",
"custom_deps": {},
"deps_file": ".DEPS.git",
"safesync_url": "",
},
]
'
编译问题1:
-bash-4.2$ ./build/install-build-deps.sh
which: no lsb_release in (/usr/lib64/qt-3.3/bin:/usr/lib64/ccache:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin://extra/lsu2/depot_tools/fetch://extra/lsu2/depot_tools/://extra/lsu2/depot_tools/)
ERROR: lsb_release not found in $PATH
解决编译错误:: #yum install redhat-lsb -y
编译问题2(compile on fedora21):
-bash-4.2$ ./build/install-build-deps.sh
ERROR: Only Ubuntu 12.04 (precise) through 14.10 (utopic) are currently supported
https://code.google.com/p/chromium/wiki/LinuxBuildInstructionsPrerequisites
#yum install subversion pkgconfig python perl gcc-c++ bison \
flex gperf nss-devel nspr-devel gtk2-devel glib2-devel freetype-devel \
atk-devel pango-devel cairo-devel fontconfig-devel GConf2-devel \
dbus-devel alsa-lib-devel libX11-devel expat-devel bzip2-devel \
dbus-glib-devel elfutils-libelf-devel libjpeg-devel \
mesa-libGLU-devel libXScrnSaver-devel \
libgnome-keyring-devel cups-devel libXtst-devel libXt-devel pam-devel
#yum install lighttpd php-cli dwdiff
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。