You are not logged in.
I also have a lot of problems and I can't compile at all any version of svn or official xbmc builds with yaourt. Sistem just stops or gives-me compiling segmentation faults. Tryed everything. My mediacenter doesn't work now
Using -march=pentium4 -O2 -pipe -fomit-frame-pointer flags on i686 p4 2.53ghz pc (sse2), 768mb ram with arch linux updated with testing repo.
2 months ago the xbmc build when just fine, but i ran it in a older pc without custom cflags and with other packages in system of course.
edit: Build stops at checking mktime and freezes pc if I take too long to cancel building process (uses all ram)
edit2: gives me a segmentation fault while building guilastfm now... clean install. its the 15th format no this pc this week!!!!
Last edited by TigTex (2009-03-07 23:04:22)
.::. TigTex @ Portugal .::.
Offline
... and if I tell you that all my xbmc problems and instability was caused by a bad ram module?....
Well, it's true, I replaced the ram module after finding the problem and now everything works just fine ^^
I've tested a lot of distros, arch is the best, no doubt!
.::. TigTex @ Portugal .::.
Offline
zeq, any chance of getting updated builds? Somehow Paplayer doesn't work when I build it myself, and I need a revision >=17889 for my remote with lirc..
Offline
Mots: If you have an nvdidia card, have a look at AUR and xbmc-vdpau which is basically the official linuxport patched to benefit from nVidia's VDPAU video acceleration API. VDPAU does not have to be supported by your card, just nvidia-beta has to be installed to include the necessary libs.
Offline
Oh damn, I built my HTPC a few months ago when that branch wasn't available :< Let's hope they make a XvBA version as well...
EDIT: If anybody got a recent build, please share! I'm currently not able to use my xbmc as I have no means of controlling it :<
Last edited by mots (2009-03-16 18:48:15)
Offline
I got one here for x86_64, r18601, built with -march=k8-sse3, so you need at least some Athlon X2 or better for this. Will this do?
Offline
Well, I have a Athlon X2 4850EE, but 32-bit Arch, so I guess no?
Offline
Nope. I got the same cpu, but on x86_64. Here's the PKGBUILD, if you're familiar with makepkg it should be no problem to build it: http://sprunge.us/cJbR
You need to download xbmc-vdpau.install from AUR/xbmc-vdpau, rename it to xbmc-svn.install
You also need xbmc-libfaad2-configure.patch from the xbmc-vdpau PKGBUILD.
Good luck!
Offline
Wow, thanks, it worked
Why don't you submit this to AUR?
Offline
Because i'm not the maintainer of xbmc-svn but xbmc-vdpau I posted it into the comments though.
Offline
Then ask the current maintainer to update his pkgbuild or to orphan it
Offline
It got updated end of january, so it does not look like an orphan :-) But if he reads this, i'm offering to maintain the build as updating nearly the same PKGBUILDS won't be too much work extra.
Offline
Hey, any idea why projectM doesn't find any presets? I even put the ones from the old pkg to /opt/xbmc-svn/share/visualisations/, but still nothing :<
Offline
Which version are you running? Currently there's so much flux going on with xbmc that it's difficult to keep up with the dev's commiting into svn As for me, i switched back to the official linuxport as vdpau got merged into that branch and feature freeze for 9.04 has begun. Currently i'm running svn version r19054 without problems, though i had to delete my ~/.xbmc folder and start from scratch after the switch.
Offline
it just wont compile for me even using your pkgbuild haggy it just errors out with:
goomsl_yacc.y: In function 'gsl_declare_global_variable':
goomsl_yacc.y:1186: error: 'FLOAT_TK' undeclared (first use in this function)
goomsl_yacc.y:1186: error: (Each undeclared identifier is reported only once
goomsl_yacc.y:1186: error: for each function it appears in.)
goomsl_yacc.y:1187: error: 'INT_TK' undeclared (first use in this function)
goomsl_yacc.y:1188: error: 'PTR_TK' undeclared (first use in this function)
make[3]: *** [goomsl_yacc.lo] Error 1
make[3]: Leaving directory `/home/jesper/Builds/xbmc-svn/src/XBMC-build/xbmc/visualizations/Goom/goom2k4-0/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/jesper/Builds/xbmc-svn/src/XBMC-build/xbmc/visualizations/Goom/goom2k4-0'
make[1]: *** [goom2k4-0/src/.libs/libgoom2.a] Error 2
make[1]: Leaving directory `/home/jesper/Builds/xbmc-svn/src/XBMC-build/xbmc/visualizations/Goom'
make: *** [visualizations] Error 2
dovie andi se tovya sagain
Offline
Is this on x86_64? I had those goom issues as well, but they got fixed after running 'aclocal' and './autogen.sh --enable-static --with-pic' in the goom2k4-0 directory. Try this PKGBUILD, it compiles fine for me. It uses the normal xbmc-linuxport branch for -r19054, but i'm nearly sure you can push the number for pkgrev to the current 19100.
pkgname=xbmc-linuxport
pkgver=19054
pkgrel=1
pkgdesc="XBMC Media Center"
arch=('i686' 'x86_64')
url="http://xbmc.org"
license=('GPL' 'custom')
depends=('alsa-lib' 'curl' 'enca' 'faac' 'freetype2' 'fribidi' 'gawk' 'glew' \
'hal' 'jasper' 'libgl' 'libjpeg>=6b-5' 'libmad' 'libmysqlclient' \
'libxinerama' 'libxrandr' 'lzo2' 'sdl_image' 'sdl_mixer' 'sqlite3' \
'tre' 'unzip' 'x-server')
makedepends=('autoconf' 'automake' 'boost' 'cmake' 'gcc' 'gperf'
'libtool>=2.2.6a-1' 'make' 'nasm' 'patch' 'pkgconfig' 'zip')
optdepends=('libcdio: optical disc support'
'lirc: remote controller support'
'pmount: mount removable devices as normal user'
'smbclient: access windows shares'
'unrar: access compressed files without unpacking them')
install=("${pkgname}.install")
source=('xbmc-libfaad2-configure.patch')
md5sums=('b6f553f4b7bb25cd21cd62ad3919c2b5')
build() {
_svntrunk=http://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/linuxport/XBMC/
_svnmod=XBMC
_prefix=/opt/xbmc-linuxport
cd ${srcdir}/
if [ -d $_svnmod/.svn ]; then
(cd $_svnmod && svn up -r $pkgver)
else
svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
fi
msg "SVN checkout done or server timeout"
msg "Starting make..."
if [ -d "$srcdir/$_svnmod-build" ]; then
rm -r "$srcdir/$_svnmod-build"
fi
cp -r "$srcdir/$_svnmod" "$srcdir/$_svnmod-build"
cd "$srcdir/$_svnmod-build"
patch -p1 -i ../xbmc-libfaad2-configure.patch
# Arch64 does not have a lib64 dir by default, so xbmc will segfault at startup
sed -e 's/lib64/lib/g' -i Makefile.include.in || return 1
cd "$srcdir/$_svnmod-build/xbmc/visualizations/Goom/goom2k4-0"
aclocal
./autogen.sh --enable-static --with-pic
cd "$srcdir/$_svnmod-build/xbmc/cores/dvdplayer/Codecs/libfaad2"
libtoolize
cd "$srcdir/$_svnmod-build/xbmc/cores/dvdplayer/Codecs/libdvdnav"
autoreconf -vif
cd "$srcdir/$_svnmod-build/xbmc/lib/libass"
autoreconf -vif
#aclocal
#libtoolize
#libtoolize --force --copy
#cp /usr/bin/libtool .
cd "$srcdir/$_svnmod-build"
# Remove Mac OS X specific files
rm -rf system/python/lib-osx/
rm system/players/dvdplayer/*-osx*
# Fix permissions for the configure scripts
find -type f -name "configure"|xargs chmod a+x || return 1
# Fix other permissions
find -type f -name "*.pl"|xargs chmod a+x || return 1
# Make it gcc 4.3.x compatible
sed '92i#include <stdlib.h>' -i guilib/system.h || return 1
# Make sure to support C++ source code files (thanks gentoo ebuild!)
for file in `find . -name configure.ac`; do
echo 'AC_PROG_CXX' >> "${file}"
done
# Use the libtool script from 2.2.6a to fix some problems with the supplied one
cp /usr/share/libtool/config/ltmain.sh \
${srcdir}/$_svnmod-build/xbmc/cores/dvdplayer/Codecs/libdvdnav/ltmain.sh || return 1
cp /usr/share/libtool/config/ltmain.sh \
${srcdir}/$_svnmod-build/xbmc/lib/libass/ltmain.sh || return 1
# Configure XBMC
./configure --prefix=${_prefix} \
--disable-debug || return 1
make distclean
libtoolize --force --copy
./configure --prefix=${_prefix} \
--disable-debug || return 1
# Fix false negative detections of realloc that happens some times
if grep -q 'HAVE_REALLOC 0' config.h; then
sed -e 's|#define HAVE_REALLOC 0|#define HAVE_REALLOC 1|' \
-e 's|#define realloc rpl_realloc|/* #define realloc rpl_realloc */|' \
-i config.h || return 1
fi
# XBMCTex will segfault on systems with nvidia instaleld if linked to OpenGL
sed -e 's/-lGLU -lGLEW -lGL//' \
-i ${srcdir}/$_svnmod-build/tools/XBMCTex/Makefile
# Now (finally) build
unset MAKEFLAGS
make || return 1
make prefix=${pkgdir}${_prefix} install || return 1
# Fix the shell script
sed -i '4iexport SDL_AUDIODRIVER=alsa' ${pkgdir}${_prefix}/bin/xbmc
# Xrandr
install -Dm755 ${srcdir}/$_svnmod-build/xbmc-xrandr \
${pkgdir}${_prefix}/share/xbmc/xbmc-xrandr || return 1
# Menu item
install -Dm644 ${srcdir}/$_svnmod-build/tools/Linux/xbmc.desktop \
${pkgdir}${_prefix}/share/applications/xbmc.desktop || return 1
install -Dm644 ${srcdir}/$_svnmod-build/tools/Linux/xbmc.png \
${pkgdir}${_prefix}/share/pixmaps/xbmc.png || return 1
# XBMCTex
install -Dm755 ${srcdir}/$_svnmod-build/tools/XBMCTex/XBMCTex \
${pkgdir}${_prefix}/share/xbmc/tools/xbmctex || return 1
# License(s)
install -dm755 ${pkgdir}${_prefix}/share/licenses/${pkgname}
for licensef in LICENSE.GPL README.linux copying.txt; do
mv ${pkgdir}${_prefix}/share/xbmc/${licensef} \
${pkgdir}${_prefix}/share/licenses/${pkgname} || return 1
done
}
Offline
Anyone else having problems with libfaad2? My build has been failing the last couple of days because of this.
This is the output I'm getting:
make -C libfaad2
make[2]: Entering directory `/home/aewne/builds/xbmc-svn/src/XBMC/XBMC-build/xbmc/cores/dvdplayer/Codecs/libfaad2'
cd . && /bin/sh /home/aewne/builds/xbmc-svn/src/XBMC/XBMC-build/xbmc/cores/dvdplayer/Codecs/libfaad2/missing --run aclocal-1.10
cd . && /bin/sh /home/aewne/builds/xbmc-svn/src/XBMC/XBMC-build/xbmc/cores/dvdplayer/Codecs/libfaad2/missing --run automake-1.10 --gnu
/usr/share/automake-1.10/am/depend2.am: am__fastdepCXX does not appear in AM_CONDITIONAL
/usr/share/automake-1.10/am/depend2.am: The usual way to define `am__fastdepCXX' is to add `AC_PROG_CXX'
/usr/share/automake-1.10/am/depend2.am: to `configure.in' and run `aclocal' and `autoconf' again.
plugins/mpeg4ip/Makefile.am: C++ source seen but `CXX' is undefined
plugins/mpeg4ip/Makefile.am: The usual way to define `CXX' is to add `AC_PROG_CXX'
plugins/mpeg4ip/Makefile.am: to `configure.in' and run `autoconf' again.
make[2]: *** [Makefile.in] Error 1
make[2]: Leaving directory `/home/aewne/builds/xbmc-svn/src/XBMC/XBMC-build/xbmc/cores/dvdplayer/Codecs/libfaad2'
make[1]: *** [libfaad2] Error 2
make[1]: Leaving directory `/home/aewne/builds/xbmc-svn/src/XBMC/XBMC-build/xbmc/cores/dvdplayer/Codecs'
make: *** [dvdpcodecs] Error 2
==> ERROR: Build Failed.
Using haggy's PKGBUILD from the previous post. Neither this one or the xbmc-svn package from AUR seem to want to build right. Any pointers? Thanks.
Offline
Yeah, you need to do this:
cd "$srcdir/$_svnmod-build/xbmc/cores/dvdplayer/Codecs/libfaad2"
sed '19iAC_PROG_CXX' -i ./configure.in || return 1
libtoolize
autoreconf -vif
Offline
Currently there are other issues with xbmc segfaulting at startup after taking 100% cpu for ~ a minute. Reason is the recent upgrade of libcdio to 0.81 and xbmc recent patch to use the system's libcdio instead of the built in one (since ~18800 IIRC). Xbmc's devs are already on it but it may take a while because main release platform is ubuntu and they are still at 0.78. A temporary solution is either downgrading libcdio to 0.80 (check the mirrors/package cache).
Meanwhile, here'a another PKGBUILD:
# Contributor: Ralf Barth <archlinux dot org at haggy dot org>
# Contributor: Richard Atkinson atkinsonr-at-gmail
# Original credits go to Edgar Hucek <gimli at dark-green dot com>
# for his xbmc-vdpau-vdr PKGBUILD at https://archvdr.svn.sourceforge.net/svnroot/archvdr/trunk/archvdr
pkgname=xbmc-linuxport
pkgver=19409
pkgrel=1
pkgdesc="XBMC Media Center"
arch=('i686' 'x86_64')
url="http://xbmc.org"
license=('GPL' 'custom')
depends=('alsa-lib' 'curl' 'enca' 'faac' 'freetype2' 'fribidi' 'gawk' 'glew' \
'hal' 'jasper' 'libgl' 'libjpeg>=6b-5' 'libmad' 'libmysqlclient' \
'libxinerama' 'libxrandr' 'lzo2' 'sdl_image' 'sdl_mixer' 'sqlite3' \
'tre' 'unzip' 'x-server')
makedepends=('autoconf' 'automake' 'boost' 'cmake' 'gcc' 'gperf'
'libtool>=2.2.6a-1' 'make' 'nasm' 'patch' 'pkgconfig' 'zip')
optdepends=('libcdio: optical disc support'
'lirc: remote controller support'
'pmount: mount removable devices as normal user'
'smbclient: access windows shares'
'unrar: access compressed files without unpacking them')
install=("${pkgname}.install")
source=()
md5sums=()
build() {
_svntrunk=http://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/linuxport/XBMC/
_svnmod=XBMC
_prefix=/opt/xbmc-linuxport
cd ${srcdir}/
if [ -d $_svnmod/.svn ]; then
(cd $_svnmod && svn up -r $pkgver)
else
svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
fi
msg "SVN checkout done or server timeout"
msg "Starting make..."
if [ -d "$srcdir/$_svnmod-build" ]; then
rm -r "$srcdir/$_svnmod-build"
fi
cp -r "$srcdir/$_svnmod" "$srcdir/$_svnmod-build"
cd "$srcdir/$_svnmod-build"
# Arch64 does not have a lib64 dir by default, so xbmc will segfault at startup
sed -e 's/lib64/lib/g' -i Makefile.include.in || return 1
cd "$srcdir/$_svnmod-build/xbmc/visualizations/Goom/goom2k4-0"
aclocal
./autogen.sh --enable-static --with-pic
cd "$srcdir/$_svnmod-build/xbmc/cores/dvdplayer/Codecs/libfaad2"
sed '19iAC_PROG_CXX' -i ./configure.in || return 1
libtoolize
autoreconf -vif
cd "$srcdir/$_svnmod-build/xbmc/cores/dvdplayer/Codecs/libDVDCSS"
autoreconf -vif
cd "$srcdir/$_svnmod-build/xbmc/cores/dvdplayer/Codecs/libdvd/libdvdcss"
autoreconf -vif
cd "$srcdir/$_svnmod-build/xbmc/cores/dvdplayer/Codecs/libdvdnav"
autoreconf -vif
cd "$srcdir/$_svnmod-build/xbmc/lib/libass"
autoreconf -vif
cd "$srcdir/$_svnmod-build"
# Remove Mac OS X specific files
rm -rf system/python/lib-osx/
rm system/players/dvdplayer/*-osx*
# Fix permissions for the configure scripts
find -type f -name "configure"|xargs chmod a+x || return 1
# Fix other permissions
find -type f -name "*.pl"|xargs chmod a+x || return 1
# Make it gcc 4.3.x compatible
sed '92i#include <stdlib.h>' -i guilib/system.h || return 1
# Make sure to support C++ source code files (thanks gentoo ebuild!)
for file in `find . -name configure.ac`; do
echo 'AC_PROG_CXX' >> "${file}"
done
# Use the libtool script from 2.2.6a to fix some problems with the supplied one
cp /usr/share/libtool/config/ltmain.sh \
${srcdir}/$_svnmod-build/xbmc/cores/dvdplayer/Codecs/libdvdnav/ltmain.sh || return 1
cp /usr/share/libtool/config/ltmain.sh \
${srcdir}/$_svnmod-build/xbmc/lib/libass/ltmain.sh || return 1
# Configure XBMC
make distclean
libtoolize --force --copy
autoconf -f
autoreconf -vif
./configure --prefix=${_prefix} \
--enable-debug || return 1
# Fix false negative detections of realloc that happens some times
if grep -q 'HAVE_REALLOC 0' config.h; then
sed -e 's|#define HAVE_REALLOC 0|#define HAVE_REALLOC 1|' \
-e 's|#define realloc rpl_realloc|/* #define realloc rpl_realloc */|' \
-i config.h || return 1
fi
# XBMCTex will segfault on systems with nvidia instaleld if linked to OpenGL
sed -e 's/-lGLU -lGLEW -lGL//' \
-i ${srcdir}/$_svnmod-build/tools/XBMCTex/Makefile
# Now (finally) build
unset MAKEFLAGS
make -j2 || return 1
make prefix=${pkgdir}${_prefix} install || return 1
# Fix the shell script
sed -i '4iexport SDL_AUDIODRIVER=alsa' ${pkgdir}${_prefix}/bin/xbmc
# Xrandr
install -Dm755 ${srcdir}/$_svnmod-build/xbmc-xrandr \
${pkgdir}${_prefix}/share/xbmc/xbmc-xrandr || return 1
# Menu item
install -Dm644 ${srcdir}/$_svnmod-build/tools/Linux/xbmc.desktop \
${pkgdir}${_prefix}/share/applications/xbmc.desktop || return 1
install -Dm644 ${srcdir}/$_svnmod-build/tools/Linux/xbmc.png \
${pkgdir}${_prefix}/share/pixmaps/xbmc.png || return 1
# XBMCTex
install -Dm755 ${srcdir}/$_svnmod-build/tools/XBMCTex/XBMCTex \
${pkgdir}${_prefix}/share/xbmc/tools/xbmctex || return 1
# License(s)
install -dm755 ${pkgdir}${_prefix}/share/licenses/${pkgname}
for licensef in LICENSE.GPL README.linux copying.txt; do
mv ${pkgdir}${_prefix}/share/xbmc/${licensef} \
${pkgdir}${_prefix}/share/licenses/${pkgname} || return 1
done
}
i repeat: this one works only with libcdio 0.80
Last edited by haggy (2009-04-12 08:51:28)
Offline
Hello.
I've just adopted and updated the xbmc-svn AUR. This PKGBUILD has been tested on 32bit and 64bit platforms on the very latest SVN.
The libcdio 0.81 issue described by Haggy is still a problem at the moment, but it does not affect every installation. I have one Arch machine using libcdio0.81 successfully and another one freezes on launch and then segfaults a minute or two later.
If your XBMC crashes on startup the best workaround, as Haggy says, is to downgrade libcdio to 0.80.
I have also uploaded to AUR xbmc-skin-mediastream, this works beautifully on my system but I'd appreciate any feedback from others.
Any other problems or suggestions for improvement with the packaging, please discuss them here.
Cheers
Richy
Offline
libcdio just got patched and updated to 0.81-2. the segfaults with xbmc are gone.
Offline
As a 'long' time XBMC-on-Ubuntu user I wanted to replace Ubuntu by something more minimalistic: Arch Linux.
After installing Arch Linux I tried xbmc-svn r19550 from the AUR. Compilation of this package was a walk in the park, and within two hours I had a fully working Arch Linux-XBMC combination. There is however one problem I don't seem to tackle. The playing of DVD's:
When inserting a DVD, XBMC notifies the user that a hard disc (!) has been mounted. Upon checking the DVD is indeed mounted (/media/<dvd_label>). However, there is no mentioning of the availability of a DVD on the home screen of XBMC. When trying to play the DVD via the MOVIES menu item, XBMC complains that there is no disc.
My first thought was that I didn't set the privileges right. However, when running XBMC under root it behaves exactly the same.
To check if it isn't a problem with XBMC I compiled the same release under Ubuntu Jaunty - no problems and DVD's are playable.
Any ideas maybe?
Offline
As with all issues regarding xbmc it is extremely useful if you enable debug logging, restart xbmc, repeat the issue and dump the whole debug log (found in ~/.xbmc/temp/xbmc.log) onto pastebin. then show us the url here and i'll have a look.
Offline
This isn't directly related to the AUR package so I apologize if I shouldn't be posting it here but I have another question for fellow Arch/XBMC users.
Has anyone managed to successfully get hibernation/suspend to work with xbmc/lirc?
Offline
Hmm, it should work without problems if it works in your WM of choice (or even from command line). xbmc just uses HAL to do the power management thing. For that to work you should start xbmc with the --standalone switch, and your xbmc user of course has to be in the right groups.
I use an M3N78-EM and suspending works. Unfortunately waking up the system breaks with a readonly root file system and some weird sata controller messages in dmesg. This is already known and might be fixed in later kernel versions.
/Haggy
Offline