<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2014-02-06 Lukas Slebodnik <span dir="ltr">&lt;<a href="mailto:lslebodn@redhat.com" target="_blank">lslebodn@redhat.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

On (06/02/14 16:23), Jakub Hrozek wrote:<br>
&gt;On Thu, Feb 06, 2014 at 04:17:50PM +0100, Lukas Slebodnik wrote:<br>
&gt;&gt; I was not able reproduce compilation failures with custom build of MIT Kerberos<br>
&gt;&gt; installed in /usr/local/. It could not be influenced by libraries installed<br>
&gt;&gt; from rpm, because I remove packages krb5-workstation, krb5-devel, krb5-libs<br>
&gt;&gt; (rpm -e --nodeps). I also tried build sssd on ubuntu (with custom build of MIT<br>
&gt;&gt; Kerberos) and there was not any problem.<br>
&gt;&gt;<br>
&gt;&gt; I had to install MIT Kerberos into different directory<br>
&gt;&gt; (prefix /usr/local/extra/), but your patch did not solve all problem.<br>
&gt;&gt;<br>
&gt;&gt; user@user-virtual-machine:/tmp/sssd$ krb5-config --libs<br>
&gt;&gt;    -L/usr/local/extra/lib -Wl,--enable-new-dtags -Wl,-rpath<br>
&gt;&gt;    -Wl,/usr/local/extra/lib -lkrb5 -lk5crypto -lcom_err<br>
&gt;&gt; user@user-virtual-machine:/tmp/sssd$ krb5-config --cflags<br>
&gt;&gt;    -I/usr/local/extra/include<br>
&gt;&gt; user@user-virtual-machine:/tmp/sssd$ krb5-config --version<br>
&gt;&gt;    Kerberos 5 release 1.12.1<br>
&gt;&gt;<br>
&gt;&gt;   CCLD   <a href="http://sssd_pac_plugin.la" target="_blank">sssd_pac_plugin.la</a><br>
&gt;&gt; /usr/bin/ld: cannot find -lkrb5<br>
&gt;&gt; collect2: error: ld returned 1 exit status<br>
&gt;&gt; make[2]: *** [<a href="http://sssd_pac_plugin.la" target="_blank">sssd_pac_plugin.la</a>] Error 1<br>
&gt;&gt; make[2]: Leaving directory `/tmp/sssd&#39;<br>
&gt;&gt; make[1]: *** [all-recursive] Error 1<br>
&gt;&gt; make[1]: Leaving directory `/tmp/sssd&#39;<br>
&gt;&gt; make: *** [all] Error 2<br>
&gt;&gt;<br>
&gt;&gt; There was hardcoded &quot;-lkrb5&quot; in Makefile, so I changed it into $(KRB5_LIBS)<br>
</blockquote><div><br></div><div>Yes, true.</div><div>Sorry, i did not even look such elementary mistakes.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

&gt;&gt;<br>
&gt;&gt; But there was another problem.<br>
&gt;&gt;<br>
&gt;&gt;   CC     src/providers/ldap/ldap_id.lo<br>
&gt;&gt; In file included from ./src/providers/krb5/krb5_common.h:34:0,<br>
&gt;&gt;                  from ./src/providers/ldap/ldap_common.h:29,<br>
&gt;&gt;                  from src/providers/ldap/ldap_id.c:32:<br>
&gt;&gt; ./src/util/sss_krb5.h:30:23: fatal error: krb5/krb5.h: No such file or directory<br>
&gt;&gt; compilation terminated.<br>
&gt;&gt;<br>
&gt;&gt;<br></blockquote><div><br></div><div>Please, try new patch.</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">


&gt;&gt; So I gave up to fix all problems.<br>
&gt;&gt; Do you want to fix them?<br>
&gt;&gt;<br>
&gt;&gt; Thank you very much for your effort in improving sssd build system.<br>
&gt;&gt;<br>
&gt;&gt; LS<br>
&gt;<br>
&gt;I don&#39;t think we need to reproduce the failures per se. If the patch<br>
&gt;helps their distribution while not breaking ours, that&#39;s good enough for<br>
&gt;me.<br>
<br>
In my opinion, Alexander-s patch does not solve all problems.<br>
Adding Alexey Shabalin to CC.<br>
<br>
Could you confirm attached patch solves problem on ALT Linux?<br>
<span class=""><font color="#888888"><br>
LS<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br>Alexey Shabalin<br><br><br><br>
</div></div>