Missing test for ectagsbin existence in genxref
Brought to you by:
ajlittoz
If config parameter 'ectagsbin' is not defined, sub indexfile in Generic.pm will silently ignore the tagging phase leading to erratic behaviour later when browsing the source-tree (from inaccurate marking to no marking at all, depending on the state of the DB).
A test should be made in genxref to abort as early as possible the task with a self-explanatory error message.
This has now been fixed in CVS.
If you can install the new version and check that it solves your
problem, then it would be very useful.
Thanks for reporting this defect and helping to make LXR better.
Test made in genxref with an attempt to find ctags (which ctags). If ctags can be found, config parameter is temporarily adjusted with a caveat to user.
Unhappily, the warning message can go unnoticed in genxref output.
A new option --checkonly has been added to genxref with corresponding tests for tools versions (aka Perl interpreter and ctags) to allow for tests before going into indexation where output can (and really does) hide the test results.