Using XBMC 10.0 slackbuild to compile XBMC 11.0 almost works
I began with this Slackbuild for XBMC 10.0 on Slackware 13.37.
I have Slackware 13.37 installed and wanted to try and install XBMC 11.0. I took a chance it would be a simple swap, changing xbmc.info to point to the correct download and correct md5sum on the XBMC source download, change the version numbers and try compiling. I also commented out the patch in the Slackbuild, because it is a check for a non-sse2-cpu, unnecessary for me. The first error that resulted was relatively simple to fix. It seemed to be a dependency on yajl, so I used the Slackbuild available for this and that problem was solved. It compiled for a long time, but then gave this error. Code:
xbmc/cores/dvdplayer/DVDCodecs/Audio/Audio.a(DVDAudioCodecPassthroughFFmpeg.o): In function `DllAvFormat::av_read_frame_flush(AVFormatContext*)': Code:
diff -Nur xbmc-10.00.orig/xbmc/cores/dvdplayer/DVDDemuxers/DVDDemuxFFmpeg.cpp xbmc-10.00.orig/xbmc/cores/dvdplayer/DVDDemuxers/DVDDemuxFFmpeg.cpp |
As I understand it uses `av_read_frame_flush' libavformat which comes with FFmpeg so if you first install FFmpeg it should work.
|
I already have installed FFmpeg from Slackbuilds. In order to compile FFmpeg I needed to have tetex or texlive installed, and so I installed texlive from Slackbuilds, however to get it to compile I needed to modify the Slackbuild to have "--disable-xindy".
To clarify, I firstly installed libmpeg2, faad2, libmodplug, libmms and enca as these are direct dependencies. From the optional ones, I installed vobcopy, lirc, faac, libdvdcss, libssh, libvdpau, libass, libva, avahi, ffmpeg, libdca (aka libdts), a52dec (aka liba52). I then compiled XBMC using the "EXT_ALL=yes|no (Default is no), turns on all of the above options" option from the Slackbuild (same as ffmpeg=yes, a52dec=yes, dts=yes). I wasn't sure about installing lirc, as I have previously run XBMC on Arch Linux, and now that mceusb is in the kernel installing lirc would break the remote control that I was using (it essentially worked out of the box with the right conf file). |
I also have tried to build XBMC from slackbuilds(exact version as in slackbuild was written for) some time ago(a few months) and also had such problems(some of subcomponents are unbuildable or not-compatible). After few weeks I tried to rebuild - old problems disappeared and new, very similar, appeared. I think this problems will persist for a long time, until component developers stop play games instead of maintaining their components.
|
I have been working on an update to XBMC. Although it is slow going for me, due to job, school, and life, I do have a working xbmc.SlackBuild. The new required dependencies are libass, libmpeg2, libmodplug and yajl.
I should have a new update submitted to SBo by end of this weekend. Most of the kinks are worked out and I believe it will be ready by then. |
You could try adding --disable-external-ffmpg to the configure options, That should cause xbmc to use it own
internal version of ffmpeg. |
Quote:
|
Quote:
|
XBMC 11.0 can be compiled using the version 10.0 Slackbuild if you use the internal ffmpeg. I specified the flags
Code:
OPT_DEPS="--enable-external-python --enable-external-liba52 --enable-external-libdts" Code:
make: *** No rule to make target `install-livedatas'. Stop. Code:
make install install-livedatas DESTDIR=$PKG Code:
make install DESTDIR=$PKG |
I have a package from http://slaxbmc.blogspot.com/ which has some quirks but works reasonably.
|
Man, I have been keeping my little build script up to date while following the svn (and then git) versions as it progressed from 10 to 10.1 and then onto 11. I have a working script, but it is at home, and I am at work. Once I get home, I will try to remember to go and post it (definitely not slackbuild quality yet, and it only does the build, not creating the package... that is in a separate script -- I guess I like to make things interesting). And I installed all the required and optional dependencies that were required with v10 (other than the ones not available through slackbuilds... came down to laziness), and I think the only additional one I added was the yajl. There are a couple of minor things I have in the build script that fixed my build issues (I believe I never had to specify to use the internal ffmpeg).
Anyway, here's to hoping that I can remember to post it when I get home. Eden has been running great on my machine (and NFS is sooooo much better than samba over wireless - I can now stream 1080p content without any issues... I could never pull that off with samba). |
New build of xbmc 11.0 has been submitted to SBo.
|
Quote:
|
For those who are interested in a quick and dirty compile while waiting for his new script to get approved, here is what my current script is.
Code:
rm -rf xbmc-11.0 |
Quote:
|
Quote:
|
I've noticed that some of the rtmpdump-dependant addons for XBMC 11.0 have been written for rtmpdump-2.4 rather than 2.3 (the unofficial Hulu and Free Cable addons in particular). These addons won't run unless rtmpdump is upgraded, or rather will run, but won't retrieve content.
There's no slackbuild yet for rtmpdump 2.4. And 2.4 source hasn't been placed yet in the archive at http://rtmpdump.mplayerhq.hu/download/ but current code apparently needs to be gotten with a git pull. So for XBMC functionality with these addons requiring rtmpdump-2.4, it appears that the slackbuild compile of rtmpdump needs to be upgraded with current 2.4 source, or the slackbuild rtmpdump package can be upgraded with the rtmpdump-2.4 package provided by the SlaXBMC project, which was the course I took and it seems to run fine. http://slaxbmc.blogspot.com/2012/01/...de-beta-1.html If any version of rtmpdump was installed prior to the XBMC slackbuild having been run, then simply upgrading rtmpdump to 2.4 is sufficient. But if no version of rtmpdump was installed at the time when the slackbuild script for XBMC 11.0 was initially run, then the script will need to be run again after rtmpdump-2.4 is installed to enable 2.4 support in the compiled xbmc package. |
Followed this thread and downloaded/installed the latest, but getting this error when starting:-
Quote:
Code:
glxinfo Thanks |
I don't use XBMC so I wasn't aware of its dependency to rtmpdump from git (there's no 2.4 release, as you can see on its site).
Said that, I already have available a build script for it and I'm using here on -current with no problems http://cgit.ponce.cc/slackbuilds/log/?h=rtmpdump If there are no objections, I'll submit it to slackbuilds.org. |
As a side note I got PLEX working ok in current slack32 vbox vm, serves up content to roku.
I think I just installed their download and didn't have to do any dependency. I'm interested in XBMC too, I'm going to give it a try. |
Got this working here. My issues were surrounding the ati drivers. Uninstall and reinstall did the trick.
Just getting to grips now with this new version having been used to the previous one. Not spotted much difference so far. Just got to get album thumbnails working now. |
All times are GMT -5. The time now is 10:13 AM. |