[CentOS-devel] Trying to recompile the openldap overlay smbk5pwd with the -DDO_KRB5 option

Johnny Hughes johnny at centos.org
Mon Apr 14 21:44:22 UTC 2008


Scott Grizzard wrote:
> Ralph Angenendt wrote:
>> You first have to find some heimdal packages for CentOS and hope, that
>> those do not conflict with the kerberos packages from CentOS.
>>
>> Then see the two smbk5pwd patches under $RPMDIR/SOURCES to see what we
>> changed from the original sources which are distributed by the openldap
>> guys.
>> Cheers,
>>
>> Ralph
> Ok, I compiled heimdal from source into the /usr/heimdal directory.  I 
> enabled the -DDO_KRB5 option in the makefile for smbk5pwd.  When I try 
> to build the rpms, it dies when it gets to smbk5pwd.  Looking at the 
> output for the module (below), it looks like it is looking for the 
> kerberos libraries at /usr/kerberos/lib insteat of /usr/heimdal/lib.
> 
> On the spec file, it mentions "change LD_FLAGS to refer to to 
> %{_prefix}/kerberos/%{_lib} instead of /usr/kerberos/lib, which might 
> not be right on some arches", but I cannot find the line it refers to in 
> this log message.
> 
> How do I tell rpmbuild to use the /usr/heimdal directory instead of 
> /usr/kerberos?
> 

You probably need to look at the Makefile in the smbk5pwd directory and 
patch it to point to the correct place.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://lists.centos.org/pipermail/centos-devel/attachments/20080414/c1373385/signature.bin


More information about the CentOS-devel mailing list