compiling kodi from source debian 8 "Jessie"
#1
Hi I am having a bit of trouble getting kodi to build from source on debian.

I've tried adding the ubuntu ppa's but those 404 on me and I just prefer avoiding mixing debian and ubuntu sources.

I installed most packages in non standard places just to keep things organized. Here is my setup

basically following these directions: https://github.com/xbmc/xbmc/blob/master...ADME.linux
I just pulled from github master: git clone git://github.com/xbmc/xbmc.git

here's my .bashrc
Code:
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/xbmc/deps/lib

export LD_RUN_PATH=$LD_RUN_PATH:/opt/xbmc/deps/lib

export C_INCLUDE_PATH=$C_INCLUDE_PATH:/opt/xbmc/deps/include/libdcadec
export C_INCLUDE_PATH=$C_INCLUDE_PATH:/opt/xbmc/deps/include

export PATH=$PATH:/opt/xbmc/deps/bin


I've run and the one to install libdcadec as well
Code:
kodi-build$ make -C tools/depends/target/libdcadec PREFIX=/opt/xbmc/deps

Code:
/opt/xbmc/deps/
├── bin
│   └── dcadec
├── include
│   ├── guid.h
│   └── libdcadec
│       ├── dca_context.h
│       ├── dca_frame.h
│       ├── dca_stream.h
│       └── dca_waveout.h
└── lib
    ├── libcrossguid.a
    ├── libdcadec.a
    └── pkgconfig
        └── dcadec.pc

this is my bootstrap log output
Code:
autoreconf -vif .
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `build-aux'.
libtoolize: copying file `build-aux/ltmain.sh'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
autoreconf -vif lib/cpluff
Copying file ABOUT-NLS
Creating directory auxliary
Copying file auxliary/config.rpath
Creating directory m4
Copying file m4/codeset.m4
Copying file m4/gettext.m4
Copying file m4/glibc2.m4
Copying file m4/glibc21.m4
Copying file m4/iconv.m4
Copying file m4/intdiv0.m4
Copying file m4/intl.m4
Copying file m4/intldir.m4
Copying file m4/intmax.m4
Copying file m4/inttypes-pri.m4
Copying file m4/inttypes_h.m4
Copying file m4/lcmessage.m4
Copying file m4/lib-ld.m4
Copying file m4/lib-link.m4
Copying file m4/lib-prefix.m4
Copying file m4/lock.m4
Copying file m4/longdouble.m4
Copying file m4/longlong.m4
Copying file m4/nls.m4
Copying file m4/po.m4
Copying file m4/printf-posix.m4
Copying file m4/progtest.m4
Copying file m4/size_max.m4
Copying file m4/stdint_h.m4
Copying file m4/uintmax_t.m4
Copying file m4/ulonglong.m4
Copying file m4/visibility.m4
Copying file m4/wchar_t.m4
Copying file m4/wint_t.m4
Copying file m4/xsize.m4
Copying file po/Makevars.template
Copying file po/[email protected]
Copying file po/[email protected]
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `auxliary'.
libtoolize: copying file `auxliary/ltmain.sh'
libtoolize: putting macros in `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~obsolete.m4'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
autoreconf -vif lib/gtest
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `build-aux'.
libtoolize: copying file `build-aux/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~obsolete.m4'
autoreconf -vif lib/libdvd/libdvdcss
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~obsolete.m4'
autoreconf -vif lib/libdvd/libdvdread
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
autoreconf -vif lib/libdvd/libdvdnav
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
cd xbmc/interfaces/python; (/usr/bin/doxygen Doxyfile > /dev/null) 2>&1 | grep -v " warning: "
Warning: Tag `SYMBOL_CACHE_SIZE' at line 327 of file `Doxyfile' has become obsolete.
         To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u"
Warning: Tag `SHOW_DIRECTORIES' at line 547 of file `Doxyfile' has become obsolete.
         To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u"
Warning: Tag `HTML_ALIGN_MEMBERS' at line 941 of file `Doxyfile' has become obsolete.
         To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u"
Warning: Tag `USE_INLINE_TREES' at line 1132 of file `Doxyfile' has become obsolete.
         To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u"
Warning: Tag `XML_SCHEMA' at line 1395 of file `Doxyfile' has become obsolete.
         To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u"
Warning: Tag `XML_DTD' at line 1401 of file `Doxyfile' has become obsolete.
         To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u"





touch xbmc/interfaces/python/generated/doxygenxml
mkdir -p xbmc/interfaces/python/generated
/usr/bin/swig -w401 -c++ -o xbmc/interfaces/python/generated/AddonModuleXbmc.xml -xml -I./xbmc -xmllang python xbmc/interfaces/swig/AddonModuleXbmc.i
# Work around potential groovy bug reported at: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=733234
/usr/bin/java -cp "./tools/codegenerator/groovy/groovy-all-2.4.4.jar:./tools/codegenerator/groovy/commons-lang-2.6.jar:./tools/codegenerator:xbmc/interfaces/python" \
          org.codehaus.groovy.tools.FileSystemCompiler -d ./tools/codegenerator ./tools/codegenerator/Helper.groovy  ./tools/codegenerator/SwigTypeParser.groovy xbmc/interfaces/python/MethodType.groovy xbmc/interfaces/python/PythonTools.groovy
/usr/bin/java -cp "./tools/codegenerator/groovy/groovy-all-2.4.4.jar:./tools/codegenerator/groovy/commons-lang-2.6.jar:./tools/codegenerator:xbmc/interfaces/python" \
          groovy.ui.GroovyMain ./tools/codegenerator/Generator.groovy xbmc/interfaces/python/generated/AddonModuleXbmc.xml xbmc/interfaces/python/PythonSwig.cpp.template xbmc/interfaces/python/generated/AddonModuleXbmc.cpp xbmc/interfaces/python/generated/doxygenxml
[xbmc/interfaces/python/generated/AddonModuleXbmc.xml, xbmc/interfaces/python/PythonSwig.cpp.template, xbmc/interfaces/python/generated/AddonModuleXbmc.cpp, xbmc/interfaces/python/generated/doxygenxml]
Processing "xbmc/interfaces/python/PythonSwig.cpp.template" using the module specification for module "xbmc/interfaces/python/generated/AddonModuleXbmc.xml"
writing
rm xbmc/interfaces/python/generated/AddonModuleXbmc.xml
mkdir -p xbmc/interfaces/python/generated
/usr/bin/swig -w401 -c++ -o xbmc/interfaces/python/generated/AddonModuleXbmcgui.xml -xml -I./xbmc -xmllang python xbmc/interfaces/swig/AddonModuleXbmcgui.i
# Work around potential groovy bug reported at: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=733234
/usr/bin/java -cp "./tools/codegenerator/groovy/groovy-all-2.4.4.jar:./tools/codegenerator/groovy/commons-lang-2.6.jar:./tools/codegenerator:xbmc/interfaces/python" \
          org.codehaus.groovy.tools.FileSystemCompiler -d ./tools/codegenerator ./tools/codegenerator/Helper.groovy  ./tools/codegenerator/SwigTypeParser.groovy xbmc/interfaces/python/MethodType.groovy xbmc/interfaces/python/PythonTools.groovy
/usr/bin/java -cp "./tools/codegenerator/groovy/groovy-all-2.4.4.jar:./tools/codegenerator/groovy/commons-lang-2.6.jar:./tools/codegenerator:xbmc/interfaces/python" \
          groovy.ui.GroovyMain ./tools/codegenerator/Generator.groovy xbmc/interfaces/python/generated/AddonModuleXbmcgui.xml xbmc/interfaces/python/PythonSwig.cpp.template xbmc/interfaces/python/generated/AddonModuleXbmcgui.cpp xbmc/interfaces/python/generated/doxygenxml
[xbmc/interfaces/python/generated/AddonModuleXbmcgui.xml, xbmc/interfaces/python/PythonSwig.cpp.template, xbmc/interfaces/python/generated/AddonModuleXbmcgui.cpp, xbmc/interfaces/python/generated/doxygenxml]
Processing "xbmc/interfaces/python/PythonSwig.cpp.template" using the module specification for module "xbmc/interfaces/python/generated/AddonModuleXbmcgui.xml"
writing
rm xbmc/interfaces/python/generated/AddonModuleXbmcgui.xml
mkdir -p xbmc/interfaces/python/generated
/usr/bin/swig -w401 -c++ -o xbmc/interfaces/python/generated/AddonModuleXbmcplugin.xml -xml -I./xbmc -xmllang python xbmc/interfaces/swig/AddonModuleXbmcplugin.i
# Work around potential groovy bug reported at: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=733234
/usr/bin/java -cp "./tools/codegenerator/groovy/groovy-all-2.4.4.jar:./tools/codegenerator/groovy/commons-lang-2.6.jar:./tools/codegenerator:xbmc/interfaces/python" \
          org.codehaus.groovy.tools.FileSystemCompiler -d ./tools/codegenerator ./tools/codegenerator/Helper.groovy  ./tools/codegenerator/SwigTypeParser.groovy xbmc/interfaces/python/MethodType.groovy xbmc/interfaces/python/PythonTools.groovy
/usr/bin/java -cp "./tools/codegenerator/groovy/groovy-all-2.4.4.jar:./tools/codegenerator/groovy/commons-lang-2.6.jar:./tools/codegenerator:xbmc/interfaces/python" \
          groovy.ui.GroovyMain ./tools/codegenerator/Generator.groovy xbmc/interfaces/python/generated/AddonModuleXbmcplugin.xml xbmc/interfaces/python/PythonSwig.cpp.template xbmc/interfaces/python/generated/AddonModuleXbmcplugin.cpp xbmc/interfaces/python/generated/doxygenxml
[xbmc/interfaces/python/generated/AddonModuleXbmcplugin.xml, xbmc/interfaces/python/PythonSwig.cpp.template, xbmc/interfaces/python/generated/AddonModuleXbmcplugin.cpp, xbmc/interfaces/python/generated/doxygenxml]
Processing "xbmc/interfaces/python/PythonSwig.cpp.template" using the module specification for module "xbmc/interfaces/python/generated/AddonModuleXbmcplugin.xml"
writing
rm xbmc/interfaces/python/generated/AddonModuleXbmcplugin.xml
mkdir -p xbmc/interfaces/python/generated
/usr/bin/swig -w401 -c++ -o xbmc/interfaces/python/generated/AddonModuleXbmcaddon.xml -xml -I./xbmc -xmllang python xbmc/interfaces/swig/AddonModuleXbmcaddon.i
# Work around potential groovy bug reported at: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=733234
/usr/bin/java -cp "./tools/codegenerator/groovy/groovy-all-2.4.4.jar:./tools/codegenerator/groovy/commons-lang-2.6.jar:./tools/codegenerator:xbmc/interfaces/python" \
          org.codehaus.groovy.tools.FileSystemCompiler -d ./tools/codegenerator ./tools/codegenerator/Helper.groovy  ./tools/codegenerator/SwigTypeParser.groovy xbmc/interfaces/python/MethodType.groovy xbmc/interfaces/python/PythonTools.groovy
/usr/bin/java -cp "./tools/codegenerator/groovy/groovy-all-2.4.4.jar:./tools/codegenerator/groovy/commons-lang-2.6.jar:./tools/codegenerator:xbmc/interfaces/python" \
          groovy.ui.GroovyMain ./tools/codegenerator/Generator.groovy xbmc/interfaces/python/generated/AddonModuleXbmcaddon.xml xbmc/interfaces/python/PythonSwig.cpp.template xbmc/interfaces/python/generated/AddonModuleXbmcaddon.cpp xbmc/interfaces/python/generated/doxygenxml
[xbmc/interfaces/python/generated/AddonModuleXbmcaddon.xml, xbmc/interfaces/python/PythonSwig.cpp.template, xbmc/interfaces/python/generated/AddonModuleXbmcaddon.cpp, xbmc/interfaces/python/generated/doxygenxml]
Processing "xbmc/interfaces/python/PythonSwig.cpp.template" using the module specification for module "xbmc/interfaces/python/generated/AddonModuleXbmcaddon.xml"
writing
rm xbmc/interfaces/python/generated/AddonModuleXbmcaddon.xml
mkdir -p xbmc/interfaces/python/generated
/usr/bin/swig -w401 -c++ -o xbmc/interfaces/python/generated/AddonModuleXbmcvfs.xml -xml -I./xbmc -xmllang python xbmc/interfaces/swig/AddonModuleXbmcvfs.i
# Work around potential groovy bug reported at: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=733234
/usr/bin/java -cp "./tools/codegenerator/groovy/groovy-all-2.4.4.jar:./tools/codegenerator/groovy/commons-lang-2.6.jar:./tools/codegenerator:xbmc/interfaces/python" \
          org.codehaus.groovy.tools.FileSystemCompiler -d ./tools/codegenerator ./tools/codegenerator/Helper.groovy  ./tools/codegenerator/SwigTypeParser.groovy xbmc/interfaces/python/MethodType.groovy xbmc/interfaces/python/PythonTools.groovy
/usr/bin/java -cp "./tools/codegenerator/groovy/groovy-all-2.4.4.jar:./tools/codegenerator/groovy/commons-lang-2.6.jar:./tools/codegenerator:xbmc/interfaces/python" \
          groovy.ui.GroovyMain ./tools/codegenerator/Generator.groovy xbmc/interfaces/python/generated/AddonModuleXbmcvfs.xml xbmc/interfaces/python/PythonSwig.cpp.template xbmc/interfaces/python/generated/AddonModuleXbmcvfs.cpp xbmc/interfaces/python/generated/doxygenxml
[xbmc/interfaces/python/generated/AddonModuleXbmcvfs.xml, xbmc/interfaces/python/PythonSwig.cpp.template, xbmc/interfaces/python/generated/AddonModuleXbmcvfs.cpp, xbmc/interfaces/python/generated/doxygenxml]
Processing "xbmc/interfaces/python/PythonSwig.cpp.template" using the module specification for module "xbmc/interfaces/python/generated/AddonModuleXbmcvfs.xml"
writing
rm xbmc/interfaces/python/generated/AddonModuleXbmcvfs.xml
mkdir -p xbmc/interfaces/python/generated
/usr/bin/swig -w401 -c++ -o xbmc/interfaces/python/generated/AddonModuleXbmcwsgi.xml -xml -I./xbmc -xmllang python xbmc/interfaces/swig/AddonModuleXbmcwsgi.i
# Work around potential groovy bug reported at: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=733234
/usr/bin/java -cp "./tools/codegenerator/groovy/groovy-all-2.4.4.jar:./tools/codegenerator/groovy/commons-lang-2.6.jar:./tools/codegenerator:xbmc/interfaces/python" \
          org.codehaus.groovy.tools.FileSystemCompiler -d ./tools/codegenerator ./tools/codegenerator/Helper.groovy  ./tools/codegenerator/SwigTypeParser.groovy xbmc/interfaces/python/MethodType.groovy xbmc/interfaces/python/PythonTools.groovy
/usr/bin/java -cp "./tools/codegenerator/groovy/groovy-all-2.4.4.jar:./tools/codegenerator/groovy/commons-lang-2.6.jar:./tools/codegenerator:xbmc/interfaces/python" \
          groovy.ui.GroovyMain ./tools/codegenerator/Generator.groovy xbmc/interfaces/python/generated/AddonModuleXbmcwsgi.xml xbmc/interfaces/python/PythonSwig.cpp.template xbmc/interfaces/python/generated/AddonModuleXbmcwsgi.cpp xbmc/interfaces/python/generated/doxygenxml
[xbmc/interfaces/python/generated/AddonModuleXbmcwsgi.xml, xbmc/interfaces/python/PythonSwig.cpp.template, xbmc/interfaces/python/generated/AddonModuleXbmcwsgi.cpp, xbmc/interfaces/python/generated/doxygenxml]
Processing "xbmc/interfaces/python/PythonSwig.cpp.template" using the module specification for module "xbmc/interfaces/python/generated/AddonModuleXbmcwsgi.xml"
writing
rm xbmc/interfaces/python/generated/AddonModuleXbmcwsgi.xml
make -C /home/blubee/sdk/kodi-build/tools/depends/native/JsonSchemaBuilder
make[1]: Entering directory '/home/blubee/sdk/kodi-build/tools/depends/native/JsonSchemaBuilder'
rm -rf native/*; mkdir -p native
cd native; cp -a /home/blubee/sdk/kodi-build/tools/depends/native/JsonSchemaBuilder/src/* .
cd native; ./autogen.sh
cd native; ./configure --prefix=/home/blubee/sdk/kodi-build/tools/depends/native/JsonSchemaBuilder
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: executing depfiles commands
make -C native
make[2]: Entering directory '/home/blubee/sdk/kodi-build/tools/depends/native/JsonSchemaBuilder/native'
g++ -DPACKAGE_NAME=\"JsonSchemaBuilder\" -DPACKAGE_TARNAME=\"jsonschemabuilder\" -DPACKAGE_VERSION=\"1.0\" -DPACKAGE_STRING=\"JsonSchemaBuilder\ 1.0\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"jsonschemabuilder\" -DVERSION=\"1.0\" -I.     -g -O2 -MT JsonSchemaBuilder.o -MD -MP -MF .deps/JsonSchemaBuilder.Tpo -c -o JsonSchemaBuilder.o JsonSchemaBuilder.cpp
mv -f .deps/JsonSchemaBuilder.Tpo .deps/JsonSchemaBuilder.Po
g++  -g -O2   -o JsonSchemaBuilder JsonSchemaBuilder.o  
make[2]: Leaving directory '/home/blubee/sdk/kodi-build/tools/depends/native/JsonSchemaBuilder/native'
make -C native install
make[2]: Entering directory '/home/blubee/sdk/kodi-build/tools/depends/native/JsonSchemaBuilder/native'
make[3]: Entering directory '/home/blubee/sdk/kodi-build/tools/depends/native/JsonSchemaBuilder/native'
/bin/mkdir -p '/home/blubee/sdk/kodi-build/tools/depends/native/JsonSchemaBuilder/bin'
  /usr/bin/install -c JsonSchemaBuilder '/home/blubee/sdk/kodi-build/tools/depends/native/JsonSchemaBuilder/bin'
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/home/blubee/sdk/kodi-build/tools/depends/native/JsonSchemaBuilder/native'
make[2]: Leaving directory '/home/blubee/sdk/kodi-build/tools/depends/native/JsonSchemaBuilder/native'
touch .installed-native
make[1]: Leaving directory '/home/blubee/sdk/kodi-build/tools/depends/native/JsonSchemaBuilder'
Jsonbuilder: tools/depends/native/JsonSchemaBuilder/bin/JsonSchemaBuilder
make -C xbmc/interfaces/json-rpc ServiceDescription.h
make[1]: Entering directory '/home/blubee/sdk/kodi-build/xbmc/interfaces/json-rpc'
../../../tools/depends/native/JsonSchemaBuilder/bin/JsonSchemaBuilder schema/version.txt schema/license.txt schema/methods.json schema/types.json schema/notifications.json
make[1]: Leaving directory '/home/blubee/sdk/kodi-build/xbmc/interfaces/json-rpc'
Jsonbuilder: tools/depends/native/JsonSchemaBuilder/bin/JsonSchemaBuilder
make -C xbmc/interfaces/json-rpc addon.xml
make[1]: Entering directory '/home/blubee/sdk/kodi-build/xbmc/interfaces/json-rpc'
sed s/@jsonrpc_version@/`cat schema/version.txt`/g ../../../addons/xbmc.json/addon.xml.in > ../../../addons/xbmc.json/addon.xml
make[1]: Leaving directory '/home/blubee/sdk/kodi-build/xbmc/interfaces/json-rpc'

and here is the log from this command: ./configure --prefix/opt

Code:
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for git... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of gcc... none
checking how to run the C preprocessor... gcc -E
checking for gcc... gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) none
checking how to run the C preprocessor... gcc -E
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... none
checking how to run the C++ preprocessor... g++ -E
checking for g++... g++
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... yes
checking dependency style of g++... (cached) none
checking how to run the C++ preprocessor... g++ -E
checking whether g++ supports C++11 features by default... no
checking whether g++ supports C++11 features with -std=gnu++11... yes
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for gawk... (cached) gawk
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for uid_t in sys/types.h... yes
checking for unistd.h... (cached) yes
checking for working chown... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking whether closedir returns void... no
checking for error_at_line... yes
checking for _LARGEFILE_SOURCE value needed for large files... no
checking whether gcc needs -traditional... no
checking whether lstat correctly handles trailing slash... yes
checking whether lstat accepts an empty string... no
checking whether lstat correctly handles trailing slash... (cached) yes
checking for working memcmp... yes
checking whether time.h and sys/time.h may both be included... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for sys/param.h... yes
checking for utime.h... yes
checking for alarm... yes
checking for working mktime... yes
checking for getpagesize... yes
checking for working mmap... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking return type of signal handlers... void
checking whether stat accepts an empty string... no
checking for working strcoll... yes
checking for strftime... yes
checking for working strtod... yes
checking whether utime accepts a null argument... yes
checking for vprintf... yes
checking for _doprnt... no
checking for atexit... yes
checking for dup2... yes
checking for fdatasync... yes
checking for floor... no
checking for fs_stat_dev... no
checking for ftime... yes
checking for ftruncate... yes
checking for getcwd... yes
checking for gethostbyaddr... yes
checking for gethostbyname... yes
checking for gethostname... yes
checking for getpagesize... (cached) yes
checking for getpass... yes
checking for gettimeofday... yes
checking for inet_ntoa... yes
checking for lchown... yes
checking for localeconv... yes
checking for memchr... yes
checking for memmove... yes
checking for memset... yes
checking for mkdir... yes
checking for modf... yes
checking for munmap... yes
checking for pow... no
checking for rmdir... yes
checking for select... yes
checking for setenv... yes
checking for setlocale... yes
checking for socket... yes
checking for sqrt... no
checking for strcasecmp... yes
checking for strchr... yes
checking for strcspn... yes
checking for strdup... yes
checking for strerror... yes
checking for strncasecmp... yes
checking for strpbrk... yes
checking for strrchr... yes
checking for strspn... yes
checking for strstr... yes
checking for strtol... yes
checking for strtoul... yes
checking for sysinfo... yes
checking for tzset... yes
checking for utime... yes
checking for posix_fadvise... yes
checking for localtime_r... yes
checking size of int... 4
checking size of size_t... 8
checking for __sync_add_and_fetch(temp, 1)... yes
checking for __sync_sub_and_fetch(temp, 1)... yes
checking for __sync_val_compare_and_swap(temp, 1, 1)... yes
checking for std::u16string... yes
checking for std::u32string... yes
checking for char16_t... yes
checking for char32_t... yes
checking size of wchar_t... 4
checking sys/inotify.h usability... yes
checking sys/inotify.h presence... yes
checking for sys/inotify.h... yes
checking boost/circular_buffer.hpp usability... yes
checking boost/circular_buffer.hpp presence... yes
checking for boost/circular_buffer.hpp... yes
checking for python... /usr/bin/python
checking for a version of Python >= '2.1.0'... yes
checking for a version of Python >= '2.6'... yes
checking for the distutils Python package... yes
checking for Python include path... -I/usr/include/python2.7
checking for Python library path... -L/usr/lib -lpython2.7
checking for Python site-packages path... /usr/lib/python2.7/dist-packages
checking python extra libraries... -lpthread -ldl  -lutil -lm
checking python extra linking flags... -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions
checking consistency of all components of python development environment... yes
checking for python... (cached) /usr/bin/python
checking for a version of Python >= '2.1.0'... yes
checking for a version of Python < '3.0'... yes
checking for the distutils Python package... yes
checking for Python include path... -I/usr/include/python2.7
checking for Python library path... -L/usr/lib -lpython2.7
checking for Python site-packages path... /usr/lib/python2.7/dist-packages
checking python extra libraries... -lpthread -ldl  -lutil -lm
checking python extra linking flags... -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions
checking consistency of all components of python development environment... yes
configure: Using Python 2.7
== Wayland disabled. ==
checking for main in -lGL... yes
checking for main in -lGLEW... yes
checking for main in -lGLU... yes
checking for mysql_config... /usr/bin/mysql_config
checking ass/ass.h usability... yes
checking ass/ass.h presence... yes
checking for ass/ass.h... yes
checking mpeg2dec/mpeg2.h usability... yes
checking mpeg2dec/mpeg2.h presence... yes
checking for mpeg2dec/mpeg2.h... yes
checking for mpeg2dec/mpeg2convert.h... yes
checking jpeglib.h usability... yes
checking jpeglib.h presence... yes
checking for jpeglib.h... yes
checking ogg/ogg.h usability... yes
checking ogg/ogg.h presence... yes
checking for ogg/ogg.h... yes
checking vorbis/vorbisfile.h usability... yes
checking vorbis/vorbisfile.h presence... yes
checking for vorbis/vorbisfile.h... yes
checking for LIBDCADEC... no

which always ends in libdcadec... no

but If I do something like this:

Code:
PKG_CONFIG_PATH=/opt/xbmc/deps/lib/pkgconfig ./configure --prefix=/opt/xbmc
it runs but still stops only this time at crossuuid not found.

I am not sure what's going on. I was on IRC for a while but I had to register here hoping to solve this issue.

quick edit:
seems this guy on the forum, is also facing the same issue over here: http://forum.kodi.tv/showthread.php?tid=...pid2130452

another edit:
the pkgconfig.pc file looks like this:
Code:
prefix=/opt/xbmc/deps
libdir=/opt/xbmc/deps/lib
includedir=/opt/xbmc/deps/include

Name: dcadec
Description: a free DTS Coherent Acoustics decoder with support for HD extensions
Version: 0.0.0
Libs: -L${libdir} -ldcadec
Cflags: -I${includedir}
Reply
#2
crossguid you have to install manually, use the tools/depends/target/crossguid makefile.
Reply
#3
(2015-11-12, 12:23)ironic_monkey Wrote: crossguid you have to install manually, use the tools/depends/target/crossguid makefile.

running
Code:
kodi-build$ make -C tools/depends/target/crossguid PREFIX=/opt/xbmc/deps

doesn't actually install the crossguid package? Do I have to manually download and install it from github?

edit:
actually just checking I have already installed uuid-dev from debian repo.

Code:
uuid-dev:
  Installed: 2.25.2-6
  Candidate: 2.25.2-6
  Version table:
*** 2.25.2-6 0
        500 http://http.debian.net/debian/ jessie/main amd64 Packages
        500 http://ftp.tw.debian.org/debian/ jessie/main amd64 Packages
        100 /var/lib/dpkg/status

is that version good enough?
Reply
#4
Kodi crossguid is a not specific version its a bubble https://github.com/xbmc/xbmc/blob/master...d/Makefile ( its same as https://github.com/graeme-hill/crossguid/commits/master ), you can try what you have, but if it fails or gives issues unnistall yours and compile internal as readme explains (similar to what you did for libcadec)

Kodi compiles against crossguid statically as well Smile Im not sure its the same as what you have... libcrossguid.a (kodi) doesnt look like libuuid.a (debian)
Reply
#5
see http://forum.kodi.tv/showthread.php?tid=220990&page=4 onwards
Reply
#6
(2015-11-12, 16:40)wsnipex Wrote: see http://forum.kodi.tv/showthread.php?tid=220990&page=4 onwards

thank you, this worked. Although I must ask

In that thread you said
wsnipex Wrote:I guess I'll have to fix a proper build system for crossguid, since upstream doesn't have _anything_. We've more or less hacked it into our depends, and these problems you have here are the result.

do you guys plan on making something that's a little more robust?
Reply
#7
for what its meant for - our own depends system - it works fine as is. When building standalone, without our depends system, its up to the user to provide needed dependencies. Installing those to non-standard locations is not something we "officially" support.

yes, creating a proper build system for crossguid is still on my todo, but its very low prio. And Ironic_monkey already has done something in that direction, so maybe he'll fix it up Wink
Reply
#8
(2015-11-13, 10:01)wsnipex Wrote: for what its meant for - our own depends system - it works fine as is. When building standalone, without our depends system, its up to the user to provide needed dependencies. Installing those to non-standard locations is not something we "officially" support.

yes, creating a proper build system for crossguid is still on my todo, but its very low prio. And Ironic_monkey already has done something in that direction, so maybe he'll fix it up Wink

thanks for the reply, I found something today for people on debian systems. There's an official backports kodi version in backports now.

Code:
kodi:
  Installed: 15.2~rc3+dfsg1-1~bpo8+1
  Candidate: 15.2~rc3+dfsg1-1~bpo8+1
  Version table:
*** 15.2~rc3+dfsg1-1~bpo8+1 0
        100 http://http.debian.net/debian/ jessie-backports/main amd64 Packages
        100 /var/lib/dpkg/status

I've installed that and I think i'll just use that one for now but it's was good to be able to build it from source. Let's hope backports keep up to date with your release schedule.
Reply
#9
just note that we do not support the debianized version, since it uses an unsupported external ffmpeg and other debian patches.
Reply
#10
(2015-11-13, 10:52)blubee Wrote:
(2015-11-13, 10:01)wsnipex Wrote: for what its meant for - our own depends system - it works fine as is. When building standalone, without our depends system, its up to the user to provide needed dependencies. Installing those to non-standard locations is not something we "officially" support.

yes, creating a proper build system for crossguid is still on my todo, but its very low prio. And Ironic_monkey already has done something in that direction, so maybe he'll fix it up Wink

thanks for the reply, I found something today for people on debian systems. There's an official backports kodi version in backports now.

Code:
kodi:
  Installed: 15.2~rc3+dfsg1-1~bpo8+1
  Candidate: 15.2~rc3+dfsg1-1~bpo8+1
  Version table:
*** 15.2~rc3+dfsg1-1~bpo8+1 0
        100 http://http.debian.net/debian/ jessie-backports/main amd64 Packages
        100 /var/lib/dpkg/status

I've installed that and I think i'll just use that one for now but it's was good to be able to build it from source. Let's hope backports keep up to date with your release schedule.

I certainly wont spend 1 second with you on IRC like the long hour or so we chatted about trying to help you through this compile business. Big Grin Stick to the compiled version, you nearly had it sorted.
Reply

Logout Mark Read Team Forum Stats Members Help
compiling kodi from source debian 8 "Jessie"0