Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
'liboil' will not compile
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
mjbjr
Apprentice
Apprentice


Joined: 02 Mar 2003
Posts: 187

PostPosted: Tue Dec 19, 2006 8:18 pm    Post subject: 'liboil' will not compile Reply with quote

I'm in a bit of gnome/gtk emerge update hell, and while I'm managing to overcome
the various roadblocks by updating smaller blocks of packages to resolve dependencies,
one continues to dumbfound me, 'dev-libs/liboil-0.3.6-r1':

picking up a bit before the errors...

gcc -O2 -g -o .libs/memcpy-speed memcpy_speed-memcpy-speed.o ../liboil/.libs/liboil-0.3.so
creating memcpy-speed
make[3]: Leaving directory `/var/tmp/portage/liboil-0.3.6-r1/work/liboil-0.3.6/examples'
make[2]: Leaving directory `/var/tmp/portage/liboil-0.3.6-r1/work/liboil-0.3.6/examples'
Making all in doc
make[2]: Entering directory `/var/tmp/portage/liboil-0.3.6-r1/work/liboil-0.3.6/doc'
*** Scanning header files ***
if grep -l '^..*$' ./liboil.types > /dev/null ; then \
CC="/bin/sh ../libtool --mode=compile gcc -O2 -g" LD="/bin/sh ../libtool --mode=link gcc -O2 -g " CFLAGS="" LDFLAGS="" gtkdoc-scangobj --module=liboil --output-dir=. ; \
else \
cd . ; \
for i in liboil.args liboil.hierarchy liboil.interfaces liboil.prerequisites liboil.signals ; do \
test -f $i || touch $i ; \
done \
fi
cd . && \
gtkdoc-scan --module=liboil --source-dir=../liboil --ignore-headers="liboilfuncs.h fbmmx.h fbpict.h"
touch scan-build.stamp
*** Rebuilding template files ***
cd . && gtkdoc-mktmpl --module=liboil
touch tmpl-build.stamp
*** Building XML ***
cd . && \
gtkdoc-mkdb --module=liboil --source-dir=../liboil --output-format=xml --sgml-mode --output-format=xml
96% symbol docs coverage (435 symbols documented, 254 symbols incomplete, 19 not documented)
See liboil-undocumented.txt for a list of missing docs.
The doc coverage percentage doesn't include intro sections.
touch sgml-build.stamp
*** Building HTML ***
rm -rf ./html
mkdir ./html
cd ./html && gtkdoc-mkhtml liboil ../liboil-docs.sgml
XPath error : Undefined variable
compilation error: file file:///usr/share/sgml/docbook/xsl-stylesheets-1.70.1/html/autotoc.xsl line 573 element div
Attribute template class: failed to compile $titles
XPath error : Undefined variable
compilation error: file file:///usr/share/sgml/docbook/xsl-stylesheets-1.70.1/html/lists.xsl line 740 element ol
Attribute template type: failed to compile $numeration
XPath error : Undefined variable
compilation error: file file:///usr/share/sgml/docbook/xsl-stylesheets-1.70.1/html/callout.xsl line 158 element img
Attribute template src: failed to compile $callout.graphics.path
XPath error : Undefined variable
compilation error: file file:///usr/share/sgml/docbook/xsl-stylesheets-1.70.1/html/callout.xsl line 158 element img
Attribute template alt: failed to compile $conum
XPath error : Undefined variable
compilation error: file file:///usr/share/sgml/docbook/xsl-stylesheets-1.70.1/html/formal.xsl line 24 element div
Attribute template class: failed to compile $class
XPath error : Undefined variable
compilation error: file file:///usr/share/sgml/docbook/xsl-stylesheets-1.70.1/html/formal.xsl line 32 element div
Attribute template class: failed to compile $class
XPath error : Undefined variable
compilation error: file file:///usr/share/sgml/docbook/xsl-stylesheets-1.70.1/html/formal.xsl line 46 element div
Attribute template class: failed to compile $class
XPath error : Undefined variable
compilation error: file file:///usr/share/sgml/docbook/xsl-stylesheets-1.70.1/html/formal.xsl line 59 element br
Attribute template class: failed to compile $class
XPath error : Undefined variable
compilation error: file file:///usr/share/sgml/docbook/xsl-stylesheets-1.70.1/html/formal.xsl line 102 element div
Attribute template class: failed to compile $class
XPath error : Undefined variable
compilation error: file file:///usr/share/sgml/docbook/xsl-stylesheets-1.70.1/html/formal.xsl line 388 element div
Attribute template class: failed to compile $class
XPath error : Undefined variable
compilation error: file file:///usr/share/sgml/docbook/xsl-stylesheets-1.70.1/html/inline.xsl line 871 element a
Attribute template href: failed to compile $chunkbase
XPath error : Undefined variable
compilation error: file file:///usr/share/sgml/docbook/xsl-stylesheets-1.70.1/html/inline.xsl line 964 element code
Attribute template class: failed to compile $class
XPath error : Undefined variable
compilation error: file file:///usr/share/sgml/docbook/xsl-stylesheets-1.70.1/html/html.xsl line 60 element a
Attribute template name: failed to compile $id
XPath error : Undefined variable
compilation error: file file:///usr/share/sgml/docbook/xsl-stylesheets-1.70.1/html/index.xsl line 142 element a
Attribute template name: failed to compile $id
XPath error : Undefined variable
compilation error: file file:///usr/share/sgml/docbook/xsl-stylesheets-1.70.1/html/titlepage.xsl line 508 element a
Attribute template name: failed to compile $id
XPath error : Undefined variable
compilation error: file file:///usr/share/sgml/docbook/xsl-stylesheets-1.70.1/html/titlepage.xsl line 849 element a
Attribute template name: failed to compile $id
XPath error : Undefined variable
substring-before($scripts, ' ')
^
compilation error: file file:///usr/share/sgml/docbook/xsl-stylesheets-1.70.1/html/annotations.xsl line 9 element script
Attribute template src: failed to compile substring-before($scripts, ' ')
XPath error : Undefined variable
compilation error: file file:///usr/share/sgml/docbook/xsl-stylesheets-1.70.1/html/annotations.xsl line 115 element a
Attribute template title: failed to compile $title
XPath error : Undefined variable
compilation error: file file:///usr/share/sgml/docbook/xsl-stylesheets-1.70.1/html/annotations.xsl line 123 element img
Attribute template alt: failed to compile $title
XPath error : Undefined variable
substring-after($href,'#')
^
compilation error: file file:///usr/share/sgml/docbook/xsl-stylesheets-1.70.1/common/stripns.xsl line 185 element link
Attribute template linkend: failed to compile substring-after($href,'#')
XPath error : Undefined variable
compilation error: file file:///usr/share/sgml/docbook/xsl-stylesheets-1.70.1/html/docbook.xsl line 142 element base
Attribute template href: failed to compile $html.base
XPath error : Undefined variable
substring-before($stylesheets, ' ')
^
compilation error: file file:///usr/share/sgml/docbook/xsl-stylesheets-1.70.1/html/docbook.xsl line 202 element link
Attribute template href: failed to compile substring-before($stylesheets, ' ')
XPath error : Undefined variable
compilation error: file /usr/share/gtk-doc/data/devhelp.xsl line 47 element book
Attribute template title: failed to compile $title
XPath error : Undefined variable
compilation error: file /usr/share/gtk-doc/data/devhelp.xsl line 47 element book
Attribute template author: failed to compile $author
XPath error : Undefined variable
compilation error: file /usr/share/gtk-doc/data/devhelp.xsl line 79 element sub
Attribute template name: failed to compile $title
XPath error : Undefined variable
compilation error: file /usr/share/gtk-doc/data/devhelp.xsl line 79 element sub
Attribute template link: failed to compile $target
XPath error : Undefined variable
compilation error: file /usr/share/gtk-doc/data/devhelp.xsl line 102 element function
Attribute template name: failed to compile $title
XPath error : Undefined variable
compilation error: file /usr/share/gtk-doc/data/devhelp.xsl line 102 element function
Attribute template link: failed to compile $target
XPath error : Undefined variable
compilation error: file /usr/share/gtk-doc/data/devhelp2.xsl line 48 element book
Attribute template title: failed to compile $title
XPath error : Undefined variable
compilation error: file /usr/share/gtk-doc/data/devhelp2.xsl line 48 element book
Attribute template author: failed to compile $author
XPath error : Undefined variable
compilation error: file /usr/share/gtk-doc/data/devhelp2.xsl line 80 element sub
Attribute template name: failed to compile $title
XPath error : Undefined variable
compilation error: file /usr/share/gtk-doc/data/devhelp2.xsl line 80 element sub
Attribute template link: failed to compile $target
XPath error : Undefined variable
compilation error: file /usr/share/gtk-doc/data/devhelp2.xsl line 105 element keyword
Attribute template name: failed to compile $title
XPath error : Undefined variable
compilation error: file /usr/share/gtk-doc/data/devhelp2.xsl line 105 element keyword
Attribute template link: failed to compile $target
XPath error : Undefined variable
compilation error: file /usr/share/gtk-doc/data/gtk-doc.xsl line 125 element meta
Attribute template content: failed to compile $gtkdoc.version
make[2]: *** [html-build.stamp] Error 5
make[2]: Leaving directory `/var/tmp/portage/liboil-0.3.6-r1/work/liboil-0.3.6/doc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/liboil-0.3.6-r1/work/liboil-0.3.6'
make: *** [all] Error 2

!!! ERROR: dev-libs/liboil-0.3.6-r1 failed.
Call stack:
ebuild.sh, line 1546: Called dyn_compile
ebuild.sh, line 937: Called src_compile
liboil-0.3.6-r1.ebuild, line 21: Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.

Trying to solve this liboil thing I have upgraded/re-emerged
docbook-sgml
docbook-sgml-utils
docbook-xsl-stylesheets

Oh, and gtk-doc as well,

but I still get the same error messages.

Looking at the liboil homepage, it remarks:

"Versions of GCC prior to 3.2 are known to have problems compiling liboil correctly.
GLib-2.0 is recommended to build a few of the examples, but is not required for anything that is installed."

I seem to have that covered:

# gcc --version
gcc (GCC) 3.3.4 20040623 (Gentoo Linux 3.3.4-r1, ssp-3.3.2-2, pie-8.7.6)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

.
Any ideas would be greatly appreciated.
.
Back to top
View user's profile Send private message
mark_alec
Bodhisattva
Bodhisattva


Joined: 11 Sep 2004
Posts: 6066
Location: Melbourne, Australia

PostPosted: Tue Dec 19, 2006 10:36 pm    Post subject: Reply with quote

Moved from Kernel & Hardware to Duplicate Threads.

See https://forums.gentoo.org/viewtopic-t-379523.html (you need to re-emerge libxslt)
_________________
www.gentoo.org.au || #gentoo-au
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum