GNOME Bugzilla – Bug 568714
Perl errors when syntax highlighting is not available
Last modified: 2009-01-22 16:36:20 UTC
Configuring gtk-doc without syntax hightlighting available gtk-doc was configured with the following options: ================================================== configure: ** Python based tools enabled, using /usr/bin/python configure: ** SGML support enabled, using /usr/bin/openjade configure: ** Scrollkeeper support enabled configure: Syntax highlighting of examples disabled configure: ** Building regression tests and running gtkdoc-fixxref gtkdoc-fixxref --module-dir=html --html-dir=/usr/local/share/gtk-doc/html \ --module=libgwy leads to the following errors: Can't exec "html/_temp_src.31005": Permission denied at /home/yeti/bin/gtkdoc-fixxref line 309. Use of uninitialized value $highlighted_source in substitution (s///) at /home/yeti/bin/gtkdoc-fixxref line 326. Use of uninitialized value $highlighted_source in substitution (s///) at /home/yeti/bin/gtkdoc-fixxref line 327. Use of uninitialized value $highlighted_source in substitution (s///) at /home/yeti/bin/gtkdoc-fixxref line 329. Use of uninitialized value $highlighted_source in substitution (s///) at /home/yeti/bin/gtkdoc-fixxref line 329. Can't exec "html/_temp_src.31005": Permission denied at /home/yeti/bin/gtkdoc-fixxref line 309. Use of uninitialized value $highlighted_source in substitution (s///) at /home/yeti/bin/gtkdoc-fixxref line 326. Use of uninitialized value $highlighted_source in substitution (s///) at /home/yeti/bin/gtkdoc-fixxref line 327. Use of uninitialized value $highlighted_source in substitution (s///) at /home/yeti/bin/gtkdoc-fixxref line 329. Use of uninitialized value $highlighted_source in substitution (s///) at /home/yeti/bin/gtkdoc-fixxref line 329. Can't exec "html/_temp_src.31005": Permission denied at /home/yeti/bin/gtkdoc-fixxref line 309. Use of uninitialized value $highlighted_source in substitution (s///) at /home/yeti/bin/gtkdoc-fixxref line 326. Use of uninitialized value $highlighted_source in substitution (s///) at /home/yeti/bin/gtkdoc-fixxref line 327. Use of uninitialized value $highlighted_source in substitution (s///) at /home/yeti/bin/gtkdoc-fixxref line 329. Use of uninitialized value $highlighted_source in substitution (s///) at /home/yeti/bin/gtkdoc-fixxref line 329. Evidently, it does not know the syntax highlighting is unavailable an tried to perform it anyway.
Doh, I'll fix it right away.
2009-01-22 Stefan Kost <ensonic@users.sf.net> * gtkdoc-fixxref.in: Only run the syntax highligher if we have one. Fixes #568714.