PATCH: better (maybe) tirpc detection patch

Günther Deschner gd at samba.org
Tue Mar 20 10:43:33 UTC 2018


Great,

now I understand :) Thanks Noel (and Jim for pushing).

Guenther

On 20/03/18 10:24, Noel Power wrote:
> Hi Gunther
> 
> Apologies for the late reply (had a long weekend vacation including Fri/Mon
> Andreas has described what I was seeing, if the tirpc headers are
> installed in /usr/include/rpc then config doesn't do any further
> detection and thus doesn't add libtirpc to the list of libraries to
> link. The end result are some link errors later. The patch tries to
> detect this situation and continue to try and detect/find libtirpc
> 
> Noel
> On 19/03/18 09:23, Andreas Schneider via samba-technical wrote:
>> On Friday, 16 March 2018 15:58:34 CET Andreas Schneider via samba-technical 
>> wrote:
>>> On Friday, 16 March 2018 15:00:54 CET Günther Deschner wrote:
>>>> Hi Noel,
>>>>
>>>> The current checks should deal with wherever the rpc headers are located
>>>> already (we hoped). So what is the failure you get with the current code?
>>> Hi Günther,
>>>
>>> in case we find /usr/include/rpc/rpc.h we do not look for libtirpc, but when
>>> linking it fails to find the symbols because we don't link against
>>> libtirpc.
>> Tested on Fedora and works correctly.
>>
>> RB+
>>
> 


-- 
Günther Deschner                    GPG-ID: 8EE11688
Red Hat                         gdeschner at redhat.com
Samba Team                              gd at samba.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 216 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20180320/2cd18bf8/signature.sig>


More information about the samba-technical mailing list