diff options
author | Sage Weil <sage@inktank.com> | 2014-05-21 06:56:05 +0200 |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2014-05-21 06:56:05 +0200 |
commit | ba53889a336adde0596bd00860d825b4621e150d (patch) | |
tree | 108318048c754048232463dac47256f70bfd52af | |
parent | README: clean up some whitespace (diff) | |
download | ceph-ba53889a336adde0596bd00860d825b4621e150d.tar.xz ceph-ba53889a336adde0596bd00860d825b4621e150d.zip |
README: move package dependencies into separate files
Sorted, with a short, simple command to paste. Avoid the duplication of
the lists.
Signed-off-by: Sage Weil <sage@inktank.com>
-rw-r--r-- | README | 120 | ||||
-rw-r--r-- | deps.deb.txt | 33 | ||||
-rw-r--r-- | deps.rpm.txt | 27 | ||||
-rw-r--r-- | doc_deps.deb.txt | 9 |
4 files changed, 93 insertions, 96 deletions
@@ -67,113 +67,41 @@ For RPM-based systems (Red Hat, SUSE, etc.), rpmbuild +Build Prerequisites +=================== + +debian-based +------------ + +The list of debian package depencies can be found in deps.deb.txt: + + sudo apt-get install `cat deps.deb.txt` + +Note: libsnappy-dev and libleveldb-dev are not available upstream for natty, oneiric, and squeeze. Backports for Ceph can be found at ceph.com/debian-leveldb. + +rpm-based +--------- + +The list of RPM package dependencies can be found in deps.rpm.txt: + + sudo yum install `cat deps.rpm.txt` + + Building the Documentation ========================== Prerequisites ------------- -To build the documentation, you must install the following: - -- python-dev -- python-pip -- python-virtualenv -- doxygen -- ditaa -- libxml2-dev -- libxslt-dev -- dot -- graphviz -For example: +The list of package dependencides for building the documentation can be found +in doc_deps.deb.txt: - sudo apt-get install python-dev python-pip python-virtualenv doxygen ditaa libxml2-dev libxslt-dev dot graphviz + sudo apt-get install `cat doc_deps.deb.txt` Building the Documentation -------------------------- To build the documentation, ensure that you are in the top-level `/ceph directory, and execute the build script. For example: - $ admin/build-doc - - -Build Prerequisites -=================== - -debian-based ------------- -To build the source code, you must install the following: - -- automake -- autoconf -- pkg-config -- gcc -- g++ -- make -- libboost-dev -- libedit-dev -- libssl-dev -- libtool -- libfcgi -- libfcgi-dev -- xfslibs-dev -- libfuse-dev -- linux-kernel-headers -- libcrypto++-dev -- libaio-dev -- libgoogle-perftools-dev -- libkeyutils-dev -- uuid-dev -- libblkid-dev -- libudev-dev -- libatomic-ops-dev -- libboost-program-options-dev -- libboost-system-dev -- libboost-thread-dev -- libexpat1-dev -- libleveldb-dev -- libsnappy-dev -- libcurl4-gnutls-dev -- python-argparse -- python-flask - -For example: - - $ apt-get install automake autoconf pkg-config gcc g++ make libboost-dev libedit-dev libssl-dev libtool libfcgi libfcgi-dev xfslibs-dev libfuse-dev linux-kernel-headers libcrypto++-dev libaio-dev libgoogle-perftools-dev libkeyutils-dev uuid-dev libblkid-dev libudev-dev libatomic-ops-dev libboost-program-options-dev libboost-system-dev libboost-thread-dev libexpat1-dev libleveldb-dev libsnappy-dev libcurl4-gnutls-dev python-argparse python-flask python-nose - -Note: libsnappy-dev and libleveldb-dev are not available upstream for natty, oneiric, and squeeze. Backports for Ceph can be found at ceph.com/debian-leveldb. - -rpm-based ---------- -These are the rpm packages needed to install in an rpm-based OS: - - autoconf - automake - gcc - gcc-c++ - make - libtool - python-argparse - python-flask - libuuid-devel - libblkid-devel - libudev-devel (systemd-devel) - keyutils-libs-devel - cryptopp-devel - nss-devel - fcgi-devel - expat-devel - libcurl-devel - xfsprogs-devel - fuse-devel - gperftools-devel - libedit-devel - libatomic_ops-devel - snappy-devel - leveldb-devel - libaio-devel - boost-devel - -For example: - - $ yum install autoconf automake gcc gcc-c++ make libtool python-argparse python-flask libuuid-devel libblkid-devel systemd-devel keyutils-libs-devel cryptopp-devel nss-devel fcgi-devel expat-devel libcurl-devel xfsprogs-devel fuse-devel gperftools-devel libedit-devel libatomic_ops-devel snappy-devel leveldb-devel libaio-devel boost-devel python-nose + admin/build-doc diff --git a/deps.deb.txt b/deps.deb.txt new file mode 100644 index 00000000000..6964ae3ccb7 --- /dev/null +++ b/deps.deb.txt @@ -0,0 +1,33 @@ +autoconf +automake +g++ +gcc +libaio-dev +libatomic-ops-dev +libblkid-dev +libboost-dev +libboost-program-options-dev +libboost-system-dev +libboost-thread-dev +libcrypto++-dev +libcurl4-gnutls-dev +libedit-dev +libexpat1-dev +libfcgi +libfcgi-dev +libfuse-dev +libgoogle-perftools-dev +libkeyutils-dev +libleveldb-dev +libsnappy-dev +libssl-dev +libtool +libudev-dev +linux-kernel-headers +make +pkg-config +python-argparse +python-flask +python-nose +uuid-dev +xfslibs-dev diff --git a/deps.rpm.txt b/deps.rpm.txt new file mode 100644 index 00000000000..37a3c999c12 --- /dev/null +++ b/deps.rpm.txt @@ -0,0 +1,27 @@ +autoconf +automake +boost-devel +cryptopp-devel +expat-devel +fcgi-devel +fuse-devel +gcc +gcc-c++ +gperftools-devel +keyutils-libs-devel +leveldb-devel +libaio-devel +libatomic_ops-devel +libblkid-devel +libcurl-devel +libedit-devel +libtool +libuuid-devel +make +nss-devel +python-argparse +python-flask +python-nose +snappy-devel +systemd-devel +xfsprogs-devel diff --git a/doc_deps.deb.txt b/doc_deps.deb.txt new file mode 100644 index 00000000000..45cfa9d77c7 --- /dev/null +++ b/doc_deps.deb.txt @@ -0,0 +1,9 @@ +python-dev +python-pip +python-virtualenv +doxygen +ditaa +libxml2-dev +libxslt-dev +dot +graphviz |