LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   XBMC 12.0 (Frodo) and Slackware 14 (http://www.linuxquestions.org/questions/slackware-14/xbmc-12-0-frodo-and-slackware-14-a-4175448365/)

croxen 02-02-2013 01:29 PM

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.

bosth 02-02-2013 04:31 PM

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.

larryhaja 02-02-2013 11:18 PM

Quote:

Originally Posted by croxen (Post 4883169)
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 (Post 4883254)
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.

bosth 02-03-2013 03:25 AM

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.

larryhaja 02-03-2013 09:55 AM

Quote:

Originally Posted by bosth (Post 4883467)
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.

bosth 02-03-2013 11:56 AM

Quote:

Originally Posted by larryhaja (Post 4883611)
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.

mattallmill 02-06-2013 11:37 AM

Quote:

Originally Posted by croxen (Post 4883169)
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?

bosth 02-06-2013 12:15 PM

Quote:

Originally Posted by mattallmill (Post 4885664)
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.

croxen 02-06-2013 06:06 PM

Quote:

Originally Posted by mattallmill (Post 4885664)
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.

SavoTU 02-07-2013 04:27 AM

run as su - and it should work ok, i had the same problem yesterday with my own slackbuild.

mattallmill 02-07-2013 09:05 AM

Quote:

Originally Posted by croxen (Post 4885878)
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.

ponce 02-07-2013 09:11 AM

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.

mattallmill 02-07-2013 10:08 AM

XBMC crashed on startup!
 
1 Attachment(s)
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.

croxen 02-08-2013 08:19 AM

Quote:

Originally Posted by mattallmill (Post 4886324)
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?

mattallmill 02-08-2013 12:10 PM

Quote:

Originally Posted by croxen (Post 4887023)
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 :(


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