vincent at cojot.name
2019-Nov-06 05:54 UTC
[Samba] Samab 4.11.2, 4.10.10 and 4.9.15 for rhel7/centos7 rpms
On Wed, 6 Nov 2019, Konstantin Shalygin wrote:> On 11/5/19 8:26 PM, vincent at cojot.name wrote: >> can you provide more detail? >> >> RHEL7 has libtomcrypt but no devel rpm for it. >> That's the onoy issue I had with it. > > tomcrypt.h is required for build this package.Yes, that's the reason I've rebuilt libtomcrypt from the RHEL sources (see https://nova.polymtl.ca/~coyote/dist/samba/samba-4.11.2/RHEL7/SRPMS/libtomcrypt-1.17-26.el7.src.rpm ) and provided libtomcrypt-devel here: https://nova.polymtl.ca/~coyote/dist/samba/samba-4.11.2/RHEL7/x86_64/libtomcrypt-devel-1.17-26.el7.x86_64.rpm The above package provides tomcrypt.h : # rpm -ql libtomcrypt-devel /usr/include/tomcrypt.h [...] /usr/lib64/libtomcrypt.so /usr/lib64/pkgconfig/libtomcrypt.pc>> src/DES.c:32:22: fatal error: tomcrypt.h: No such file or directory >> ?#include "tomcrypt.h" >> ????????????????????? ^ >> compilation terminated. >> error: command 'gcc' failed with exit status 1 >> error: Bad exit status from /var/tmp/rpm-tmp.3IIUQL (%build)I hope this helps, Vincent
Konstantin Shalygin
2019-Nov-06 05:56 UTC
[Samba] Samab 4.11.2, 4.10.10 and 4.9.15 for rhel7/centos7 rpms
On 11/6/19 12:54 PM, vincent at cojot.name wrote:> Yes, that's the reason I've rebuilt libtomcrypt from the RHEL sources > (see > https://nova.polymtl.ca/~coyote/dist/samba/samba-4.11.2/RHEL7/SRPMS/libtomcrypt-1.17-26.el7.src.rpm > ) > and provided libtomcrypt-devel here: > https://nova.polymtl.ca/~coyote/dist/samba/samba-4.11.2/RHEL7/x86_64/libtomcrypt-devel-1.17-26.el7.x86_64.rpm > > > The above package provides tomcrypt.h : > > # rpm -ql libtomcrypt-devel > /usr/include/tomcrypt.h > [...] > /usr/lib64/libtomcrypt.so > /usr/lib64/pkgconfig/libtomcrypt.pcI'm just mean libtomcrypt-devel is commented in SPEC. k