LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 09-15-2005, 03:26 PM   #1
bfloeagle
Member
 
Registered: Jun 2000
Location: Upstate New York
Distribution: Ubuntu
Posts: 158

Rep: Reputation: 30
Unhappy 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
 
Old 09-15-2005, 03:42 PM   #2
dinolinux
Member
 
Registered: Jun 2005
Location: Oslo, Norway
Distribution: Slackware 11, Solaris 10, Solaris 9, Sourcemage 0.9.6
Posts: 322

Rep: Reputation: 31
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.
 
Old 09-15-2005, 03:49 PM   #3
bfloeagle
Member
 
Registered: Jun 2000
Location: Upstate New York
Distribution: Ubuntu
Posts: 158

Original Poster
Rep: Reputation: 30
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?

Last edited by bfloeagle; 09-15-2005 at 03:51 PM.
 
Old 09-29-2005, 03:29 AM   #4
jpmontalbo
LQ Newbie
 
Registered: Sep 2005
Distribution: Suse 9.3
Posts: 1

Rep: Reputation: 0
Thumbs up

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.
 
Old 09-29-2005, 11:54 AM   #5
bfloeagle
Member
 
Registered: Jun 2000
Location: Upstate New York
Distribution: Ubuntu
Posts: 158

Original Poster
Rep: Reputation: 30
http://forums.gentoo.org/viewtopic-t...ighlight-.html

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
pkg-config error with emerge -aD gnome-python on Gentoo 2.6.9-gentoo-r6 ghrellin Linux - Software 2 12-22-2004 06:37 PM
gentoo install emerge fetch errors? chunlee Linux - Distributions 6 12-17-2004 11:10 AM
gentoo, how emerge and use kde? mrosati Linux - Software 2 05-29-2004 03:34 AM
emerge errors during emerge -u world busbarn Linux - Distributions 6 04-23-2003 09:37 AM
gentoo emerge kde error busbarn Linux - Software 2 03-08-2003 11:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

All times are GMT -5. The time now is 07:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration