LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Distributions (https://www.linuxquestions.org/questions/linux-distributions-5/)
-   -   Gentoo + KDE -> Emerge/Compile Errors (https://www.linuxquestions.org/questions/linux-distributions-5/gentoo-kde-emerge-compile-errors-363701/)

bfloeagle 09-15-2005 03:26 PM

Gentoo + KDE -> Emerge/Compile Errors
 
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-r1 which included Konsole. I tried to emerge the latest version of kdebase but got the same emerge error over and over again...

So I do what I normally do to get something to work on my gentoo laptop, I remove the package and do a fresh install of kdebase. So now I've lost all KDE functionality and I'm still getting those errors.

Now I try going a different route. Instead of using the kdebase ebuild, I'm just emerge kdm and let everything else build on its own. But of course more errors. 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 KDM 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

Does anyone know what an XPath error means? Anyone know why this wouldn't compile??? I'm running Gentoo with 2.6.12-ck4 kernel on an Averatec 5110h laptop...

TIA!
Andy

dinolinux 09-15-2005 03:42 PM

The thing is that the X system has a path variable. Somehow you have lost it. Have you removed any packages that might have something to do with X? I think you can solve this problem by finding the right config file and put the correct path there.

bfloeagle 09-15-2005 03:49 PM

I recently upgrade from KDE 3.2 to 3.4... That probably removed a bunch of stuff but I don't know what... The only problem I had with the upgrade was a font path error. When you say find the right config file, do you mean the config file in the ebuild or somewhere in the X directory?

jpmontalbo 09-29-2005 03:29 AM

hello, how are you doing? Well for me, I had the same exact problem. After trial and error and searching google, I updated libxslt to the newest version. It worked! Hopefully it works for you as well. By the way I'm currently using suse 9.3 and libxslt version 1.1.15.

bfloeagle 09-29-2005 11:54 AM

http://forums.gentoo.org/viewtopic-t...ighlight-.html

That's actually what I ended up doing... :p


All times are GMT -5. The time now is 10:26 PM.