[SOLVED] Help building XBMC eden-pre

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

[SOLVED] Help building XBMC eden-pre

Postby zeke » Jan 25th, '12, 21:26

Can anyone help me build XBMC 11.0?

I am trying to follow instructions here:
http://wiki.xbmc.org/index.php?title=HO ... ource_code

I have the current version from git.

$git pull <---returns 'Already up to date'
$make clean
make: *** No rule to make target `clean'. Stop.
Also,
$ ./bootstrap
./bootstrap: line 5: autoreconf: command not found
zeke
 
Posts: 107
Joined: Jun 14th, '11, 17:42

Re: Help building XBMC eden-pre

Postby martinw » Jan 25th, '12, 22:06

zeke wrote:Can anyone help me build XBMC 11.0?

I am trying to follow instructions here:
http://wiki.xbmc.org/index.php?title=HO ... ource_code

I have the current version from git.

$git pull <---returns 'Already up to date'
$make clean
make: *** No rule to make target `clean'. Stop.

These are the instructions for updating. You are presumably doing a fresh install.
Also,
$ ./bootstrap
./bootstrap: line 5: autoreconf: command not found

You need to install the autoconf package.
Code: Select all
urpmi autoconf

(as root) should fix this. You may find you need to install other packages - urpmf helps find the package name if you only know the missing file name.
martinw
 
Posts: 608
Joined: May 14th, '11, 10:59

Re: Help building XBMC eden-pre

Postby doktor5000 » Jan 25th, '12, 22:08

You missed an important step, installing all required dependencies: http://wiki.xbmc.org/index.php?title=HO ... u_packages
The easiest wqy to do this would be to download the src.frpm, f.ex. from ftp://ftp.mandrivauser.de/mirrors/Mageia/distrib/cauldron/SRPMS/core/release/xbmc-10.1-1.pvr.4.mga2.src.rpm
and then in a terminal change to the folder where you've downloaded it, and as root do
Code: Select all
urpmi --buildrequires ./xbmc-10.1-1.pvr.4.mga2.src.rpm
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18054
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Help building XBMC eden-pre

Postby zeke » Jan 25th, '12, 22:23

I already have 10.1 installed from the mageia repo, so I think this is in fact an upgrade?

Doktor, would using the link you provided work even though I am trying to upfgrade to 11.0, rather than 10.1?

Shouldn't I already have all of these packages (for 10.1) since I already have the 10.1 rpm installed and working?
zeke
 
Posts: 107
Joined: Jun 14th, '11, 17:42

Re: Help building XBMC eden-pre

Postby martinw » Jan 25th, '12, 23:19

zeke wrote:I already have 10.1 installed from the mageia repo, so I think this is in fact an upgrade?

No - you haven't built from source before, so this is a first time build.

Shouldn't I already have all of these packages (for 10.1) since I already have the 10.1 rpm installed and working?

No - what you have installed is a pre-built (binary) package. You are now trying to build from source, which means you need to install all the tools required to build the package.
martinw
 
Posts: 608
Joined: May 14th, '11, 10:59

Re: Help building XBMC eden-pre

Postby zeke » Jan 27th, '12, 00:49

OK, so far so good,

Still cant execute
$make clean
make: *** No rule to make target `clean'. Stop.

But I did get all the dependencies installed as well as autoconf and automake
and then I fail here:

$ ./bootstrap
autoreconf: Entering directory `.'
autoreconf: configure.in: not using Gettext
autoreconf: running: aclocal --force
autoreconf: configure.in: tracing
autoreconf: configure.in: not using Libtool
autoreconf: running: /usr/bin/autoconf --force
configure.in:439: error: possibly undefined macro: AC_PROG_LIBTOOL
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
autoreconf: /usr/bin/autoconf failed with exit status: 1

I found in the wiki that a libtool error can be fixed by running autoreconf...but that fails:
$ autoreconf
configure.in:12: required file `build-aux/config.guess' not found
configure.in:12: `automake --add-missing' can install `config.guess'
configure.in:12: required file `build-aux/config.sub' not found
configure.in:12: `automake --add-missing' can install `config.sub'
configure.in:11: required file `build-aux/install-sh' not found
configure.in:11: `automake --add-missing' can install `install-sh'
configure.in:11: required file `build-aux/missing' not found
configure.in:11: `automake --add-missing' can install `missing'
autoreconf: automake failed with exit status: 1


So this is the advice from the wiki:
libtool issues

Libtool archives (*.la) contain a list of the used libraries, recursively. Default libtool specificies all those libraries explicitly, even for dynamic linking. This is fixed using a patch from debian.

However, usually software bundles their own libtool. One way to update it is to run "autoreconf" before configure. But it sometimes fail, so Mandriva has a script "fix-libtool-overlinking" called in %configure and %configure2_5x

I have nop idea what that even means....
zeke
 
Posts: 107
Joined: Jun 14th, '11, 17:42

Re: Help building XBMC eden-pre

Postby doktor5000 » Jan 27th, '12, 15:03

Try to run autoreconf -isfv, then ./bootstrap, then ./configure, and if that succeeds, continue with make.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18054
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Help building XBMC eden-pre

Postby zeke » Jan 27th, '12, 15:51

$ autoreconf -isfv
autoreconf: Entering directory `.'
autoreconf: configure.in: not using Gettext
autoreconf: running: aclocal --force
autoreconf: configure.in: tracing
autoreconf: configure.in: not using Libtool
autoreconf: running: /usr/bin/autoconf --force
configure.in:439: error: possibly undefined macro: AC_PROG_LIBTOOL
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
autoreconf: /usr/bin/autoconf failed with exit status: 1
zeke
 
Posts: 107
Joined: Jun 14th, '11, 17:42

Re: Help building XBMC eden-pre

Postby doktor5000 » Jan 27th, '12, 17:12

Works fine here. Maybe you need to install libtool?

BTW: Would be nice if you could use Code-Tags, that's the Code-button above the forum editor.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18054
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Help building XBMC eden-pre

Postby zeke » Jan 27th, '12, 17:59

doktor5000 wrote:Works fine here. Maybe you need to install libtool?

BTW: Would be nice if you could use Code-Tags, that's the Code-button above the forum editor.



Ok, I will use the Code button from now on.

I did need to install libtool, and that got me to the ./configure step. But this is failing because of of a missing library:
the yaj library.

So I installed argyllcms-1.1.0-3.mga1.x86_64.rpm (and it's dependency, lib64icc2-2.12-1.1.mga1.x86_64.rpm) because it says it provides lib64yaj.so.0, but ./configure still fails with the same error. How do I get this library?
zeke
 
Posts: 107
Joined: Jun 14th, '11, 17:42

Re: Help building XBMC eden-pre

Postby doktor5000 » Jan 27th, '12, 18:30

lib64yaj.so.0 != lib64yajl.so which you'd need. You would need to rebuild yajl from cauldron, as f.ex.:
Code: Select all
wget ftp://ftp.mandrivauser.de/mirrors/Mageia/distrib/cauldron/SRPMS/core/release/yajl-2.0.4-1.mga2.src.rpm   <-- (as normal user)
urpmi --buildrequires yajl-2.0.4-1.mga2.src.rpm   <-- (as root)
rpmbuild --rebuild yajl-2.0.4-1.mga2.src.rpm   <-- (as normal user)

and then install the resulting packages, libyajl and libyajl-devel, they should be in /home/username/rpmbuild/RPMS/i586 (or x86_64)
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18054
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Help building XBMC eden-pre

Postby zeke » Jan 27th, '12, 20:56

Once again, thank you so much!

Got it built with your help.

SOLVED!
zeke
 
Posts: 107
Joined: Jun 14th, '11, 17:42


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest

cron