Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can't compile kdebase...
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
bfloeagle
Tux's lil' helper
Tux's lil' helper


Joined: 02 May 2003
Posts: 82

PostPosted: Fri Sep 16, 2005 9:05 pm    Post subject: Can't compile kdebase... Reply with quote

I was trying to update Konsole to the latest version in order to make it use my Konsolerc config file (I was having issues with schemas)... I found out my installation used kdebase-2.4.2 which included Konsole. I tried to emerge the latest version of kdebase (2.4.2-r1) but got the same emerge error over and over again...

So I do what I normally do to get something to work on my laptop, I remove the package and do a fresh install of it. So I've now removed my working version of KDE and can't bring it back b/c I'm still getting those errors.

Now I tried going a different route. Instead of using the kdebase ebuild, I'm just emerge kdm and let everything else build on its own (manually bring in konsole and all the other kde apps). But of course more errors popped up. The strange thing is that I am getting the same errors as I was getting in kdebase, but this time in kdesu. Maybe kdebase was hanging on the part where it complied kdesu, I don't know. All I know is that I've trashed KDE and I can't find any info on this problem via Google (which is a bad sign)...

Here is the error message when doing an emerge of kdm (kdesu is the next package it needs to emerge):

Code:

>>> emerge (1 of 4) kde-base/kdesu-3.4.1 to /
>>> md5 files   ;-) kdesu-3.5_alpha1.ebuild
>>> md5 files   ;-) kdesu-3.4.1.ebuild
>>> md5 files   ;-) files/digest-kdesu-3.5_alpha1
>>> md5 files   ;-) files/digest-kdesu-3.4.1
>>> md5 src_uri ;-) kdebase-3.4.1.tar.bz2
Calculating dependencies  >>> Unpacking source...
>>> Extracting from tarball...
>>> Source unpacked.
*** automake (GNU automake) 1.7.9 found.
*** Creating acinclude.m4
*** Creating list of subdirectories
*** Creating Makefile.am
*** Creating configure.files
*** Creating configure.in
*** Creating aclocal.m4
...
   [snip]
...
Good - your configure finished. Start make now

make  all-recursive
make[1]: Entering directory `/var/tmp/portage/kdesu-3.4.1/work/kdesu-3.4.1'
Making all in doc
make[2]: Entering directory `/var/tmp/portage/kdesu-3.4.1/work/kdesu-3.4.1/doc'
Making all in kdesu
make[3]: Entering directory `/var/tmp/portage/kdesu-3.4.1/work/kdesu-3.4.1/doc/kdesu'
/usr/kde/3.4/bin/meinproc --check --cache index.cache.bz2 ./index.docbook
XPath error : Undefined variable
compilation error: file /usr/kde/3.4/share/apps/ksgmltools2/docbook/xsl/html/autotoc.xsl line 544 element div
Attribute template class: failed to compile $titles
XPath error : Undefined variable
compilation error: file /usr/kde/3.4/share/apps/ksgmltools2/docbook/xsl/html/lists.xsl line 735 element ol
Attribute template type: failed to compile $numeration
XPath error : Undefined variable
compilation error: file /usr/kde/3.4/share/apps/ksgmltools2/docbook/xsl/html/callout.xsl line 158 element img
Attribute template src: failed to compile $callout.graphics.path
XPath error : Undefined variable
compilation error: file /usr/kde/3.4/share/apps/ksgmltools2/docbook/xsl/html/callout.xsl line 158 element img
Attribute template alt: failed to compile $conum
XPath error : Undefined variable
compilation error: file /usr/kde/3.4/share/apps/ksgmltools2/docbook/xsl/html/formal.xsl line 19 element div
Attribute template class: failed to compile $class
XPath error : Undefined variable
compilation error: file /usr/kde/3.4/share/apps/ksgmltools2/docbook/xsl/html/formal.xsl line 71 element div
Attribute template class: failed to compile $class
XPath error : Undefined variable
compilation error: file /usr/kde/3.4/share/apps/ksgmltools2/docbook/xsl/html/inline.xsl line 856 element a
Attribute template href: failed to compile $chunkbase
XPath error : Undefined variable
compilation error: file /usr/kde/3.4/share/apps/ksgmltools2/docbook/xsl/html/inline.xsl line 934 element code
Attribute template class: failed to compile $class
XPath error : Undefined variable
compilation error: file /usr/kde/3.4/share/apps/ksgmltools2/docbook/xsl/html/html.xsl line 24 element a
Attribute template name: failed to compile $id
XPath error : Undefined variable
compilation error: file /usr/kde/3.4/share/apps/ksgmltools2/docbook/xsl/html/index.xsl line 115 element a
Attribute template name: failed to compile $id
XPath error : Undefined variable
concat('ln-',$id,$html.ext)
                ^
compilation error: file /usr/kde/3.4/share/apps/ksgmltools2/docbook/xsl/html/titlepage.xsl line 475 element a
Attribute template href: failed to compile concat('ln-',$id,$html.ext)
XPath error : Undefined variable
compilation error: file /usr/kde/3.4/share/apps/ksgmltools2/docbook/xsl/html/titlepage.xsl line 502 element a
Attribute template name: failed to compile $id
XPath error : Undefined variable
compilation error: file /usr/kde/3.4/share/apps/ksgmltools2/docbook/xsl/html/titlepage.xsl line 780 element a
Attribute template name: failed to compile $id
XPath error : Undefined variable
compilation error: file /usr/kde/3.4/share/apps/ksgmltools2/docbook/xsl/html/docbook.xsl line 137 element base
Attribute template href: failed to compile $html.base
XPath error : Undefined variable
substring-before($stylesheets, ' ')
                             ^
compilation error: file /usr/kde/3.4/share/apps/ksgmltools2/docbook/xsl/html/docbook.xsl line 197 element link
Attribute template href: failed to compile substring-before($stylesheets, ' ')
XPath error : Undefined variable
compilation error: file /usr/kde/3.4/share/apps/ksgmltools2/customization/kde-navig.xsl line 43 element div
Attribute template style: failed to compile $kde.common
XPath error : Undefined variable
compilation error: file /usr/kde/3.4/share/apps/ksgmltools2/customization/kde-navig.xsl line 47 element img
Attribute template src: failed to compile $kde.common
XPath error : Undefined variable
compilation error: file /usr/kde/3.4/share/apps/ksgmltools2/customization/kde-navig.xsl line 50 element img
Attribute template src: failed to compile $kde.common
XPath error : Undefined variable
compilation error: file /usr/kde/3.4/share/apps/ksgmltools2/customization/kde-navig.xsl line 198 element div
Attribute template style: failed to compile $kde.common
XPath error : Undefined variable
compilation error: file /usr/kde/3.4/share/apps/ksgmltools2/customization/kde-navig.xsl line 200 element img
Attribute template src: failed to compile $kde.common
XPath error : Undefined variable
compilation error: file /usr/kde/3.4/share/apps/ksgmltools2/customization/kde-navig.xsl line 203 element img
Attribute template src: failed to compile $kde.common
unable to parse ./index.docbook


I can repeat the above if I just do an "emerge kdebase"...

Does anyone know what an XPath error means? I have /usr/kde/3.4 set in my path and I am emerging as root. I'm running Gentoo with 2.6.12-ck4 kernel on an Averatec 5110h laptop... I recently upgrade from KDE 3.2 to 3.4 so that is probably helping these errors. The only odd thing (outside of it just not compiling) is that I immediately drop to a command prompt after the last line is generated. It's almost like there was too many errors and some buffer gets blown away instead of displaying the usualy emerge failed messages. Could something really trivial be missing?

TIA!
Andy
Back to top
View user's profile Send private message
bfloeagle
Tux's lil' helper
Tux's lil' helper


Joined: 02 May 2003
Posts: 82

PostPosted: Fri Sep 16, 2005 9:22 pm    Post subject: Reply with quote

I'll be damned...

https://forums.gentoo.org/viewtopic-t-379523-highlight-xpath.html

I wish Google had indexed this post sooner. It appears vespaman found the solution. How? I don't know...

Quote:
I found the solution; updating (emerging) libxslt.


But it works. Thanks vespaman!!! :D
Back to top
View user's profile Send private message
kallamej
Administrator
Administrator


Joined: 27 Jun 2003
Posts: 4923
Location: Gothenburg, Sweden

PostPosted: Sun Dec 25, 2005 8:00 pm    Post subject: Reply with quote

Moved from Desktop Environments to Duplicate Threads in favour of the above mentioned thread.
_________________
Please read our FAQ Forum, it answers many of your questions.
irc: #gentoo-forums on irc.freenode.net
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