[krbdev.mit.edu #8043] Re: [krb5] Unable to build under Windows (#235)
Benjamin Kaduk via RT
rt-comment at krbdev.mit.edu
Mon Dec 1 16:27:04 EST 2014
[kaduk at MIT.EDU - Mon Dec 1 15:14:20 2014]:
> On Thu, 27 Nov 2014, Bratislav Stojanovic wrote:
>
> > > perl -w ../util/def-check.pl -v private-and-public-decls
> > ../lib/krb5_32.def
> > _error_table' at ../util/def-check.pl line 175, <GEN0> line 7896.
> >
> > Requested files attached.
>
> Okay, I can reproduce something similar to this error, using your
> private-and-public-decls file. It seems to be tied to the DOS line
> endings (CL+LF) -- if I strip the carriage returns from the file, I
> get
> some more sensible results. (Note this is with a normal Unix perl on
> a
> mac, not directly in my windows VM.)
>
> I'm not sure where the configuration knob is going to be which affects
> the
> type of line endings in use, though.
The file in question should be generated with:
copy /y krb5\krb5.h+k5-int.h+krb5\clpreauth_plugin.h $@
So, that makes me wonder what sort of line endings are in the input files for copy.exe
(krb5\krb5.h and friends) -- what procedure did you use to get the krb5 checkout on your
windows machine? I have been going through VMware shared folders, something like 'git
archive|(cd /share; tar x)' and then just copying the tree using Windows Explorer. I would
imagine that using a native windows git client would have different line-endings behavior,
depending on that git client's configuration.
-Ben
More information about the krb5-bugs
mailing list