Open haydenbroadhead opened 2 years ago
On Linux it should just use the system libraries. What commands did you use to build the addon?
These are the steps from the README.md the error is during the make in step 5
Build instructions Linux
git clone --branch master https://github.com/xbmc/xbmc.git
git clone https://github.com/kodi-pvr/pvr.iptvsimple.git
cd pvr.iptvsimple && mkdir build && cd build
cmake -DADDONS_TO_BUILD=pvr.iptvsimple -DADDON_SRC_PREFIX=../.. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=../../xbmc/addons -DPACKAGE_ZIP=1 ../../xbmc/cmake/addons
make
@AlwinEsch any idea what is happening here? I thought that on Linux it would not download any deps?
Missing patch command
states there is no patch command? on debian for example the package is pulled in when installaing git
apt install git
Preparing to unpack .../25-patch_2.7.6-7_amd64.deb ...
Unpacking patch (2.7.6-7) ...
okay i installed patch via pacman (i'm on Manjaro) and that completed.
now i'm not sure how to use the addon. I can see that it's been installed into the ~/xbmc/addons directory so i tried to move this to the kodi matrix i had already installed via pacman in the /usr/share/ dir e.g. cp -r ~/xbmc/addons/pvr.iptvsimple /usr/share/kodi/addons
but then when i restarted kodi which appears to work as kodi asks to enable. I do so. Then after i've configured it, the addon fails.
This is the log, do i need these dependencies also or am i going about this all wrong? https://paste.kodi.tv/koqivowozu.kodi
You need to build the 3 inputstream addons. So yes, you need those dependencies. Good news is there is nothing below them that you need to build.
So i managed to get iptvsimple to make. Then i try ffmpeg, fail due to some issue with nettle? then i tried the aur pkg, also failed
Is there any discord or forum where i can get assistance with this?
our forum is here https://forum.kodi.tv/ , but
Then i try ffmpeg, fail due to some issue with nettle?
please post the error message (not the full log).. maybe it's as simple as Missing patch command
https://paste.kodi.tv/inedimukon.kodi
It looks like there's an issue with Nettle and i've tried reinstalling but that's the limit of my debugging of make cmds
looks like an issue with gnutls. i‘d try pacman -S gnutls
(nettle is a dependency of gnutls) then clear the builddir and rerun cmake
Maybe this is user error as i've not used CMake before but when following the steps to build for linux i'm getting the following error:
-- Processing /home/mala/pvr.iptvsimple/depends/common/xz-utils/xz-utils.txt -- xz-utils url: https://tukaani.org/xz/xz-5.2.4.tar.xz -- Processing /home/mala/pvr.iptvsimple/depends/common/zlib/zlib.txt -- zlib url: http://mirrors.kodi.tv/build-deps/sources/zlib-1.2.11.tar.gz CMake Error at /home/mala/xbmc/cmake/scripts/common/HandleDepends.cmake:132 (message): Missing patch command (we looked in /home/mala/pvr.iptvsimple/build/build/depends;/home/mala/xbmc/addons) Call Stack (most recent call first): CMakeLists.txt:455 (add_addon_depends)