Docs fail to compile
Jan Tait
jan at futronsys.co.za
Fri Mar 10 16:46:39 EST 2006
Hi, I am trying to install GnuCash on a Gentoo machine (1.8.11). Here is the
error that I encounter (Sorry for the long mail, I include portage --info)
Hope you can help.
Regards,
The config part
-------------------
loading cache ./config.cache
checking for gawk... (cached) gawk
checking for gcc... (cached) gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking for a BSD compatible install... (cached) /bin/install -c
checking whether ln -s works... (cached) yes
checking whether make sets ${MAKE}... (cached) yes
checking for ANSI C header files... (cached) yes
checking for working const... (cached) yes
checking for inline... (cached) inline
checking for size_t... (cached) yes
checking for working alloca.h... (cached) yes
checking for alloca... (cached) yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for getpagesize... (cached) yes
checking for working mmap... (cached) yes
checking for getcwd... (cached) yes
checking for getwd... (cached) yes
checking for putenv... (cached) yes
checking for strdup... (cached) yes
checking for scrollkeeper-config... (cached) /usr/bin/scrollkeeper-config
checking whether build environment is sane... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for Cygwin environment... (cached) no
checking for mingw32 environment... (cached) no
checking host system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for ld used by GCC... (cached) /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... (cached)
yes
checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files...
(cached) -r
checking for BSD-compatible nm... (cached) /usr/bin/nm -B
checking how to recognise dependant libraries... (cached) pass_all
checking for object suffix... (cached) o
checking for executable suffix... (cached) no
checking command to parse /usr/bin/nm -B output... (cached) ok
checking for dlfcn.h... (cached) yes
checking for ranlib... (cached) ranlib
checking for strip... (cached) strip
checking for objdir... .libs
checking for gcc option to produce PIC... (cached) -fPIC
checking if gcc PIC flag -fPIC works... (cached) yes
checking if gcc static flag -static works... (cached) yes
checking if gcc supports -c -o file.o... (cached) yes
checking if gcc supports -c -o file.lo... (cached) yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared
libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether -lc should be explicitly linked in... (cached) no
creating libtool
checking for xsltproc... (cached) /usr/bin/xsltproc
checking for perl... (cached) /usr/bin/perl
checking for dbopen... (cached) no
checking for dbopen in -ldb1... (cached) yes
checking for db_185.h... (cached) yes
checking for db1/db.h... (cached) yes
checking for db4/db_185.h... (cached) no
updating cache ./config.cache
creating ./config.status
creating gnucash-docs.spec
creating doc-tools/Makefile
creating help/Makefile
creating help/C/Makefile
creating help/de_DE/Makefile
creating guide/Makefile
creating guide/C/Makefile
creating guide/de_DE/Makefile
creating Makefile
creating config.h
The Error Part
------------------
make all-recursive
make[1]: Entering directory
`/var/tmp/portage/gnucash-1.8.11/work/gnucash-docs-1.8.5'
Making all in help
make[2]: Entering directory
`/var/tmp/portage/gnucash-1.8.11/work/gnucash-docs-1.8.5/help'
Making all in C
make[3]: Entering directory
`/var/tmp/portage/gnucash-1.8.11/work/gnucash-docs-1.8.5/help/C'
/bin/sh ../../mkinstalldirs gnucash-help; \
for file in gnucash-help.xml; do \
xsltproc -o gnucash-help/ --param use.id.as.filename 1 \
../../xsl/general-customization.xsl ./$file; \
done
XPath error : Undefined namespace prefix
($local.l10n.xml/l:i18n/l:l10n[@language=$lang]/l:xref[@element=$element.name])
[1]/@text
^
compilation error: file ../../xsl/1.45/common/l10n.xsl line 112 element
value-of
xsl:value-of : could not compile select expression
'($local.l10n.xml/l:i18n/l:l10n[@language=$lang]/l:xref[@element=$element.name])
[1]/@text'
XPath error : Undefined namespace prefix
($l10n.xml/l:i18n/l:l10n[@language=$lang]/l:xref[@element=$element.name])
[1]/@text
^
compilation error: file ../../xsl/1.45/common/l10n.xsl line 115 element
value-of
xsl:value-of : could not compile select expression
'($l10n.xml/l:i18n/l:l10n[@language=$lang]/l:xref[@element=$element.name])
[1]/@text'
XPath error : Undefined namespace prefix
($local.l10n.xml//l:i18n/l:l10n[@language=$lang]/l:gentext[@key=$key])[1]
^
compilation error: file ../../xsl/1.45/common/l10n.xsl line 150 element
variable
xsl:variable : could not compile select expression
'($local.l10n.xml//l:i18n/l:l10n[@language=$lang]/l:gentext[@key=$key])[1]'
XPath error : Undefined namespace prefix
($l10n.xml/l:i18n/l:l10n[@language=$lang]/l:gentext[@key=$key])[1]
^
compilation error: file ../../xsl/1.45/common/l10n.xsl line 153 element
variable
xsl:variable : could not compile select expression
'($l10n.xml/l:i18n/l:l10n[@language=$lang]/l:gentext[@key=$key])[1]'
XPath error : Undefined namespace prefix
($l10n.xml/l:i18n/l:l10n[@language='en']/l:gentext[@key=$key])[1]/@text
^
compilation error: file ../../xsl/1.45/common/l10n.xsl line 182 element
value-of
xsl:value-of : could not compile select expression
'($l10n.xml/l:i18n/l:l10n[@language='en']/l:gentext[@key=$key])[1]/@text'
XPath error : Undefined namespace prefix
($local.l10n.xml//l:i18n/l:l10n[@language=$lang]/l:dingbat[@key=$dingbat])[1]
^
compilation error: file ../../xsl/1.45/common/l10n.xsl line 222 element
variable
xsl:variable : could not compile select expression
'($local.l10n.xml//l:i18n/l:l10n[@language=$lang]/l:dingbat[@key=$dingbat])
[1]'
XPath error : Undefined namespace prefix
($l10n.xml/l:i18n/l:l10n[@language=$lang]/l:dingbat[@key=$dingbat])[1]
^
compilation error: file ../../xsl/1.45/common/l10n.xsl line 225 element
variable
xsl:variable : could not compile select expression
'($l10n.xml/l:i18n/l:l10n[@language=$lang]/l:dingbat[@key=$dingbat])[1]'
XPath error : Undefined namespace prefix
($l10n.xml/l:i18n/l:l10n[@language='en']/l:dingbat[@key=$dingbat])[1]/@text
^
compilation error: file ../../xsl/1.45/common/l10n.xsl line 243 element
value-of
xsl:value-of : could not compile select expression
'($l10n.xml/l:i18n/l:l10n[@language='en']/l:dingbat[@key=$dingbat])[1]/@text'
XPath error : Undefined namespace prefix
($local.l10n.xml//l:i18n/l:l10n[@language=$lang])[1]
^
compilation error: file ../../xsl/1.45/common/l10n.xsl line 306 element
variable
xsl:variable : could not compile select expression
'($local.l10n.xml//l:i18n/l:l10n[@language=$lang])[1]'
XPath error : Undefined namespace prefix
($l10n.xml/l:i18n/l:l10n[@language=$lang])[1]
^
compilation error: file ../../xsl/1.45/common/l10n.xsl line 309 element
variable
xsl:variable : could not compile select expression
'($l10n.xml/l:i18n/l:l10n[@language=$lang])[1]'
XPath error : Undefined namespace prefix
$local.localization.node/l:context[@name=$context]
^
compilation error: file ../../xsl/1.45/common/l10n.xsl line 321 element
variable
xsl:variable : could not compile select expression
'$local.localization.node/l:context[@name=$context]'
XPath error : Undefined namespace prefix
$localization.node/l:context[@name=$context]
^
compilation error: file ../../xsl/1.45/common/l10n.xsl line 324 element
variable
xsl:variable : could not compile select expression
'$localization.node/l:context[@name=$context]'
XPath error : Undefined namespace prefix
$local.context.node/l:template[@name=$name][1]
^
compilation error: file ../../xsl/1.45/common/l10n.xsl line 338 element
variable
xsl:variable : could not compile select expression
'$local.context.node/l:template[@name=$name][1]'
XPath error : Undefined namespace prefix
$context.node/l:template[@name=$name][1]
^
compilation error: file ../../xsl/1.45/common/l10n.xsl line 341 element
variable
xsl:variable : could not compile select expression
'$context.node/l:template[@name=$name][1]'
XPath error : Undefined variable
compilation error: file ../../xsl/1.45/html/docbook.xsl line 117 element meta
Attribute template content: failed to compile $VERSION
../../xsl/toc.xsl:10: namespace error : Namespace prefix doc for type on param
is not defined
<xsl:param name="generate.book.toc" select="1" doc:type="boolean"/>
^
../../xsl/toc.xsl:13: namespace error : Namespace prefix doc for type on param
is not defined
<xsl:param name="generate.article.toc" select="1" doc:type="boolean"/>
^
../../xsl/toc.xsl:16: namespace error : Namespace prefix doc for type on param
is not defined
<xsl:param name="generate.part.toc" select="1" doc:type="boolean"/>
^
../../xsl/toc.xsl:19: namespace error : Namespace prefix doc for type on param
is not defined
<xsl:param name="chapter.autolabel" select="1" doc:type="boolean"/>
^
../../xsl/toc.xsl:22: namespace error : Namespace prefix doc for type on param
is not defined
<xsl:param name="section.autolabel" select="1" doc:type ="boolean"/>
^
../../xsl/toc.xsl:26: namespace error : Namespace prefix doc for type on param
is not defined
aram name="section.label.includes.component.label" select="1"
doc:type="boolean"
^
../../xsl/toc.xsl:29: namespace error : Namespace prefix doc for type on param
is not defined
<xsl:param name="use.id.as.filename" select="1" doc:type='boolean'/>
^
../../xsl/copyright.xsl:10: namespace error : Namespace prefix doc for type on
param is not defined
<xsl:param name="make.year.ranges" select="1" doc:type="boolean"/>
^
../../xsl/admonitions.xsl:18: namespace error : Namespace prefix doc for type
on param is not defined
<xsl:param name="graphic.default.extension" select="'png'" doc:type="string"/>
^
make[3]: *** [convert-html] Error 5
make[3]: Leaving directory
`/var/tmp/portage/gnucash-1.8.11/work/gnucash-docs-1.8.5/help/C'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/gnucash-1.8.11/work/gnucash-docs-1.8.5/help'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/gnucash-1.8.11/work/gnucash-docs-1.8.5'
make: *** [all-recursive-am] Error 2
Portage Info part
----------------------
emerge --info
Portage 2.0.54 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r11 i686)
=================================================================
System uname: 2.6.11-gentoo-r11 i686 AMD Athlon(tm) processor
Gentoo Base System version 1.6.12
dev-lang/python: 2.3.5, 2.4.2
sys-apps/sandbox: 1.2.12
sys-devel/autoconf: 2.13, 2.59-r6
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils: 2.15.92.0.2-r10
sys-devel/libtool: 1.5.16
virtual/os-headers: 2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -pipe -march=athlon-tbird -fomit-frame-pointer -mmmx -m3dnow"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -pipe -march=athlon-tbird -fomit-frame-pointer -mmmx -m3dnow"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnow2 3dnowext X alsa apache2 apm arts audiofile avi berkdb
bitmap-fonts bonobo bzip2 cdparanoia cdr crypt cups curl dri dvd eds emboss
encode esd exif expat fam ffmpeg foomaticdb fortran gdbm gif glut gnome
gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile idn imlib ipv6 jpeg k3b kde
kdeenablefinal lcms libg++ libwww mad mikmod mmx mmx2 mmxext mng motif
mozilla mp3 mpeg mplayer ncurses nls nvidia ogg oggvorbis opengl oss pam pcre
pdflib perl png python qt quicktime readline sdl spell ssl tcltk tcpd tetex
tiff truetype truetype-fonts type1-fonts udev usb v4l vorbis xml xml2 xmms xv
xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
--
Jan Tait
Futronsys
SOUTH AFRICA
Cell: +27 82 417 2610
web: www.futronsys.co.za
email: jan at futronsys.co.za
skype: jan_tait
More information about the gnucash-devel
mailing list