[Samba] compiling 3.2.15: cifs.upcall not found afer RPM build
dmagda at ee.ryerson.ca
Thu Oct 29 13:30:44 MDT 2009
On Thu, October 29, 2009 14:33, David Magda wrote:
> On Thu, October 29, 2009 13:10, Marcel Ritter wrote:
>>> On 10/28/2009 at 08:42 PM, "David Magda" wrote:
>>> > RPM build errors:
>>> > File not found: /var/tmp/samba-3.2.15-root/usr/sbin/cifs.upcall
File not found by glob:
>>> > makerpms.sh: Done.
>>> Is this an issue with the samba.spec file, or am i missing something?
>> Look at the configure output, maybe you're missing the dependency for
>> (SuSE's RPM name, no idea what it's called on RHEL) which is required for
>> At least that helped building latest git version...
>> # Required to build cifs.upcall:
>> BuildRequires: keyutils-devel
> It is present:
>> # rpm -qa | grep keyutils
>> [root at host RHEL]# rpm -ql keyutils-devel-0.3-1
> I just tried compiling 3.4.3, and get the same 'file not found' error.
Ah, minor discrepancy. Samba is looking for "keyutils.h", with an 's':
> | #include <keyutils.h>
> configure:66352: result: no
> configure:66387: checking for keyutils.h
> configure:66394: result: no
> configure:66412: checking whether to build cifs.upcall
> configure:66462: WARNING: keyutils package is required for cifs.upcall
But what's installed is "keyutil.h", without any 's'. Same for
"libkeyutil.so" and "libkeyutils.so". Seems that RHEL4 does not have an
's', while RHEL5 does.
Creating a link from the non-S to the an S version allowed the build to
finish and RPMs be generated. Not sure if this is the "proper" way to fix
Next step will be to see if the binaries actually work.
More information about the samba