Linux Compile under Centos 6.5
#46
(2014-10-06, 14:35)fritsch Wrote: Don't use catalyst at all. Use Ubuntu 14.04.1, update the packages and fine.
Thank You!
I will try.
Reply
#47
After installation is finished, do:
Code:
sudo apt-get update
sudo apt-get dist-upgrade

Then add the team-xbmc ppa with:
Code:
sudo apt-add-repository ppa:team-xbmc/ppa
sudo apt-get update

and install xbmc
Code:
sudo apt-get install xbmc xbmc-bin
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#48
(2014-10-06, 19:55)fritsch Wrote: After installation is finished, do:
Code:
sudo apt-get update
sudo apt-get dist-upgrade

Then add the team-xbmc ppa with:
Code:
sudo apt-add-repository ppa:team-xbmc/ppa
sudo apt-get update

and install xbmc
Code:
sudo apt-get install xbmc xbmc-bin
Thank You very much!
First - I have stopped on Linux Mint 17 Qiana \n \l.
Second - I did everything as You told and now I have XBMC without any problems.Nod
Reply
#49
For those interested in building xbmc on centos 6 I found a usefull post here:
http://blog.csdn.net/langeldep/article/details/8829697

A lot of bumps are explained there. (I know it's in chinese but google translate is doing a pretty good job on it)
Reply
#50
Migrated to Centos 6.6 x86_64.
Trying to build Kodi again but having issues with TagLib.
I followed this and added taglib:
http://unix.stackexchange.com/questions/...ib-problem
Code:
taglib-config --version
1.9.0

But when I try to do make

Code:
/mnt/share/download/tmp/xbmc/xbmc/music/tags/TagLibVFSStream.cpp:206: undefined reference to `TagLib::ByteVector::ByteVector(unsigned int, char)'
/mnt/share/download/tmp/xbmc/xbmc/music/tags/TagLibVFSStream.cpp:213: undefined reference to `TagLib::ByteVector::data()'
/mnt/share/download/tmp/xbmc/xbmc/music/tags/TagLibVFSStream.cpp:222: undefined reference to `TagLib::ByteVector::data()'
/mnt/share/download/tmp/xbmc/xbmc/music/tags/TagLibVFSStream.cpp:226: undefined reference to `TagLib::ByteVector::~ByteVector()'
/mnt/share/download/tmp/xbmc/xbmc/music/tags/TagLibVFSStream.cpp:226: undefined reference to `TagLib::ByteVector::~ByteVector()'
xbmc/music/tags/musictags.a(TagLibVFSStream.o): In function `MUSIC_INFO::TagLibVFSStream::insert(TagLib::ByteVector const&, unsigned long, unsigned long)':
/mnt/share/download/tmp/xbmc/xbmc/music/tags/TagLibVFSStream.cpp:111: undefined reference to `TagLib::ByteVector::size() const'
/mnt/share/download/tmp/xbmc/xbmc/music/tags/TagLibVFSStream.cpp:117: undefined reference to `TagLib::ByteVector::size() const'
/mnt/share/download/tmp/xbmc/xbmc/music/tags/TagLibVFSStream.cpp:135: undefined reference to `TagLib::ByteVector::size() const'
/mnt/share/download/tmp/xbmc/xbmc/music/tags/TagLibVFSStream.cpp:141: undefined reference to `TagLib::ByteVector::ByteVector()'
/mnt/share/download/tmp/xbmc/xbmc/music/tags/TagLibVFSStream.cpp:142: undefined reference to `TagLib::ByteVector::ByteVector(unsigned int, char)'
/mnt/share/download/tmp/xbmc/xbmc/music/tags/TagLibVFSStream.cpp:150: undefined reference to `TagLib::ByteVector::data()'
/mnt/share/download/tmp/xbmc/xbmc/music/tags/TagLibVFSStream.cpp:157: undefined reference to `TagLib::ByteVector::size() const'
/mnt/share/download/tmp/xbmc/xbmc/music/tags/TagLibVFSStream.cpp:159: undefined reference to `TagLib::ByteVector::operator=(TagLib::ByteVector const&)'
/mnt/share/download/tmp/xbmc/xbmc/music/tags/TagLibVFSStream.cpp:160: undefined reference to `TagLib::ByteVector::resize(unsigned int, char)'
/mnt/share/download/tmp/xbmc/xbmc/music/tags/TagLibVFSStream.cpp:169: undefined reference to `TagLib::ByteVector::data()'
/mnt/share/download/tmp/xbmc/xbmc/music/tags/TagLibVFSStream.cpp:172: undefined reference to `TagLib::ByteVector::resize(unsigned int, char)'
/mnt/share/download/tmp/xbmc/xbmc/music/tags/TagLibVFSStream.cpp:183: undefined reference to `TagLib::ByteVector::size() const'
xbmc/xbmc/music/tags/TagLibVFSStream.cpp:183: undefined reference to `TagLib::ByteVector::data()'
xbmc/xbmc/music/tags/TagLibVFSStream.cpp:183: undefined reference to `TagLib::ByteVector::size() const'
xbmc/xbmc/music/tags/TagLibVFSStream.cpp:185: undefined reference to `TagLib::ByteVector::size() const'
xbmc/xbmc/music/tags/TagLibVFSStream.cpp:187: undefined reference to `TagLib::ByteVector::operator=(TagLib::ByteVector const&)'
xbmc/xbmc/music/tags/TagLibVFSStream.cpp:164: undefined reference to `TagLib::ByteVector::isEmpty() const'
xbmc/xbmc/music/tags/TagLibVFSStream.cpp:189: undefined reference to `TagLib::ByteVector::~ByteVector()'
xbmc/xbmc/music/tags/TagLibVFSStream.cpp:189: undefined reference to `TagLib::ByteVector::~ByteVector()'
xbmc/xbmc/music/tags/TagLibVFSStream.cpp:121: undefined reference to `TagLib::ByteVector::size() const'
xbmc/xbmc/music/tags/TagLibVFSStream.cpp:121: undefined reference to `TagLib::ByteVector::size() const'
xbmc/xbmc/music/tags/TagLibVFSStream.cpp:189: undefined reference to `TagLib::ByteVector::~ByteVector()'
xbmc/xbmc/music/tags/TagLibVFSStream.cpp:189: undefined reference to `TagLib::ByteVector::~ByteVector()'
xbmc/music/tags/musictags.a(TagLibVFSStream.o): In function `MUSIC_INFO::TagLibVFSStream::writeBlock(TagLib::ByteVector const&)':
xbmc/xbmc/music/tags/TagLibVFSStream.cpp:99: undefined reference to `TagLib::ByteVector::size() const'
xbmc/xbmc/music/tags/TagLibVFSStream.cpp:99: undefined reference to `TagLib::ByteVector::data() const'
xbmc/music/tags/musictags.a(TagLibVFSStream.o): In function `MUSIC_INFO::TagLibVFSStream::readBlock(unsigned long)':
xbmc/xbmc/music/tags/TagLibVFSStream.cpp:78: undefined reference to `TagLib::ByteVector::ByteVector(unsigned int, char)'
xbmc/xbmc/music/tags/TagLibVFSStream.cpp:79: undefined reference to `TagLib::ByteVector::data()'
xbmc/xbmc/music/tags/TagLibVFSStream.cpp:81: undefined reference to `TagLib::ByteVector::resize(unsigned int, char)'
xbmc/xbmc/music/tags/TagLibVFSStream.cpp:83: undefined reference to `TagLib::ByteVector::clear()'
xbmc/xbmc/music/tags/TagLibVFSStream.cpp:85: undefined reference to `TagLib::ByteVector::~ByteVector()'
xbmc/music/tags/musictags.a(TagLibVFSStream.o): In function `TagLibVFSStream':
xbmc/xbmc/music/tags/TagLibVFSStream.cpp:40: undefined reference to `TagLib::IOStream::IOStream()'
xbmc/xbmc/music/tags/TagLibVFSStream.cpp:55: undefined reference to `TagLib::IOStream::~IOStream()'
xbmc/music/tags/musictags.a(TagLibVFSStream.o): In function `~TagLibVFSStream':
xbmc/xbmc/music/tags/TagLibVFSStream.cpp:63: undefined reference to `TagLib::IOStream::~IOStream()'
xbmc/xbmc/music/tags/TagLibVFSStream.cpp:63: undefined reference to `TagLib::IOStream::~IOStream()'
xbmc/music/tags/musictags.a(TagLibVFSStream.o):(.data.rel.ro._ZTIN10MUSIC_INFO15TagLibVFSStreamE[typeinfo for MUSIC_INFO::TagLibVFSStream]+0x10): undefined reference to `typeinfo for TagLib::IOStream'
xbmc/network/network.a(cddb.o): In function `CDDB::Xcddb::parseData(char const*)':
xbmc/xbmc/network/cddb.cpp:576: undefined reference to `TagLib::ID3v1::genre(int)'
xbmc/xbmc/network/cddb.cpp:576: undefined reference to `TagLib::String::to8Bit(bool) const'
xbmc/xbmc/network/cddb.cpp:576: undefined reference to `TagLib::String::~String()'
xbmc/xbmc/network/cddb.cpp:576: undefined reference to `TagLib::String::~String()'
collect2: ld returned 1 exit status
make: *** [kodi.bin] Error 1
Reply
#51
It's using wrong libtag. Most likely your system internal + the one you compiled and you just make installed over the system files ... config.log will tell.

Btw. why so much pain? Breaking an existing OS (centos) in your case, make system packagaging useless, which renders your system completely unupdatable?

If you really want to run kodi on centos, package all the missing libs properly the way centos wants to have it.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#52
Hi fritsch, thank you for your reply !

Unfortunately the latest taglib el6 package is 1.6, just contacted the package maintainer and hopefully he will update it soon.

I already removed the old 1.6 package, and tried to cmake, make, make install.

configure.log
Code:
configure:30427: $PKG_CONFIG --exists --print-errors "taglib >= 1.8"
Package taglib was not found in the pkg-config search path.
Perhaps you should add the directory containing `taglib.pc'
to the PKG_CONFIG_PATH environment variable
No package 'taglib' found
configure:30430: $? = 0
configure:30443: $PKG_CONFIG --exists --print-errors "taglib >= 1.8"
Package taglib was not found in the pkg-config search path.
Perhaps you should add the directory containing `taglib.pc'
to the PKG_CONFIG_PATH environment variable
No package 'taglib' found
configure:30446: $? = 0
configure:30485: result: yes


Code:
find /usr -name taglib.pc
/usr/local/lib/pkgconfig/taglib.pc
/usr/lib/pkgconfig/taglib.pc
Reply
#53
See: Package taglib was not found in the pkg-config search path, that you need to fix.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#54
it's using the /usr/lib/pkgconfig file not the /usr/local one. that file shouldn't be there, looks like you didn't prune the system library properly.
Reply
#55
Code:
find /usr -name taglib.pc
/usr/local/lib/pkgconfig/taglib.pc
/usr/lib/pkgconfig/taglib.pc

Code:
$PKG_CONFIG_PATH
is currently empty, which path should I use ?
Reply
#56
find out which package provides: /usr/lib/pkgconfig/taglib.pc and uninstall this package.

You broke your distribution's packaging - congratulation!

Edit: rpm -qf /usr/lib/pkgconfig/taglib.pc should tell
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#57
you probably didn't remove the taglib-devel package. RPM is too stupid to have the devel packages depend on the libs.
Reply
#58
I think taglib-devel was removed as dependency when I removed taglib.

Code:
yum remove taglib-devel
Loaded plugins: fastestmirror, refresh-packagekit
Setting up Remove Process
No Match for argument: taglib-devel
Loading mirror speeds from cached hostfile
* base: tux.rainside.sk
* elrepo: ftp.nluug.nl
* epel: ftp.fi.muni.cz
* extras: tux.rainside.sk
* rpmfusion-free-updates: ftp.upjs.sk
* rpmfusion-nonfree-updates: ftp.upjs.sk
* updates: tux.rainside.sk
Package(s) taglib-devel available, but not installed.
No Packages marked for removal

Code:
rpm -qf /usr/lib/pkgconfig/taglib.pc
file /usr/lib/pkgconfig/taglib.pc is not owned by any package

rpm -qf /usr/local/lib/pkgconfig/taglib.pc
file /usr/local/lib/pkgconfig/taglib.pc is not owned by any package
Reply
#59
As said 10 posts above - you have fully fucked up your packaging.

Now, fuck up it further:

sudo rm /usr/local/lib/pkgconfig/taglib.pc and try again.

Edit: sudo rm /usr/lib/pkgconfig/taglib.pc

cause this one is stale from something else
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#60
Same result Sad
Reply

Logout Mark Read Team Forum Stats Members Help
Compile under Centos 6.50