Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Help-- Upgrade to KDE 3.5 fails with XPath error
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
gcostanz
n00b
n00b


Joined: 24 Feb 2003
Posts: 69
Location: Hilton, New York

PostPosted: Sun Dec 18, 2005 3:10 pm    Post subject: Help-- Upgrade to KDE 3.5 fails with XPath error Reply with quote

I'm trying to upgrade my laptop to KDE 3.5 from 3.4. I've done this for several other machines with no problem. Emerge kde-meta fails, but I can emerge kdelibs successfully. If I try to emerge kdebase-meta I fail with the following error:

Code:

config.status: creating config.h
config.status: executing depfiles commands

Good - your configure finished. Start make now

make  all-recursive
make[1]: Entering directory `/var/tmp/portage/kdebugdialog-3.5.0/work/kdebugdialog-3.5.0'
Making all in doc
make[2]: Entering directory `/var/tmp/portage/kdebugdialog-3.5.0/work/kdebugdialog-3.5.0/doc'
Making all in kdebugdialog
make[3]: Entering directory `/var/tmp/portage/kdebugdialog-3.5.0/work/kdebugdialog-3.5.0/doc/kdebugdialog'
/usr/kde/3.5/bin/meinproc --check --cache index.cache.bz2 ./index.docbook
XPath error : Undefined variable
$alphabetical[count(.|key('letter',                                  translate(substring(normalize-space(concat(primary/@sortas, primary[not(@sortas)])), 1, 1),                                            'abcdefghijklmnopqrstuvwxyz','ABCDEFGHIJKLMNOPQRSTUVWXYZ'))[count(ancestor::node()|$scope) = count(ancestor::node())
                and ($role = @role or $type = @type or
                (string-length($role) = 0 and string-length($type) = 0))][1]) = 1]
             ^
compilation error: file /usr/kde/3.5/share/apps/ksgmltools2/docbook/xsl/html/autoidx.xsl line 155 element apply-templates
xsl:apply-templates : could not compile select expression '$alphabetical[count(.|key('letter',                                  translate(substring(normalize-space(concat(primary/@sortas, primary[not(@sortas)])), 1, 1),                                            'abcdefghijklmnopqrstuvwxyz','ABCDEFGHIJKLMNOPQRSTUVWXYZ'))[count(ancestor::node()|$scope) = count(ancestor::node())
                and ($role = @role or $type = @type or
                (string-length($role) = 0 and string-length($type) = 0))][1]) = 1]'
XPath error : Undefined variable
$refs[secondary and count(.|key('secondary', concat($key, " ", normalize-space(concat(secondary/@sortas, secondary[not(@sortas)]))))[count(ancestor::node()|$scope) = count(ancestor::node())
                and ($role = @role or $type = @type or
                (string-length($role) = 0 and string-length($type) = 0))][1]) = 1]
     ^
compilation error: file /usr/kde/3.5/share/apps/ksgmltools2/docbook/xsl/html/autoidx.xsl line 251 element apply-templates
xsl:apply-templates : could not compile select expression '$refs[secondary and count(.|key('secondary', concat($key, " ", normalize-space(concat(secondary/@sortas, secondary[not(@sortas)]))))[count(ancestor::node()|$scope) = count(ancestor::node())
                and ($role = @role or $type = @type or
                (string-length($role) = 0 and string-length($type) = 0))][1]) = 1]'
XPath error : Undefined variable
key('id',$rootid)

many more error messages.....

compilation error: file /usr/kde/3.5/share/apps/ksgmltools2/docbook/xsl/html/chunk-code.xsl line 954 element apply-templates
xsl:apply-templates : could not compile select expression '$footnotes[1]'
XPath error : Undefined variable
compilation error: file /usr/kde/3.5/share/apps/ksgmltools2/docbook/xsl/html/chunk-code.xsl line 805 element a
Attribute template href: failed to compile $href
XPath error : Undefined variable
compilation error: file /usr/kde/3.5/share/apps/ksgmltools2/customization/kde-navig.xsl line 94 element apply-templates
xsl:apply-templates : could not compile select expression '$up'
XPath error : Undefined variable
compilation error: file /usr/kde/3.5/share/apps/ksgmltools2/customization/kde-navig.xsl line 162 element apply-templates
xsl:apply-templates : could not compile select expression '$prev'
XPath error : Undefined variable
compilation error: file /usr/kde/3.5/share/apps/ksgmltools2/customization/kde-navig.xsl line 167 element apply-templates
xsl:apply-templates : could not compile select expression '$next'
XPath error : Undefined variable
compilation error: file /usr/kde/3.5/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.5/share/apps/ksgmltools2/customization/kde-navig.xsl line 195 element div
Attribute template style: failed to compile $kde.common
unable to parse ./index.docbook
make[3]: *** [index.cache.bz2] Error 1
make[3]: Leaving directory `/var/tmp/portage/kdebugdialog-3.5.0/work/kdebugdialog-3.5.0/doc/kdebugdialog'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdebugdialog-3.5.0/work/kdebugdialog-3.5.0/doc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdebugdialog-3.5.0/work/kdebugdialog-3.5.0'
make: *** [all] Error 2

!!! ERROR: kde-base/kdebugdialog-3.5.0 failed.
!!! Function kde_src_compile, Line 173, Exitcode 2
!!! died running emake, kde_src_compile:make
!!! If you need support, post the topmost build error, NOT this status message.

anne ~ #


Any suggestions how to move forward would be appreciated.
Back to top
View user's profile Send private message
hoernerfranz
Tux's lil' helper
Tux's lil' helper


Joined: 29 Feb 2004
Posts: 135
Location: Baden

PostPosted: Mon Dec 19, 2005 11:42 am    Post subject: Reply with quote

the solution is already in other threads, like this:
https://forums.gentoo.org/viewtopic-t-407283.html

in short, re-emerge libxslt.
Back to top
View user's profile Send private message
gcostanz
n00b
n00b


Joined: 24 Feb 2003
Posts: 69
Location: Hilton, New York

PostPosted: Mon Dec 19, 2005 10:59 pm    Post subject: Reply with quote

Danke Hoerner, fand ich nicht dieses in den Forum. Ich versuche dieses später heute abend.

Thanks again for your help, I'll post an update if this solves the problem.
Back to top
View user's profile Send private message
gcostanz
n00b
n00b


Joined: 24 Feb 2003
Posts: 69
Location: Hilton, New York

PostPosted: Tue Dec 20, 2005 1:26 am    Post subject: Reply with quote

UPDATE: Problem solved by rebuilding libxslt as suggested.
Back to top
View user's profile Send private message
kallamej
Administrator
Administrator


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

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

Moved from Desktop Environments to Duplicate Threads in favour of [Solved] "XPath error : Undefined variable" ;kaffeine etc.
_________________
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