> Date: Sat, 29 Apr 2017 11:18:33 +0300
> From: Eli Zaretskii <[email protected]>
> Cc: [email protected]
> 
> > From: Gavin Smith <[email protected]>
> > Date: Sat, 29 Apr 2017 08:57:12 +0100
> > Cc: [email protected]
> > 
> > > I cannote figure out why it reaches this conclusion: the TestXS module
> > > is built successfully.  How can I find out why the detection fails?
> > 
> > You could try going into the tp/Texinfo/Convert/XSParagraph subdirectory
> > and running
> > 
> > TEXINFO_XS=debug ${PERL} -I ../../../ -I . fail.pl
> > 
> > where ${PERL} is the path to your Perl executable.
> 
> Thanks, will do.

Heh, when I run the above, everything is OK:

     cd tp/Texinfo/Convert/XSParagraph/
     TEXINFO_XS=debug /C/Perl/bin/perl -I ../../.. -I . fail.pl
     checking ../../../TestXS.la
     checking ./TestXS.la
     found ./TestXS.la
     ./.libs/TestXS.dll loaded
     looking for boot_TestXS
     trying to call boot_TestXS...
       ...succeeded
     message from XS module

which is identical to your output.

Moreover, re-running the configure script with TEXINFO_XS=debug on the
command line causes it to successfully detect that XS extensions can
be built!

This is consistent: re-running the configure script _without_
TEXINFO_XS=debug again makes it fail to load the TestXS extension in
the same manner as originally.  Any ideas what could cause this
Heisenbug?  I'm perfectly okay with having to give the configure
script the debug option, but maybe you will have an idea for why it
could happen.  Failing that, I tend to conclude that it's some subtle
bug in my development environment, and leave it at that.

Thanks.

Reply via email to