mirror of
https://github.com/ceph/ceph
synced 2025-01-03 01:22:53 +00:00
Merge pull request #14649 from hikycool/master
doc: update packages mentioned by build-doc and related doc Reviewed-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
commit
f6db83ab2f
@ -20,7 +20,7 @@ if command -v dpkg >/dev/null; then
|
||||
exit 1
|
||||
fi
|
||||
elif command -v yum >/dev/null; then
|
||||
for package in python-devel python-pip python-virtualenv doxygen ditaa ant libxml-devel libxslt-devel Cython graphviz; do
|
||||
for package in python-devel python-pip python-virtualenv doxygen ditaa ant libxml2-devel libxslt-devel Cython graphviz; do
|
||||
if ! rpm -q $package >/dev/null ; then
|
||||
missing="${missing:+$missing }$package"
|
||||
fi
|
||||
|
@ -313,14 +313,14 @@ For CentOS/RHEL distributions, the remaining python packages are not available i
|
||||
the default and ``epel`` repositories. So, use http://rpmfind.net/ to find the
|
||||
packages. Then, download them from a mirror and install them. For example::
|
||||
|
||||
wget ftp://rpmfind.net/linux/centos/7.0.1406/os/x86_64/Packages/python-jinja2-2.7.2-2.el7.noarch.rpm
|
||||
wget http://rpmfind.net/linux/centos/7/os/x86_64/Packages/python-jinja2-2.7.2-2.el7.noarch.rpm
|
||||
sudo yum install python-jinja2-2.7.2-2.el7.noarch.rpm
|
||||
wget ftp://rpmfind.net/linux/centos/7.0.1406/os/x86_64/Packages/python-pygments-1.4-9.el7.noarch.rpm
|
||||
wget http://rpmfind.net/linux/centos/7/os/x86_64/Packages/python-pygments-1.4-9.el7.noarch.rpm
|
||||
sudo yum install python-pygments-1.4-9.el7.noarch.rpm
|
||||
wget ftp://rpmfind.net/linux/centos/7.0.1406/os/x86_64/Packages/python-docutils-0.11-0.2.20130715svn7687.el7.noarch.rpm
|
||||
wget http://rpmfind.net/linux/centos/7/os/x86_64/Packages/python-docutils-0.11-0.2.20130715svn7687.el7.noarch.rpm
|
||||
sudo yum install python-docutils-0.11-0.2.20130715svn7687.el7.noarch.rpm
|
||||
wget ftp://rpmfind.net/linux/centos/7.0.1406/os/x86_64/Packages/python-sphinx-1.1.3-8.el7.noarch.rpm
|
||||
sudo yum install python-sphinx-1.1.3-8.el7.noarch.rpm
|
||||
wget http://rpmfind.net/linux/centos/7/os/x86_64/Packages/python-sphinx-1.1.3-11.el7.noarch.rpm
|
||||
sudo yum install python-sphinx-1.1.3-11.el7.noarch.rpm
|
||||
|
||||
Ceph documentation makes extensive use of `ditaa`_, which isn't presently built
|
||||
for CentOS/RHEL7. You must install ``ditaa`` if you are making changes to
|
||||
@ -336,18 +336,14 @@ on CentOS/RHEL7, following dependencies are required:
|
||||
Use http://rpmfind.net/ to find compatible ``ditaa`` and the dependencies.
|
||||
Then, download them from a mirror and install them. For example::
|
||||
|
||||
wget ftp://rpmfind.net/linux/fedora/linux/releases/20/Everything/x86_64/os/Packages/j/jericho-html-3.2-6.fc20.noarch.rpm
|
||||
sudo yum install jericho-html-3.2-6.fc20.noarch.rpm
|
||||
wget ftp://rpmfind.net/linux/centos/7.0.1406/os/x86_64/Packages/jai-imageio-core-1.2-0.14.20100217cvs.el7.noarch.rpm
|
||||
wget http://rpmfind.net/linux/fedora/linux/releases/22/Everything/x86_64/os/Packages/j/jericho-html-3.3-4.fc22.noarch.rpm
|
||||
sudo yum install jericho-html-3.3-4.fc22.noarch.rpm
|
||||
wget http://rpmfind.net/linux/centos/7/os/x86_64/Packages/jai-imageio-core-1.2-0.14.20100217cvs.el7.noarch.rpm
|
||||
sudo yum install jai-imageio-core-1.2-0.14.20100217cvs.el7.noarch.rpm
|
||||
wget ftp://rpmfind.net/linux/centos/7.0.1406/os/x86_64/Packages/batik-1.8-0.12.svn1230816.el7.noarch.rpm
|
||||
wget http://rpmfind.net/linux/centos/7/os/x86_64/Packages/batik-1.8-0.12.svn1230816.el7.noarch.rpm
|
||||
sudo yum install batik-1.8-0.12.svn1230816.el7.noarch.rpm
|
||||
wget ftp://rpmfind.net/linux/fedora/linux/releases/20/Everything/x86_64/os/Packages/d/ditaa-0.9-10.r74.fc20.noarch.rpm
|
||||
sudo yum install ditaa-0.9-10.r74.fc20.noarch.rpm
|
||||
|
||||
.. important:: Do not install the ``fc21`` rpm for ``ditaa`` as it uses a ``JRE``
|
||||
newer than the default installed in CentOS/RHEL7 which causes a conflict, throws
|
||||
an ``Exception`` and doesn't allow the application to run.
|
||||
wget http://rpmfind.net/linux/fedora/linux/releases/22/Everything/x86_64/os/Packages/d/ditaa-0.9-13.r74.fc21.noarch.rpm
|
||||
sudo yum install ditaa-0.9-13.r74.fc21.noarch.rpm
|
||||
|
||||
Once you have installed all these packages, build the documentation by following
|
||||
the steps given in ``Build the Source``.
|
||||
|
Loading…
Reference in New Issue
Block a user