Installing Dependencies
- Access the container.
podman exec -it openeuler2203sp3_build /bin/bash
- Install common components.
yum install CUnit-devel boost-random checkpolicy cmake cryptsetup-devel expat-devel fmt-devel fuse-devel gperf java-devel junit keyutils-libs-devel libaio-devel libbabeltrace-devel libblkid-devel libcap-ng-devel libcurl-devel numactl-devel libicu-devel libnl3-devel liboath-devel librabbitmq-devel librdkafka-devel librdmacm-devel libtool libxml2-devel lttng-ust-devel lua-devel luarocks lz4-devel make nasm ncurses-devel ninja-build nss-devel openldap-devel openssl-devel libudev-devel python3-Cython python3-devel python3-prettytable python3-pyyaml python3-setuptools python3-sphinx re2-devel selinux-policy-devel sharutils snappy-devel sqlite-devel sudo thrift-devel valgrind-devel xfsprogs-devel xmlstarlet doxygen -y
- Compile the ceph-mgr-cephadm dependency package.
- Configure Git.
git init git config --global http.proxy http://***** // Change ***** as required. git config --global http.sslVerify "false" git config --global https.proxy http://***** // Change ***** as required. git config --global https.sslVerify "false" git config --global http.postBuffer 1048576000 // Increase the Git buffer size to the maximum size (1 GB) of a single Repo file.
- Compile the python-asyncss dependency (python-asyncss 2.7 is recommended for openEuler 22.03).
git clone https://gitee.com/src-oepkgs/python-asyncssh.git cp python-asyncssh/* /root/rpmbuild/SOURCES/ cp python-asyncssh/* /root/rpmbuild/SPECS/ rpmbuild -bb /root/rpmbuild/SPECS/python-asyncssh.spec
- Compile the python-natsort dependency.
git clone https://gitee.com/src-openeuler/python-natsort.git yum install python3-coverage python3-hypothesis python3-pytest python3-pytest-cov python3-pytest-mock cp python-natsort/* /root/rpmbuild/SOURCES/ cp python-natsort/* /root/rpmbuild/SPECS/ rpmbuild -bb /root/rpmbuild/SPECS/python-natsort.spec
- Install the RPM packages.
mv /root/rpmbuild/RPMS/noarch/* /home/local_rpm/ cd /home/local_rpm/ yum install python-asyncssh-help-2.7.0-2.noarch.rpm python3-asyncssh-2.7.0-2.noarch.rpm python3-natsort-8.4.0-2.noarch.rpm
- Configure Git.
Parent topic: Compiling the Ceph Software Package