[krbdev.mit.edu #8043] [krb5] Unable to build under Windows (#235)

Benjamin Kaduk via RT rt-comment at krbdev.mit.edu
Mon Dec 1 15:14:20 EST 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.

-Ben

> On Wed, Nov 26, 2014 at 7:51 PM, Benjamin Kaduk <kaduk at mit.edu> wrote:
>
> > On Wed, 26 Nov 2014, Bratislav Stojanovic wrote:
> >
> > > I've tried to manually run def-check.pl and here's the output :
> > >
> > > c:\Users\User\Downloads\krb5\src>cd include
> > >
> > > c:\Users\User\Downloads\krb5\src\include>perl -w .\../util/def-check.pl
> > > private-
> > > and-public-decls .\../lib/krb5_32.def
> > > _error_table' at .\../util/def-check.pl line 175, <GEN0> line 7896.
> >
> > Hmm, 7896 != 8448.
> >
> > def-check.pl has a "verbose output" mode, so you could try
> >
> > perl -w ../util/def-check.pl -v private-and-public-decls
> > ../lib/krb5_32.def
> >
> > You should probably also post the contents of your
> > private-and-public-decls and krb5_32.def files, just in case something is
> > not right with their contents.
> >
> > > I accidentally found --with-system-et param in the official install
> > > documentation, not sure
> > > if this is somehow related to this problem. Hmm, 'et' stands for
> > > error_table, but I'm not sure how
> > > to enable/disable this param.
> >
> > That's only useful as an argument to the 'configure' script, which is not
> > used for windows builds.



More information about the krb5-bugs mailing list