In file included from HttpRangeUtils.cpp:23:0: /var/tmp/portage/media-tv/kodi-9999/work/kodi-9999/xbmc/network/httprequesthandler/IHTTPRequestHandler.h:32:24: fatal error: microhttpd.h: No such file or directory #include <microhttpd.h> ^ compilation terminated. /var/tmp/portage/media-tv/kodi-9999/work/kodi-9999/Makefile.include:93: recipe for target 'HttpRangeUtils.o' failed [ebuild U *] media-tv/kodi-9999::gentoo [14.1::gentoo] USE="X bluetooth bluray caps fishbmc midi opengl projectm pulseaudio rsxs samba udisks upower usb vdpau xrandr -airplay -avahi -cec -css -debug -gles -goom -java -joystick -mysql -nfs -profile -pvr -rtmp -sftp {-test} -upnp -vaapi -webserver" PYTHON_TARGETS="python2_7" 0 KiB
I didn't look deeper into the issue but from a user's point of view I'd say microhttpd is needed for remotes (webinterfaces, mobile apps) to communicate with the JSON API. To be more specific I'd say it is the following settings: - Allow programs on other systems to control Kodi (http://kodi.wiki/view/Settings/Services#Remote_control) - Allow control of Kodi via HTTP (http://kodi.wiki/view/Settings/Services#Webserver) As a consequence we could remove IUSE="webserver" and add net-libs/libmicrohttpd[messages] to the $COMMON_DEPEND variable instead.
*** Bug 554382 has been marked as a duplicate of this bug. ***
I just rebuilt kodi successfully with USE="-webserver". So it seems like upstream fixed the issue in the meantime.
(In reply to hal from comment #3) > I just rebuilt kodi successfully with USE="-webserver". So it seems like > upstream fixed the issue in the meantime. Sorry, I missed the fact that libmicrohttpd wasn't installed at all onto the OP's system.
Bug report upstream as a reference: http://trac.kodi.tv/ticket/16113#ticket
Fixed with commit 0d912d5: https://github.com/xbmc/xbmc/commit/0d912d551c50ec77523f795a1558b9469ff179eb Details: https://github.com/xbmc/xbmc/pull/7510 As far as I can tell it will be backported to the upcoming Kodi 15 Isengard release.
should be all set now in the tree; thanks for the report! Commit message: Make libmicrohttpd dep unconditional for current release as backporting the required patches from upstream looks like a bit of a hassle http://sources.gentoo.org/media-tv/kodi/kodi-14.1.ebuild?r1=1.7&r2=1.8