Kodi Community Forum
XBMC openSUSE 11.0 rpms - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52)
+---- Thread: XBMC openSUSE 11.0 rpms (/showthread.php?tid=34542)

Pages: 1 2 3 4 5


- malloc - 2008-09-24

That's just great. Would you mind converting it to a human readable format and putting it up in the wiki? I can't read .spec.


- anubisg1 - 2008-09-24

well is not difficult to explain that:

that ones are building dependencies:

Code:
BuildRequires: make cmake gcc gcc-c++ boost-devel
BuildRequires: python-devel python-sqlite2 dbus-1-devel gperf gcc-fortran
BuildRequires: unzip zip unrar nasm Mesa-devel dbus-1-devel
BuildRequires: SDL-devel SDL_image-devel SDL_mixer-devel jpegint-devel
BuildRequires: audiofile-devel fontconfig-devel freetype2-devel fribidi-devel
BuildRequires: glibc-devel hal-devel glew-devel alsa-devel  libbz2-devel
BuildRequires: libstdc++-devel libexpat-devel glib2-devel libjasper-devel
BuildRequires: libjpeg-devel mad-devel libmikmod-devel libmms-devel
BuildRequires: libmysqlclient-devel libogg-devel libopenssl-devel
%if %suse_version >= 1100
BuildRequires: sqlite3-devel
%else
BuildRequires: sqlite-devel
%endif
BuildRequires: libstdc++-devel libpng-devel libtre-devel
BuildRequires: e2fsprogs-devel libvorbis-devel lzo-devel
BuildRequires: pcre-devel libenca-devel libcurl-devel
BuildRequires: zlib-devel libfaac-devel ccache xorg-x11-devel

that means that to solve all building dependencies have to type that in terminal (you must have OSS, NON-OSS and Packman repository enabled):

Code:
zypper in make cmake autoconf automake gcc gcc-c++ boost-devel python-devel python-sqlite2 dbus-1-devel gperf gcc-fortran unzip zip unrar nasm Mesa-devel dbus-1-devel SDL-devel SDL_image-devel SDL_mixer-devel jpegint-devel audiofile-devel fontconfig-devel freetype2-devel fribidi-devel glibc-devel hal-devel glew-devel alsa-devel  libbz2-devel libstdc++-devel libexpat-devel glib2-devel libjasper-devel libjpeg-devel mad-devel libmikmod-devel libmms-devel libmysqlclient-devel libogg-devel libopenssl-devel sqlite3-devel libstdc++-devel libpng-devel libtre-devel e2fsprogs-devel libvorbis-devel lzo-devel pcre-devel libenca-devel libcurl-devel zlib-devel libfaac-devel ccache xorg-x11-devel

than i apply ta patch to fix a NON UTF8 char problem: http://forum.xbmc.org/showthread.php?tid=36351

than, because of an ubuntu non standard libdirs http://forum.xbmc.org/showthread.php?tid=34527 you have to workaround like that on 64bit:

Code:
CFLAGS="-I/usr/lib64/dbus-1.0/include -I/usr/lib64/glib-2.0/include"
export CFLAGS
./configure --enable-halmount --disable-debug --prefix=/usr
CFLAGS="-I/usr/lib64/dbus-1.0/include -I/usr/lib64/glib-2.0/include" make
sudo make install

and you have done

on 32 bit instead is enought:

Code:
./configure --enable-halmount --disable-debug --prefix=/usr
make
sudo make install

all other stuffs are to create a .desktop file for menu and to remove all libs in /usr/share/xbmc/system from the rpm "provides" list not needed bye end user

btw, i'm the spec author.. for any questions... simply ask Wink


- anubisg1 - 2008-09-24

oh, btw, suse 10.3 have the standard fribidi package too old.. that's why you can find xbmc builded only on suse 11.0

if you whant to build it on suse 10.3 you have to upgrade fribidi at least to version 0.10.7

webpin show me that:

Code:
anubis@HP-Linux:~> webpin fribidi -d 10.3 -u
   6 results (4 packages) found for "fribidi" in openSUSE_103
* fribidi-64bit: Free Implementation of BiDi Algorithm
   - 0.10.4 [suse-oss]
     @ http://download.opensuse.org/distribution/10.3/repo/oss/suse
* fribidi-devel: Static Libraries and Header Files for FriBiDi
   - 0.10.4 [suse-oss]
     @ http://download.opensuse.org/distribution/10.3/repo/oss/suse
   - 0.10.9 [BS::M17N]
     @ http://download.opensuse.org/repositories/M17N/openSUSE_10.3
* fribidi: Free Implementation of BiDi Algorithm
   - 0.10.4 [suse-oss]
     @ http://download.opensuse.org/distribution/10.3/repo/oss/suse
   - 0.10.9 [BS::M17N]
     @ http://download.opensuse.org/repositories/M17N/openSUSE_10.3
* fribidi-32bit: Free Implementation of BiDi Algorithm
   - 0.10.4 [suse-oss]
     @ http://download.opensuse.org/distribution/10.3/repo/oss/suse

that means that a good fribidi version is available only on that repository:

http://download.opensuse.org/repositories/M17N/openSUSE_10.3

have fun


- anubisg1 - 2008-09-24

why i cannot editHuh Sad

btw part 2.. on suse version < 11.0 (10.3 for example)

you need package sqlite-devel instead of sqlite3-devel like you can see here:

Code:
%if %suse_version >= 1100
BuildRequires: sqlite3-devel
%else
BuildRequires: sqlite-devel
%endif



- malloc - 2008-09-24

Ok, I understand the configure/make/make install part. But I didn't understand the dependencies part even a little. Pretend I've never used SUSE (shouldn't be hard, since I haven't) and try again.


- anubisg1 - 2008-09-24

well "zypper in" is the same of "apt-get install"

they are ALL dependencies needed bye xbmc configure to end with no errors n a FULLY CLEAN system. the list may be reduced because some packages dependes each others (i.e. SDL-devel is a dependency of SDL_mixer-devel that means that is enougth to install SDL_mixer-devel to install both)

what did you exactly not understand?


- anubisg1 - 2008-10-04

malloc Wrote:Any chance you could contribute instructions to the wiki for how to build for OpenSUSE? This would include package dependencies as well as the commands executed.


i would like to do that.. but looks i have no rights to edit pages.


- malloc - 2008-10-04

message pike. ask for ninja status.


- anubisg1 - 2008-10-11

http://wiki.xbmc.org/?title=Install_XBMC_on_openSUSE

Big GrinBig GrinBig Grin


- topfs2 - 2008-10-11

Wonderfull, thank you alot!


- eXPoser - 2009-04-12

Wtf Laugh

Thank you for you tutorial so far anubisg1 Smile

Until this step -
Code:
$ cd $HOME/XBMC
$ CFLAGS="-I/usr/lib64/dbus-1.0/include -I/usr/lib64/glib-2.0/include"
$ export CFLAGS
$ ./configure --enable-halmount --disable-debug --prefix=/usr
everything works.

But as I try
Code:
CFLAGS="-I/usr/lib64/dbus-1.0/include -I/usr/lib64/glib-2.0/include" make

It starts to create the files but then I get an error with the dbus :/
http://pastebin.com/f65bbac39
Sad

( Using Opensuse 11.1 )


Seems that "/usr/include/dbus-1.0/dbus/dbus.h:29:33: error: dbus/dbus-arch-deps.h: Datei oder Verzeichnis nicht gefunden "

dbus-arch-deps.h is missing. So I have to install a missing package :>

Edit : "ln -s /usr/lib64/dbus-1.0/include/dbus/dbus-arch-deps.h /usr/include/dbus-1.0/dbus" seems to help ... still compiling


- anubisg1 - 2009-04-12

eXPoser Wrote:Wtf Laugh

Thank you for you tutorial so far anubisg1 Smile

Until this step -
Code:
$ cd $HOME/XBMC
$ CFLAGS="-I/usr/lib64/dbus-1.0/include -I/usr/lib64/glib-2.0/include"
$ export CFLAGS
$ ./configure --enable-halmount --disable-debug --prefix=/usr
everything works.

But as I try
Code:
CFLAGS="-I/usr/lib64/dbus-1.0/include -I/usr/lib64/glib-2.0/include" make

It starts to create the files but then I get an error with the dbus :/
http://pastebin.com/f65bbac39
Sad

( Using Opensuse 11.1 )


Seems that "/usr/include/dbus-1.0/dbus/dbus.h:29:33: error: dbus/dbus-arch-deps.h: Datei oder Verzeichnis nicht gefunden "

dbus-arch-deps.h is missing. So I have to install a missing package :>

is dbus-1-devel installed?

that missing file is here:

anubis@suse-netbook:~> locate dbus-arch-deps.h
/usr/lib/dbus-1.0/include/dbus/dbus-arch-deps.h

(lib64 if x86_64)


- eXPoser - 2009-04-13

Thanks for the fast answer Smile
It worked after fixing the problem with "ln -s /usr/lib64/dbus-1.0/include/dbus/dbus-arch-deps.h /usr/include/dbus-1.0/dbus"

Compiled 100% and installed easily after this Nod


- anubisg1 - 2009-04-13

eXPoser Wrote:Thanks for the fast answer Smile
It worked after fixing the problem with "ln -s /usr/lib64/dbus-1.0/include/dbus/dbus-arch-deps.h /usr/include/dbus-1.0/dbus"

Compiled 100% and installed easily after this Nod

you should not made that symlink, but is a good workaround now, i'll take care about when 9.04 will be available upgrading packman package. thanks for the hint


- wojak - 2010-01-08

Hi,
When It will be possible to install xbmc 9.11 for opensuse 11.0 from packman repo?
Regards.