LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 02-02-2013, 01:29 PM   #1
croxen
Member
 
Registered: May 2002
Posts: 80

Rep: Reputation: 22
XBMC 12.0 (Frodo) and Slackware 14


Just for informational purposes --the new XBMC release of version 12.0 Frodo seems to build just fine on Slack 14 using the slackbuild for XBMC version 11.0

Other than the usual boatload of dependencies for XBMC, the only peculiarity is that taglib 1.8 is required rather than the 1.7.2 that is in slackware-current. But this is easily built from the taglib slackbuild ftp://ftp.slackware.com/pub/slackwar...lib.SlackBuild combined with the taglib version 1.8 source from http://taglib.github.com/

Once taglib is upgraded to 1.8, building XBMC 12 is smooth sailing.
 
Old 02-02-2013, 04:31 PM   #2
bosth
Member
 
Registered: Apr 2011
Posts: 219

Rep: Reputation: 62
One further note: the necessary taglib code actually ships with the XBMC sources, but the Makefile requires a bit of tweaking to work on Slackware, so if the SlackBuild works, I'd recommend using it.
 
Old 02-02-2013, 11:18 PM   #3
larryhaja
Member
 
Registered: Jul 2008
Distribution: Slackware 13.1
Posts: 291

Rep: Reputation: 75
Quote:
Originally Posted by croxen View Post
Just for informational purposes --the new XBMC release of version 12.0 Frodo seems to build just fine on Slack 14 using the slackbuild for XBMC version 11.0

Other than the usual boatload of dependencies for XBMC, the only peculiarity is that taglib 1.8 is required rather than the 1.7.2 that is in slackware-current. But this is easily built from the taglib slackbuild
Yes, taglib >= 1.8 is required for the newer XBMC. I have been working on the new xbmc.SlackBuild since pre-beta stage, so I've had time to work on it. Instead of upgrading the taglib supplied with Slackware 14.0, I build a static taglib into the xbmc.bin file. So far it has worked as expected and should be accepted by SBo.

Quote:
Originally Posted by bosth View Post
One further note: the necessary taglib code actually ships with the XBMC sources, but the Makefile requires a bit of tweaking to work on Slackware, so if the SlackBuild works, I'd recommend using it.
Incorrect. The XBMC source release comes with a Makefile that downloads taglib and builds it for you. My new xbmc.SlackBuild does something similar but doesn't require anything supplied by the xbmc source release.

I'm finishing up the xbmc.SlackBuild today but it won't be uploaded to SBo for another week. Still need to test it and make sure all dependencies/optional dependencies are accounted for.
 
Old 02-03-2013, 03:25 AM   #4
bosth
Member
 
Registered: Apr 2011
Posts: 219

Rep: Reputation: 62
Quote:
The XBMC source release comes with a Makefile that downloads taglib and builds it for you.
And the Makefile won't work on Slackware without some tweaking, so if the taglib SlackBuild works, I'd recommend using it.
 
Old 02-03-2013, 09:55 AM   #5
larryhaja
Member
 
Registered: Jul 2008
Distribution: Slackware 13.1
Posts: 291

Rep: Reputation: 75
Quote:
Originally Posted by bosth View Post
And the Makefile won't work on Slackware without some tweaking, so if the taglib SlackBuild works, I'd recommend using it.
Makefile works fine here without tweaking.
 
Old 02-03-2013, 11:56 AM   #6
bosth
Member
 
Registered: Apr 2011
Posts: 219

Rep: Reputation: 62
Quote:
Originally Posted by larryhaja View Post
Makefile works fine here without tweaking.
Headers/bin are installed to the wrong dir as are libs under Slacware64. The Makefile needs to be edited to fix these.
 
Old 02-06-2013, 11:37 AM   #7
mattallmill
Member
 
Registered: Nov 2009
Location: Salina,Kansas
Distribution: Slackware64-current
Posts: 192

Rep: Reputation: 30
Quote:
Originally Posted by croxen View Post
Other than the usual boatload of dependencies for XBMC, the only peculiarity is that taglib 1.8 is required rather than the 1.7.2 that is in slackware-current.
I updated taglib as noted. However, now the Slackbuild is complaining that jre is missing. I have openjdk-7u11 installed. What do I need to do for the Slackbuild to see java? Or do I actually have to install jre?
 
Old 02-06-2013, 12:15 PM   #8
bosth
Member
 
Registered: Apr 2011
Posts: 219

Rep: Reputation: 62
Quote:
Originally Posted by mattallmill View Post
I updated taglib as noted. However, now the Slackbuild is complaining that jre is missing. I have openjdk-7u11 installed. What do I need to do for the Slackbuild to see java? Or do I actually have to install jre?
If you are running current, taglib 1.8 made it in today.
 
Old 02-06-2013, 06:06 PM   #9
croxen
Member
 
Registered: May 2002
Posts: 80

Original Poster
Rep: Reputation: 22
Quote:
Originally Posted by mattallmill View Post
I updated taglib as noted. However, now the Slackbuild is complaining that jre is missing. I have openjdk-7u11 installed. What do I need to do for the Slackbuild to see java? Or do I actually have to install jre?
It seems that sometimes the binaries java, javac, and jar end up under /usr/lib/java/bin/jar/ instead of under /usr/bin/ where everything expects to find them. If this has happened, try symlinking (don't copy) java, javac, and jar into /usr/bin/ and see whether this fixes everything.
 
Old 02-07-2013, 04:27 AM   #10
SavoTU
Member
 
Registered: Apr 2005
Distribution: Slackware64 Current
Posts: 149

Rep: Reputation: 22
run as su - and it should work ok, i had the same problem yesterday with my own slackbuild.
 
Old 02-07-2013, 09:05 AM   #11
mattallmill
Member
 
Registered: Nov 2009
Location: Salina,Kansas
Distribution: Slackware64-current
Posts: 192

Rep: Reputation: 30
Quote:
Originally Posted by croxen View Post
It seems that sometimes the binaries java, javac, and jar end up under /usr/lib/java/bin/jar/ instead of under /usr/bin/ where everything expects to find them. If this has happened, try symlinking (don't copy) java, javac, and jar into /usr/bin/ and see whether this fixes everything.
Thanks croxen. Looks like it was a problem with symlinking. I had a suspicion it might turn out to be that. XBMC is building as I type this. Thanks for the tip.
 
Old 02-07-2013, 09:11 AM   #12
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,410

Rep: Reputation: 853Reputation: 853Reputation: 853Reputation: 853Reputation: 853Reputation: 853Reputation: 853
I think the problem is that you haven't logout/rebooted after installing openjdk: that installs a file (actually, as usual, there's also one for csh-like shells) that sets the correct paths, /etc/profile.d/openjdk.sh, sourced in your profile when you login.

Last edited by ponce; 02-07-2013 at 09:13 AM.
 
Old 02-07-2013, 10:08 AM   #13
mattallmill
Member
 
Registered: Nov 2009
Location: Salina,Kansas
Distribution: Slackware64-current
Posts: 192

Rep: Reputation: 30
XBMC crashed on startup!

Well, XBMC built fine, but now it won't start. When I start it from the command line, I get this:

Code:
ERROR: Unable to create GUI. Exiting
/usr/bin/xbmc: line 137: 52617 Segmentation fault      "$LIBDIR/xbmc/xbmc.bin" $SAVED_ARGS
which: no lsb_release in (/usr/local/bin:/usr/bin:/bin:/usr/games:/usr/lib64/java/bin:/usr/lib64/java/jre/bin:/usr/lib64/kde4/libexec:/usr/lib64/qt/bin:/usr/share/texmf/bin:.)
A more detailed crash log is appended below.

This error message is totally out of my depth. Anyone have any ideas on how to fix this? It would be much appreciated. Thank you.
Attached Files
File Type: log xbmc_crashlog-20130207_092507.log (7.7 KB, 7 views)
 
Old 02-08-2013, 08:19 AM   #14
croxen
Member
 
Registered: May 2002
Posts: 80

Original Poster
Rep: Reputation: 22
Quote:
Originally Posted by mattallmill View Post
Well, XBMC built fine, but now it won't start. When I start it from the command line, I get this:

Code:
ERROR: Unable to create GUI. Exiting
/usr/bin/xbmc: line 137: 52617 Segmentation fault      "$LIBDIR/xbmc/xbmc.bin" $SAVED_ARGS
which: no lsb_release in (/usr/local/bin:/usr/bin:/bin:/usr/games:/usr/lib64/java/bin:/usr/lib64/java/jre/bin:/usr/lib64/kde4/libexec:/usr/lib64/qt/bin:/usr/share/texmf/bin:.)
A more detailed crash log is appended below.

This error message is totally out of my depth. Anyone have any ideas on how to fix this? It would be much appreciated. Thank you.
The final error in the crashlog is "Unable to init rendering system" which (is in my limited understanding of it) tends to indicate some sort of problem with the video driver being used or a lack of hardware acceleration with the video driver in use. If your card is NVidia, are you using the proprietary driver?
 
Old 02-08-2013, 12:10 PM   #15
mattallmill
Member
 
Registered: Nov 2009
Location: Salina,Kansas
Distribution: Slackware64-current
Posts: 192

Rep: Reputation: 30
Quote:
Originally Posted by croxen View Post
The final error in the crashlog is "Unable to init rendering system" which (is in my limited understanding of it) tends to indicate some sort of problem with the video driver being used or a lack of hardware acceleration with the video driver in use. If your card is NVidia, are you using the proprietary driver?
I have the AMD 7660G, and I am using the proprietary drivers. As an aside,is the open-source Radeon driver good enough for the games that I would play, such as Quake I (using the darkplaces engine and rygel's texturepack), and UT2004,in your opinion?

---------- Post added 02-08-13 at 12:11 PM ----------

Oh yeah, I forgot to mention that I am running the 3.7.1 kernel. Sorry about that
 
  


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
Building xbmc on Slackware 14 Woodsman Slackware 1 09-10-2012 10:10 PM
Using XBMC 10.0 slackbuild to compile XBMC 11.0 almost works farmerdave Slackware 20 06-11-2012 01:05 PM
PS3 Media Server on Slackware (and advice on XBMC) spudgunner Slackware 6 01-31-2012 07:32 AM
need xbmc svn slackware packages kite Slackware 3 10-06-2009 08:54 PM
frodo - What is is Bobby P Linux - Newbie 2 03-03-2007 01:08 PM


All times are GMT -5. The time now is 08:50 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration