2016-01-16, 17:39
Hi,
I did the following steps in order to compile Kodi + pvr.hts on my Gentoo machine:
When running cmake, I get the following warning:
And running make stops with the following error:
I guess this should normally build or is it a bug? What is the correct way to compile Kodi + pvr.hts manually?
I appreciate any help
I did the following steps in order to compile Kodi + pvr.hts on my Gentoo machine:
Code:
git clone https://github.com/xbmc/xbmc.git
git clone https://github.com/kodi-pvr/pvr.hts.giti
cd xbmc
git checkout tags/15.2-Isengard
./bootstrap
./configure --enable-webserver --prefix=/opt/custom_xbmc --enable-vdpau --enable-libcec --disable-libcec
make
make install
cd ..
cd pvr.hts && mkdir build && cd build
cmake -DADDONS_TO_BUILD=pvr.hts -DADDON_SRC_PREFIX=../.. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=/opt/custom_xbmc/share/xbmc/addons/ -DPACKAGE_ZIP=1 ../../xbmc/project/cmake/addons
make
When running cmake, I get the following warning:
Code:
-- Processing /root/kodi_pvr_tvheadend_test/xbmc/project/cmake/addons/depends/common/tinyxml/tinyxml.txt
-- tinyxml url: http://mirrors.xbmc.org/build-deps/sources/tinyxml-2.6.2_2.tar.gz
-- No platform specific file /root/kodi_pvr_tvheadend_test/xbmc/project/cmake/addons/depends/linux/CMakeLists.txt found
-- Configuring done
CMake Warning (dev) at /root/kodi_pvr_tvheadend_test/xbmc/project/cmake/scripts/common/handle-depends.cmake:194 (add_dependencies):
Policy CMP0046 is not set: Error on non-existent dependency in
add_dependencies. Run "cmake --help-policy CMP0046" for policy details.
Use the cmake_policy command to set the policy and suppress this warning.
The dependency target "kodi" of target "kodi-platform" does not exist.
Call Stack (most recent call first):
depends/CMakeLists.txt:34 (add_addon_depends)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Generating done
And running make stops with the following error:
Code:
[ 63%] Completed 'kodi-platform'
[ 72%] Built target kodi-platform
[ 75%] Performing configure step for 'pvr.hts'
CMake Error at build/build/depends/lib/kodi/addon-helpers.cmake:19 (FILE):
file failed to open for reading (No such file or directory):
/root/kodi_pvr_tvheadend_test/pvr.hts/pvr.hts/addon.xml
Call Stack (most recent call first):
build/build/depends/lib/kodi/addon-helpers.cmake:29 (addon_version)
CMakeLists.txt:101 (build_addon)
-- Configuring incomplete, errors occurred!
See also "/root/kodi_pvr_tvheadend_test/pvr.hts/build/pvr.hts-prefix/src/pvr.hts-build/CMakeFiles/CMakeOutput.log".
CMakeFiles/pvr.hts.dir/build.make:106: recipe for target 'pvr.hts-prefix/src/pvr.hts-stamp/pvr.hts-configure' failed
make[2]: *** [pvr.hts-prefix/src/pvr.hts-stamp/pvr.hts-configure] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/pvr.hts.dir/all' failed
make[1]: *** [CMakeFiles/pvr.hts.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
I guess this should normally build or is it a bug? What is the correct way to compile Kodi + pvr.hts manually?
I appreciate any help