Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Whats up with Amarok, it wont 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
J3N7iL
Apprentice
Apprentice


Joined: 24 Sep 2005
Posts: 169
Location: Chicago

PostPosted: Tue Dec 20, 2005 10:52 pm    Post subject: Whats up with Amarok, it wont compile Reply with quote

I have checked my use flags and set them using euse, but when i do a
emerge amarok, i get this . . .

Code:

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/k desu'
/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/aut otoc.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/lis ts.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/cal lout.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/cal lout.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/for mal.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/for mal.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/inl ine.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/inl ine.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/htm l.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/ind ex.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/tit lepage.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/tit lepage.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/tit lepage.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/doc book.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/doc book.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-na vig.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-na vig.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-na vig.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-na vig.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-na vig.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-na vig.xsl line 203 element img
Attribute template src: failed to compile $kde.common
unable to parse ./index.docbook
make[3]: *** [index.cache.bz2] Error 1
make[3]: Leaving directory `/var/tmp/portage/kdesu-3.4.1/work/kdesu-3.4.1/doc/kd esu'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdesu-3.4.1/work/kdesu-3.4.1/doc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdesu-3.4.1/work/kdesu-3.4.1'
make: *** [all] Error 2

!!! ERROR: kde-base/kdesu-3.4.1 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.




Any ideas?
Back to top
View user's profile Send private message
/dev/random
l33t
l33t


Joined: 26 Nov 2004
Posts: 704
Location: Austin, Texas, USA

PostPosted: Wed Dec 21, 2005 7:10 am    Post subject: Reply with quote

Post your make.conf
Back to top
View user's profile Send private message
J3N7iL
Apprentice
Apprentice


Joined: 24 Sep 2005
Posts: 169
Location: Chicago

PostPosted: Wed Dec 21, 2005 7:32 am    Post subject: Reply with quote

USE="gtk gtk2 nvidia opengl dvd alsa cdr firefox gome gnome mp3 mpeg xine \
python png quicktime -arts avi -imagemagic orgvoribs \
oggvoribs xmms ssl parse_clocks mysql gstreamer flac musicbrainz \
visualization postgres noamazon qt kde"
Back to top
View user's profile Send private message
J3N7iL
Apprentice
Apprentice


Joined: 24 Sep 2005
Posts: 169
Location: Chicago

PostPosted: Wed Dec 21, 2005 7:33 am    Post subject: Reply with quote

sorry heres the rest


# These settings were set by the catalyst build script that automatically built this stage
# Please consult /etc/make.conf.example for a more detailed example
CFLAGS="-march=athlon-xp -pipe -O2"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
Back to top
View user's profile Send private message
mark_alec
Bodhisattva
Bodhisattva


Joined: 11 Sep 2004
Posts: 6066
Location: Melbourne, Australia

PostPosted: Wed Dec 21, 2005 10:15 am    Post subject: Reply with quote

Try re-emerging libxslt.
Back to top
View user's profile Send private message
J3N7iL
Apprentice
Apprentice


Joined: 24 Sep 2005
Posts: 169
Location: Chicago

PostPosted: Wed Dec 21, 2005 6:14 pm    Post subject: Reply with quote

That worked!

Ok, I like to think that im fairly proficaiant in gentoo, ive been using it for close to two years now, and for the most part can figure out whats going on. But how did you figure out that was the problem.
Back to top
View user's profile Send private message
/dev/random
l33t
l33t


Joined: 26 Nov 2004
Posts: 704
Location: Austin, Texas, USA

PostPosted: Wed Dec 21, 2005 6:36 pm    Post subject: Reply with quote

J3N7iL wrote:
That worked!

Ok, I like to think that im fairly proficaiant in gentoo, ive been using it for close to two years now, and for the most part can figure out whats going on. But how did you figure out that was the problem.

Lines like
Code:

compilation error: file /usr/kde/3.4/share/apps/ksgmltools2/customization/kde-na vig.xsl line 198 element div

You see that it has a problem with .xsl files. You say to yourself, "Well I wonder what program handles those?" And then you do
Code:

emerge -s xsl
*  dev-libs/libxslt
      Latest version available: 1.1.15
      Latest version installed: 1.1.15
      Size of downloaded files: 1,780 kB
      Homepage:    http://www.xmlsoft.org/
      Description: XSLT libraries and tools
      License:     MIT

Granted there's a long list of applications for xsl, but you can see which you have installed and just try those.
Back to top
View user's profile Send private message
J3N7iL
Apprentice
Apprentice


Joined: 24 Sep 2005
Posts: 169
Location: Chicago

PostPosted: Wed Dec 21, 2005 7:33 pm    Post subject: Reply with quote

OH! so i actually have to read the error output! :P
LOL

OK, i should try to pay more attention then

and just to let everyone know, I went ahead and added Amarok to my package-keywords file and got the 1.3.7
It works great!
Thanx again for your help!
Back to top
View user's profile Send private message
kallamej
Administrator
Administrator


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

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

Moved from Multimedia 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