Linux - Configure: libuuid not found

  Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
a_user Online
Senior Member
Posts: 287
Joined: Dec 2009
Reputation: 0
Location: Frankfurt
Post: #1
Since yesterday git compiling fails on configure with the check for UUID and the message that it didn't found libuuid. Though, this lib is already installed on my ubuntu vivid and i can't find any hint of dependency changes in the docs.

Anybody an idea?
find quote
asavah Offline
Junior Member
Posts: 32
Joined: Sep 2014
Reputation: 3
Post: #2
sudo apt-get install uuid-dev

After that is fixed there is another problem with missing libcrossguid which needs to be compiled from source.

I fail to see which commit introduced these dependencies.
EDIT: https://github.com/xbmc/xbmc/commit/6f81...ed1da0d43d

And README.Linux now states uuid-dev as dependency.

EDIT2:
quick way to get libcrossguid

cd tools/depends/target/crossguid
sudo make PREFIX=/usr

where PREFIX should be same as kodi ./configure --prefix=
(This post was last modified: 2015-08-12 23:54 by asavah.)
find quote
a_user Online
Senior Member
Posts: 287
Joined: Dec 2009
Reputation: 0
Location: Frankfurt
Post: #3
Thank you very much
find quote
wsnipex Online
Team-Kodi Developer
Posts: 5,082
Joined: Jun 2011
Reputation: 115
Post: #4
sudo apt-get build-dep kodi (after adding the build-deps ppa)
or
sudo apt-get install libcrossguid-dev (after adding the nightly ppa)
find quote
wisler Offline
Team-Kodi Member
Posts: 177
Joined: Jan 2014
Reputation: 4
Location: Germany
Post: #5
I don't know if this also works for other distributations, but under LUbuntu it works here with:

make -C tools/depends/target/crossguid PREFIX=/usr/local/

Kodi HTPC: Asrock ION 330 with Debian, Denon X2000 and a Bluray Drive
PVR-Server: Raspberry Pi with Raspbian, TVHeadend, TerraTec Cinergy HTC Stick HD and 160GB USB-Harddisk

You can always find a pre compiled Windows Version with AudioDSP support and AudioDSP Add-ons here.
find quote
a_user Online
Senior Member
Posts: 287
Joined: Dec 2009
Reputation: 0
Location: Frankfurt
Post: #6
Due to the new dependency to libdcadec i tried the following suggestion to get that lib.

(2015-08-13 09:31)wsnipex Wrote:  sudo apt-get build-dep kodi (after adding the build-deps ppa)

though, doing so after adding the build-dependency ppa i get the error "Source package for kodi could not be found".

Any ideas?
(This post was last modified: 2015-09-01 23:08 by a_user.)
find quote
uNiversal Offline
Out of Memory
Posts: 6,767
Joined: Oct 2012
Reputation: 163
Location: Binary pulsar
Post: #7
Wrong ppa for that command.
find quote
a_user Online
Senior Member
Posts: 287
Joined: Dec 2009
Reputation: 0
Location: Frankfurt
Post: #8
ok, i used the only one i found, here on the official wiki specified http://kodi.wiki/index.php?title=Official_Ubuntu_PPA

If there is any other ppa for build-dep where do i find it?
find quote
wsnipex Online
Team-Kodi Developer
Posts: 5,082
Joined: Jun 2011
Reputation: 115
Post: #9
its not only a build dep, but also a runtime dep, so you'll find it in the nightly ppa only until stable kodi needs it as well.
find quote
a_user Online
Senior Member
Posts: 287
Joined: Dec 2009
Reputation: 0
Location: Frankfurt
Post: #10
i don't get it. The lib is actually in the build-dep ppa. The problem is not that it does not find the lib, it is that build-dep fails with the error that it does not know KODI.

I solved the issue manually by maually installing the missing lib from the build-dep ppa. I just wonder why i can't make apt-get build-dep and get an unkown KODI error.
find quote
uNiversal Offline
Out of Memory
Posts: 6,767
Joined: Oct 2012
Reputation: 163
Location: Binary pulsar
Post: #11
because kodi isnt in that ppa and build-dep is not how you install ANY specific lib into any Ubuntu.
find quote
a_user Online
Senior Member
Posts: 287
Joined: Dec 2009
Reputation: 0
Location: Frankfurt
Post: #12
ok. i ask again:
The instructions claim (and so i understood wsnipex above) that i need to add the build-dep ppa and then execute: apt-get build-dep kodi.

This will install all needed libs, as far as they are available.

But this fails, not because of missing libs, it fails with the error KODI is missing. How do you do it correctly? I can't find a correct description on how to install all build dependencies via that command correctly.
In the wiki it says add the build-dep ppa, the post above says only add the build-dep ppa. But the latter commands seems to say, it is the worng ppa. .... ?
find quote
wsnipex Online
Team-Kodi Developer
Posts: 5,082
Joined: Jun 2011
Reputation: 115
Post: #13
because you obviously ALSO need a ppa enabled that provides Kodi...

If you find it that hard to compile from source, why not just use the packages we provide?
(This post was last modified: Today 08:50 by wsnipex.)
find quote