Building Quincy for EL7

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Ceph people,

I have a question.......a question that I've no doubt has been asked many times (but extensive googling has thus far yielded nothing).........

How can I create a RPM of ceph 17.x.y (or even 16.x.y) for RHEL-7 and derivatives......in particular, Oracle Linux 7.x

The documentation states that you have to clone the ceph repository, but if you have your RPM-build environment set-up, with the ".spec" file and the source tar-ball, why is that? Where do you clone it to?

I've grabbed the 17.2.0 source rpm for "EL8", and have managed to satisfy all the build requirements apart from :

[root@host SPECS]# rpmbuild -ba ceph.spec
error: Failed build dependencies:
thrift-devel >= 0.13.0 is needed by ceph-2:17.2.0-0.el7.x86_64
python3-pyyaml is needed by ceph-2:17.2.0-0.el7.x86_64
lttng-ust-devel is needed by ceph-2:17.2.0-0.el7.x86_64
[root@host SPECS]#

I was able to satisfy the "cmake > 3.5" requirement, by installing cmake3 from EPEL, making cmake3 the default, and modifying the ".spec" file as follows :


changed :



BuildRequires: cmake > 3.5



to :



#BuildRequires: cmake > 3.5
BuildRequires: cmake3


If there's some less painful way of creating Pacific/Quincy RPMs for EL7, then I'd love to know (especially as Octopus goes end-of-life in a fortnight)


Thanks in advance,

Justin Eastham

_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux