This site has been retired. For up to date information, see handbook.gnome.org or gitlab.gnome.org.


[Home] [TitleIndex] [WordIndex

/!\ This page is not a bug tracker. If you run into a problem not listed here, please file a bug.
When entering a new problem, please enter it above the others, and follow the format of the JhbuildIssues/JhbuildIssueTemplate for new problems/modules.

List of common errors for the module gnome-doc-utils.

Error - docbook2x-man: command not found

Stage: Build

 make[2]: Leaving directory `/root/cvs/gnome2/gnome-doc-utils/xml2po/modes' 
 Making all in examples 
 make[2]: Entering directory `/root/cvs/gnome2/gnome-doc-utils/xml2po/examples' 
 cd ../.. && 
 /bin/sh /root/cvs/gnome2/gnome-doc-utils/missing --run automake-1.7 --gnu  xml 2po/examples/Makefile 
 cd ../.. && /bin/sh ./config.status xml2po/examples/Makefile 
 config.status: creating xml2po/examples/Makefile 
 make[2]: Leaving directory `/root/cvs/gnome2/gnome-doc-utils/xml2po/examples' 
 make[2]: Entering directory `/root/cvs/gnome2/gnome-doc-utils/xml2po/examples' 
 make[2]: Nothing to be done for `all'. 
 make[2]: Leaving directory `/root/cvs/gnome2/gnome-doc-utils/xml2po/examples' 
 make[2]: Entering directory `/root/cvs/gnome2/gnome-doc-utils/xml2po' 
 docbook2x-man --to-stdout xml2po.1.xml >xml2po.1 
 '/bin/sh: line 1: docbook2x-man: command not found'
 make[2]: *** [xml2po.1] Error 127 
 make[2]: Leaving directory `/root/cvs/gnome2/gnome-doc-utils/xml2po' 
 make[1]: *** [all-recursive] Error 1 
 make[1]: Leaving directory `/root/cvs/gnome2/gnome-doc-utils/xml2po' 
 make: *** [all-recursive] Error 1 
 *** error during stage build of gnome-doc-utils: could not build module *** [1/4 0] 

Solution

 ln -sf /usr/bin/docbook2man /usr/bin/docbook2x-man 
 ln -sf /usr/bin/docbook2texi /usr/bin/docbook2x-texi

HAVE_GNOME_DOC_UTILS does not appear in AM_CONDITIONAL

Stage: Build

 tools/gnome-doc-utils.make:63: HAVE_GNOME_DOC_UTILS does not appear in AM_CONDITIONAL
 doc/gnome-doc-make/Makefile.am:1:   `tools/gnome-doc-utils.make' included from here
 tools/gnome-doc-utils.make:133: ENABLE_SK does not appear in AM_CONDITIONAL
 doc/gnome-doc-make/Makefile.am:1:   `tools/gnome-doc-utils.make' included from here
 tools/gnome-doc-utils.make:182: ENABLE_SK does not appear in AM_CONDITIONAL
 doc/gnome-doc-make/Makefile.am:1:   `tools/gnome-doc-utils.make' included from here
 tools/gnome-doc-utils.make:63: HAVE_GNOME_DOC_UTILS does not appear in AM_CONDITIONAL
 doc/xslt/Makefile.am:1:   `tools/gnome-doc-utils.make' included from here
 tools/gnome-doc-utils.make:133: ENABLE_SK does not appear in AM_CONDITIONAL
 doc/xslt/Makefile.am:1:   `tools/gnome-doc-utils.make' included from here
 tools/gnome-doc-utils.make:182: ENABLE_SK does not appear in AM_CONDITIONAL
 doc/xslt/Makefile.am:1:   `tools/gnome-doc-utils.make' included from here
 gmake: *** [Makefile.in] Error 1

Solution: Re-run the configure stage.

Error - configure.in:29: warning: macro `AM_PATH_PYTHON' not found in library

Stage: Configure

Running intltoolize...
Running aclocal-1.10...
configure.in:29: warning: macro `AM_PATH_PYTHON' not found in library
Running autoconf...
configure.in:29: error: possibly undefined macro: AM_PATH_PYTHON
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
*** error during stage configure of gnome-doc-utils: ########## Error running ./autogen.sh --prefix /opt/gnome2 --libdir '${exec_prefix}/lib64'  --disable-static --disable-gtk-doc --disable-glib-test  *** [8/176]

Solution

I/O error : Attempt to load network entity http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl

Stage: Build

I/O error : Attempt to load network entity http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
warning: failed to load external entity "http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl"
error
xsltParseStylesheetFile : cannot parse http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
compilation error: file ./xml2po.1.xml line 17 element refentry
xsltParseStylesheetProcess : document is not a stylesheet

Solution: Install docbook-xsl or shell out (option 4) and edit the Makefile of the offending component to remove the --nonet parameter from the xsltproc command that generates this error.


CategoryJhbuildIssues


2024-10-23 11:37