I have just had a frustrating time trying to work out why none of the changes I was making to the parsetexi module were taking effect. For example, the same debugging messages were still being printed even though I had effaced all instances of them from the source code.
I suspected that installed files were being used but I could not find where. I deleted files under /usr/local/share/texinfo but this made no difference. Eventually, I had the idea to run the program under gdb and set a breakpoint: >>>>>>>>>>>>>>> $ gdb perl Reading symbols from perl... (No debugging symbols found in perl) (gdb) r ./texi2any.pl ../test/test.texi Starting program: /usr/bin/perl ./texi2any.pl ../test/test.texi [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". test.texi:1: warning: entry for index `vr' outside of any node test.texi: warning: document without nodes [Inferior 1 (process 1277273) exited normally] (gdb) b reset_parser Breakpoint 1 at 0x7ffff7537bb9 (gdb) r Starting program: /usr/bin/perl ./texi2any.pl ../test/test.texi [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Breakpoint 1, 0x00007ffff7537bb9 in reset_parser () from /usr/local/lib/libtexinfo.so.0 (gdb) >>>>>>>>>>>>>>> Bingo. /usr/local/lib/libtexinfo.so.0 is being run. It shouldn't even be installed directly in /usr/local/lib. I am not sure if I have done while experimenting to incorrectly place this file here, but if not, this is a problem. I can work around it in the meantime by deleting the installed file and never running "make uninstall" until this issue is fixed.