After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 568714 - Perl errors when syntax highlighting is not available
Perl errors when syntax highlighting is not available
Status: RESOLVED FIXED
Product: gtk-doc
Classification: Platform
Component: general
1.11
Other Linux
: Normal normal
: 1.12
Assigned To: gtk-doc maintainers
gtk-doc maintainers
Depends on:
Blocks:
 
 
Reported: 2009-01-22 15:57 UTC by Yeti
Modified: 2009-01-22 16:36 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Yeti 2009-01-22 15:57:36 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.
Comment 1 Stefan Sauer (gstreamer, gtkdoc dev) 2009-01-22 16:00:15 UTC
Doh, I'll fix it right away.
Comment 2 Stefan Sauer (gstreamer, gtkdoc dev) 2009-01-22 16:36:20 UTC
2009-01-22  Stefan Kost  <ensonic@users.sf.net>

	* gtkdoc-fixxref.in:
	  Only run the syntax highligher if we have one. Fixes #568714.