<br><tt><font size=2>libvir-list-bounces@redhat.com wrote on 08/17/2010
02:12:44 PM:<br>
<br>
<br>
> libvir-list</font></tt>
<br><tt><font size=2>> <br>
> On 08/17/2010 10:48 AM, Stefan Berger wrote:<br>
> >  On 08/17/2010 12:25 PM, Daniel P. Berrange wrote:<br>
> >> On Tue, Aug 17, 2010 at 12:14:47PM -0400, Stefan Berger wrote:<br>
> >>>   When doing './autogen.sh --with-sasl --with-libvirtd=no'
on cygwin, I<br>
> >>> needed to #include netinet/in.h for a successful build.
Now<br>
> >>> authentication using SASL works.<br>
> >> Hmm, this is the sort of thing that GNULIB usually fixes
for<br>
> >> us. What is the compile error without this patch present
?<br>
> >> Ideally we can get GNULIB to fix it<br>
> <br>
> Well, gnulib does not yet offer any replacements for the <rpc/....h><br>
> headers, in part because they are not standardized by POSIX.  That's<br>
> certainly a larger task than just working around it for now in libvirt.<br>
> <br>
> The real question here is whether cygwin's <rpc/rpc.h> is broken
because<br>
> it is not self-sufficient, or whether the compile error is due to<br>
> something else that libvirt is doing.  Which is why the actual
compile<br>
> message is important (so I went and reproduced this setup - it took
me<br>
> more than an hour to get to the failure point)...<br>
> <br>
> > It complains about an incomplete datatype due to sockaddr_in
being used<br>
> > in rpc/svc.h (xp_raddr in SVCXPRT struct).<br>
> <br>
> I could not reproduce the failure with the latest cygwin:<br>
> cygwin               1.7.6-1  
     OK<br>
> libsasl2-devel       2.1.23-1      
OK<br>
> libxml2-devel        2.7.7-1      
 OK<br>
> sunrpc               4.0-3  
       OK<br>
> <br>
> What versions do you have installed?  (Not sure if I have any
other<br>
> relevant installed packages that I didn't list here).</font></tt>
<br>
<br><tt><font size=2>I had done updates just yesterday... Now I did a reinstall
on the sunrpc 4.0-3 I already had and the rpc/types.h changed and it does
now have the include of netinet/in.h as well. This of course makes the
patch unnecessary.</font></tt>
<br>
<br><tt><font size=2>  Stefan</font></tt>
<br>