Ubuntu? You're trying to get me in trouble.Kratos wrote:Same here. Did you find a way around this? I am building on Ubuntu MATE 15.10 if it helps.greenbag wrote: I just compile the way the instructions in the package tell me to.. or I find a guide. I've used checkinstall in the past to make packages, but when I tried with this.. it tells me it can't find some tar ball or something, then goes through a list of countries.. then continues in a loop. Until I physically close the terminal. blah.
popcornmix gave me the fix....
Code: Select all
sudo mkdir -p /usr/local/share/doc /usr/local/share/icons/hicolor/16x16 /usr/local/share/icons/hicolor/22x22 /usr/local/share/icons/hicolor/24x24 /usr/local/share/icons/hicolor/32x32 /usr/local/share/icons/hicolor/48x48 /usr/local/share/icons/hicolor/64x64 /usr/local/share/icons/hicolor/128x128 /usr/local/share/icons/hicolor/256x256
Start with fresh install of Raspbian Jessie...
Code: Select all
sudo apt-get update sudo apt-get install synaptic sudo synaptic - Settings/Repositories - select all and close sudo apt-get update sudo apt-get upgrade sudo apt-get dist-upgrade sudo rpi-update reboot sudo apt-get install make git-core build-essential checkinstall git clone -b Jarvis git://github.com/xbmc/xbmc.git kodi sudo apt-get build-dep kodi sudo apt-get install uuid-dev ANT openjdk-7-jdk doxygen wget https://download.videolan.org/pub/videolan/libbluray/0.8.1/libbluray-0.8.1.tar.bz2 tar xvjf libbluray-0.8.1.tar.bz2 cd libbluray* ./bootstrap ./configure make -j4 sudo make install cd sudo make -C kodi/tools/depends/target/crossguid PREFIX=/usr/local cd kodi/project git clone -b Jarvis https://github.com/kodi-pvr/pvr.hts.git cmake -DADDONS_TO_BUILD=pvr.hts -DADDON_SRC_PREFIX=../.. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=../../xbmc/addons -DPACKAGE_ZIP=1 ../../xbmc/project/cmake/addons make -j4 cd .. ./bootstrap CFLAGS="-I/opt/vc/include/ -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface/vmcs_host/linux -mfloat-abi=hard -mcpu=cortex-a7 -mfpu=neon-vfpv4" CXXFLAGS="-I/opt/vc/include/ -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface/vmcs_host/linux -mfloat-abi=hard -mcpu=cortex-a7 -mfpu=neon-vfpv4" LDFLAGS="-L/opt/vc/lib" FFMPEG_OPTS="--cpu=cortex-a7" ./configure --disable-gl --enable-gles --with-platform=raspberry-pi --disable-x11 --disable-vaapi --disable-vdpau --disable-avahi --enable-libcec --disable-pulse --disable-vtbdecoder --enable-alsa --enable-player=omxplayer --enable-libusb --enable-libbluray --enable-lirc --enable-joystick --with-ffmpeg=auto make -j3 sudo mkdir -p /usr/local/share/doc /usr/local/share/icons/hicolor/16x16 /usr/local/share/icons/hicolor/22x22 /usr/local/share/icons/hicolor/24x24 /usr/local/share/icons/hicolor/32x32 /usr/local/share/icons/hicolor/48x48 /usr/local/share/icons/hicolor/64x64 /usr/local/share/icons/hicolor/128x128 /usr/local/share/icons/hicolor/256x256 sudo checkinstall
btw... it takes about 20 to 30 minutes just for the *deb package to build. It looks like it's crashed, saying an error, but just hang on... it will build. As long as the $ prompt isn't there, then it's still building.
Also.. I started by setting gpu mem @ 64mb. Popcornmix says you can set it even lower at 16mb. Just make sure to set it back after the build for best video playback in Kodi.