Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
kdebase-3.5.0-r1 won't 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
BlackEye
l33t
l33t


Joined: 04 Dec 2002
Posts: 756
Location: Germany

PostPosted: Tue Dec 06, 2005 2:12 pm    Post subject: kdebase-3.5.0-r1 won't compile Reply with quote

I just want to upgrade my kde to the latest version of 3.5.0 but kdebase won't compile:
Quote:
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
count($up)>0
^
compilation error: file /usr/kde/3.5/share/apps/ksgmltools2/customization/kde-navig.xsl line 171 element when
xsl:when : could not compile test expression 'count($up)>0'
XPath error : Undefined variable
compilation error: file /usr/kde/3.5/share/apps/ksgmltools2/customization/kde-navig.xsl line 175 element with-param
xsl:param : could not compile select expression '$up'
unable to parse ./index.docbook
make[3]: *** [index.cache.bz2] Fehler 1
make[3]: Leaving directory `/var/tmp/portage/kdebase-3.5.0-r1/work/kdebase-3.5.0/doc/kdeprint'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/var/tmp/portage/kdebase-3.5.0-r1/work/kdebase-3.5.0/doc'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/var/tmp/portage/kdebase-3.5.0-r1/work/kdebase-3.5.0'
make: *** [all] Fehler 2


Ideas?
I wonder why 'emerge kde' try to read files of my currently installed kde-3.5.0-rc1 (the xsl File) Strange thing?
Back to top
View user's profile Send private message
BlackEye
l33t
l33t


Joined: 04 Dec 2002
Posts: 756
Location: Germany

PostPosted: Wed Dec 07, 2005 8:09 am    Post subject: Reply with quote

no one? Could everybody upgrade his kde but me? 8O

After starting to merke kdebase I can see this:
Quote:
[...]
Good - your configure finished. Start make now

make all-recursive
make[1]: Entering directory `/var/tmp/portage/kdebase-3.5.0-r1/work/kdebase-3.5.0'
Making all in libkonq
make[2]: Entering directory `/var/tmp/portage/kdebase-3.5.0-r1/work/kdebase-3.5.0/libkonq'
Making all in pics
make[3]: Entering directory `/var/tmp/portage/kdebase-3.5.0-r1/work/kdebase-3.5.0/libkonq/pics'
make[3]: Für das Ziel »all« ist nichts zu tun.
make[3]: Leaving directory `/var/tmp/portage/kdebase-3.5.0-r1/work/kdebase-3.5.0/libkonq/pics'
Making all in favicons
make[3]: Entering directory `/var/tmp/portage/kdebase-3.5.0-r1/work/kdebase-3.5.0/libkonq/favicons'
/usr/kde/3.5/bin/dcopidl ./favicons.h > favicons.kidl || ( rm -f favicons.kidl ; false )
/usr/qt/3/bin/moc ./favicons.h -o favicons.moc
/usr/kde/3.5/bin/dcopidl2cpp --c++-suffix cpp --no-signals --no-stub favicons.kidl
creating kded_favicons_la.all_cpp.cpp ...
/bin/sh ../../libtool --silent --mode=compile --tag=CXX i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/kde/3.5/include -I/usr/qt/3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -D_FILE_OFFSET_BITS=64 -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -march=athlon-xp -Os -pipe -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -D_GNU_SOURCE -c -o kded_favicons_la.all_cpp.lo `test -f 'kded_favicons_la.all_cpp.cpp' || echo './'`kded_favicons_la.all_cpp.cpp
/bin/sh ../../libtool --silent --mode=link --tag=CXX i686-pc-linux-gnu-g++ -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -march=athlon-xp -Os -pipe -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -D_GNU_SOURCE -o kded_favicons.la -rpath /usr/kde/3.5/lib/kde3 -L/usr/kde/3.5/lib -L/usr/qt/3/lib -L/usr/lib -module -avoid-version kded_favicons_la.all_cpp.lo -lkio
make[3]: Leaving directory `/var/tmp/portage/kdebase-3.5.0-r1/work/kdebase-3.5.0/libkonq/favicons'
make[3]: Entering directory `/var/tmp/portage/kdebase-3.5.0-r1/work/kdebase-3.5.0/libkonq'
/usr/kde/3.5/bin/dcopidl ./konq_undo.h > konq_undo.kidl || ( rm -f konq_undo.kidl ; false )
/usr/kde/3.5/bin/dcopidl ./konq_historycomm.h > konq_historycomm.kidl || ( rm -f konq_historycomm.kidl ; false )
/usr/kde/3.5/bin/dcopidl ./konq_faviconmgr.h > konq_faviconmgr.kidl || ( rm -f konq_faviconmgr.kidl ; false )
/usr/qt/3/bin/moc ./konq_historymgr.h -o konq_historymgr.moc
/usr/qt/3/bin/moc ./konq_filetip.h -o konq_filetip.moc
/usr/qt/3/bin/moc ./konq_iconviewwidget.h -o konq_iconviewwidget.moc
/usr/qt/3/bin/moc ./konq_dirpart.h -o konq_dirpart.moc
/usr/qt/3/bin/moc ./konq_drag.h -o konq_drag.moc
/usr/qt/3/bin/moc ./knewmenu.h -o knewmenu.moc
/usr/qt/3/bin/moc ./konq_operations.h -o konq_operations.moc
/usr/qt/3/bin/moc ./kivdirectoryoverlay.h -o kivdirectoryoverlay.moc
/usr/qt/3/bin/moc ./konq_faviconmgr.h -o konq_faviconmgr.moc
/usr/qt/3/bin/moc ./konq_undo.h -o konq_undo.moc
/usr/qt/3/bin/moc ./konq_bgnddlg.h -o konq_bgnddlg.moc
/usr/qt/3/bin/moc ./konq_popupmenu.h -o konq_popupmenu.moc
/usr/kde/3.5/bin/dcopidl2cpp --c++-suffix cc --no-signals --no-stub konq_undo.kidl
/usr/kde/3.5/bin/dcopidl2cpp --c++-suffix cc --no-signals --no-stub konq_historycomm.kidl
/usr/kde/3.5/bin/dcopidl2cpp --c++-suffix cc --no-signals --no-stub konq_faviconmgr.kidl
creating libkonq_la.all_cc.cc ...
/bin/sh ../libtool --silent --mode=compile --tag=CXX i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/kde/3.5/include/arts -I/usr/kde/3.5/include -I/usr/qt/3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -D_FILE_OFFSET_BITS=64 -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -march=athlon-xp -Os -pipe -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -D_GNU_SOURCE -c -o libkonq_la.all_cc.lo `test -f 'libkonq_la.all_cc.cc' || echo './'`libkonq_la.all_cc.cc
/bin/sh ../libtool --silent --mode=link --tag=CXX i686-pc-linux-gnu-g++ -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -march=athlon-xp -Os -pipe -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -D_GNU_SOURCE -o libkonq.la -rpath /usr/kde/3.5/lib -L/usr/kde/3.5/lib -L/usr/qt/3/lib -L/usr/lib -version-info 6:0:2 -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined libkonq_la.all_cc.lo -lkparts
make[3]: Leaving directory `/var/tmp/portage/kdebase-3.5.0-r1/work/kdebase-3.5.0/libkonq'
make[2]: Leaving directory `/var/tmp/portage/kdebase-3.5.0-r1/work/kdebase-3.5.0/libkonq'
Making all in applnk
make[2]: Entering directory `/var/tmp/portage/kdebase-3.5.0-r1/work/kdebase-3.5.0/applnk'
Making all in compat
make[3]: Entering directory `/var/tmp/portage/kdebase-3.5.0-r1/work/kdebase-3.5.0/applnk/compat'
make[3]: Für das Ziel »all« ist nichts zu tun.
make[3]: Leaving directory `/var/tmp/portage/kdebase-3.5.0-r1/work/kdebase-3.5.0/applnk/compat'
make[3]: Entering directory `/var/tmp/portage/kdebase-3.5.0-r1/work/kdebase-3.5.0/applnk'
make[3]: Für das Ziel »all-am« ist nichts zu tun.
make[3]: Leaving directory `/var/tmp/portage/kdebase-3.5.0-r1/work/kdebase-3.5.0/applnk'
make[2]: Leaving directory `/var/tmp/portage/kdebase-3.5.0-r1/work/kdebase-3.5.0/applnk'
Making all in doc
make[2]: Entering directory `/var/tmp/portage/kdebase-3.5.0-r1/work/kdebase-3.5.0/doc'
Making all in .
make[3]: Entering directory `/var/tmp/portage/kdebase-3.5.0-r1/work/kdebase-3.5.0/doc'
make[3]: Für das Ziel »all-am« ist nichts zu tun.
make[3]: Leaving directory `/var/tmp/portage/kdebase-3.5.0-r1/work/kdebase-3.5.0/doc'
Making all in kdeprint
make[3]: Entering directory `/var/tmp/portage/kdebase-3.5.0-r1/work/kdebase-3.5.0/doc/kdeprint'
/usr/kde/3.5/bin/meinproc --check --cache index.cache.bz2 ./index.docbook
XPath error : Undefined variable
concat($base.dir,$base.name)
^
compilation error: file /usr/kde/3.5/share/apps/ksgmltools2/customization/kde-chunk.xsl line 19 element value-of
xsl:value-of : could not compile select expression 'concat($base.dir,$base.name)'
XPath error : Undefined variable
compilation error: file /usr/kde/3.5/share/apps/ksgmltools2/customization/kde-chunk.xsl line 22 element value-of
xsl:value-of : could not compile select expression '$base.name'
XPath error : Undefined variable
compilation error: file /usr/kde/3.5/share/apps/ksgmltools2/customization/kde-chunk.xsl line 34 element copy-of
xsl:copy-of : could not compile select expression '$content'
XPath error : Undefined variable
concat($kde.common,'kde-default.css')
[...]
very, very, VERY long error-list


Begining with the red-line, I get thousands of xml error messages till the merge breaks.
Back to top
View user's profile Send private message
Miker
n00b
n00b


Joined: 20 Jun 2002
Posts: 65
Location: Belgium

PostPosted: Fri Dec 09, 2005 4:57 pm    Post subject: Reply with quote

I had the same problems during the gcc upgrade (all over kde), see for a solution.
Back to top
View user's profile Send private message
BlackEye
l33t
l33t


Joined: 04 Dec 2002
Posts: 756
Location: Germany

PostPosted: Fri Dec 09, 2005 6:01 pm    Post subject: Reply with quote

ahh yes, thats it!

thanks!!
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:11 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