Posts: 53
Joined: May 2015
Reputation:
0
2015-05-31, 22:56
(This post was last modified: 2015-05-31, 22:56 by navy1978_1.)
Hi hman,
No I was talking about the situation of my system without apply the patch, But I have just tried to follow your suggestion and rebuild Kodi, but I have this problem: After downloading Kodi and the patch, if I execute: "./bootstrap", I have the following error:
pi@raspberrypi ~/kodi $ ./bootstrap
autoreconf -vif .
make: autoreconf: Command not found
bootstrap.mk:34: recipe for target 'configure' failed
make: *** [configure] Error 127
And if I proceed with the next step: "git apply ../kodi-http-stream.patch", I have this other error:
pi@raspberrypi ~/kodi $ git apply ../kodi-http-stream.patch
../kodi-http-stream.patch:48: trailing whitespace.
/*!
../kodi-http-stream.patch:49: trailing whitespace.
\brief Some sources do not support HTTP HEAD request to determine i.e. mime type
../kodi-http-stream.patch:50: trailing whitespace.
\return false if HEAD requests have to be avoided
../kodi-http-stream.patch:51: trailing whitespace.
*/
../kodi-http-stream.patch:52: trailing whitespace.
bool ContentLookup() { return true; };
fatal: corrupt patch at line 633
Have you any idea of what could be the problem?
An help will be much appreciated...
Thanks!
Posts: 53
Joined: May 2015
Reputation:
0
2015-06-01, 00:23
(This post was last modified: 2015-06-01, 00:26 by navy1978_1.)
OK I reply to myself:
First error: I needed to install: sudo apt-get install dh-autoreconf
Second error: the patch files contains strange chars I needed to clean it up...
After a lots to tries and after Installing a tons of libraries:
1) apt-get install swig
2) apt-get install libtag1-dev libtag1-vanilla libtag1c2a
3) sudo apt-get install autotools-dev comerr-dev dpkg-dev libalsaplayer-dev libapt-pkg-dev:armhf libasound2-dev:armhf libass-dev:armhf libatk1.0-dev libavahi-client-dev libavahi-common-dev libavcodec-dev libavformat-dev libavutil-dev libbison-dev:armhf libbluray-dev:armhf libboost1.49-dev libbz2-dev:armhf libc-dev-bin libc6-dev:armhf libcaca-dev libcairo2-dev libcdio-dev libclalsadrv-dev libcrypto++-dev libcups2-dev libcurl3-gnutls-dev libdbus-1-dev libdbus-glib-1-dev libdirectfb-dev libdrm-dev libegl1-mesa-dev libelf-dev libenca-dev libept-dev libevent-dev libexpat1-dev libflac-dev:armhf libfontconfig1-dev libfreetype6-dev libfribidi-dev libgconf2-dev
4)sudo apt-get install libgcrypt11-dev libgdk-pixbuf2.0-dev libgl1-mesa-dev libgles2-mesa-dev libglew-dev:armhf libglewmx-dev:armhf libglib2.0-dev libglu1-mesa-dev libgnome-keyring-dev libgnutls-dev libgpg-error-dev libgtk2.0-dev libhal-dev libhunspell-dev:armhf libice-dev:armhf libicu-dev libidn11-dev libiso9660-dev libjasper-dev libjbig-dev:armhf libjconv-dev libjpeg8-dev:armhf libkrb5-dev libldap2-dev:armhf libltdl-dev:armhf liblzo2-dev libmad0-dev libmicrohttpd-dev libmodplug-dev libmp3lame-dev:armhf libmpeg2-4-dev libmysqlclient-dev
5)sudo apt-get install libncurses5-dev libnspr4-dev libnss3-dev libogg-dev:armhf libopenal-dev:armhf libp11-kit-dev libpam0g-dev:armhf libpango1.0-dev libpcre++-dev libpcre3-dev libpixman-1-dev libpng12-dev libprotobuf-dev libpthread-stubs0-dev:armhf libpulse-dev:armhf librtmp-dev libsamplerate0-dev:armhf libsdl-image1.2-dev:armhf libsdl1.2-dev libslang2-dev:armhf libsm-dev:armhf libsmbclient-dev:armhf libspeex-dev:armhf libsqlite3-dev libssh-dev libssh2-1-dev libssl-dev libstdc++6-4.6-dev libtagcoll2-dev libtasn1-3-dev libtiff4-dev libtinfo-dev:armhf libtinyxml-dev libts-dev:armhf libudev-dev libv8-dev libva-dev:armhf libvdpau-dev:armhf libvorbis-dev:armhf libvpx-dev:armhf libwebp-dev:armhf libwibble-dev libx11-dev:armhf libx11-xcb-dev libxapian-dev libxau-dev:armhf libxcb-glx0-dev:armhf libxcb-render0-dev:armhf libxcb-shm0-dev:armhf libxcb1-dev:armhf libxcomposite-dev libxcursor-dev:armhf libxdamage-dev libxdmcp-dev:armhf libxext-dev:armhf libxfixes-dev libxft-dev libxi-dev libxinerama-dev:armhf libxml2-dev:armhf libxmu-dev:armhf libxrandr-dev libxrender-dev:armhf libxslt1-dev libxss-dev:armhf libxt-dev:armhf
6)sudo apt-get install libxtst-dev:armhf libxxf86vm-dev libyajl-dev libzip-dev linux-libc-dev:armhf lzma-dev mesa-common-dev python-dev python2.7-dev x11proto-composite-dev x11proto-core-dev x11proto-damage-dev x11proto-dri2-dev x11proto-fixes-dev x11proto-gl-dev x11proto-input-dev x11proto-kb-dev x11proto-randr-dev x11proto-record-dev x11proto-render-dev x11proto-scrnsaver-dev x11proto-xext-dev x11proto-xf86vidmode-dev x11proto-xinerama-dev xtrans-dev libnfs-dev libplist-dev libshairport-dev avahi-daemonzlib1g-dev:armhf
Now launching this command: "./configure --with-platform=raspberry-pi"
I have the following error:
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 libmodplug/modplug.h usability... yes
checking libmodplug/modplug.h presence... yes
checking for libmodplug/modplug.h... yes
checking curl/curl.h usability... yes
checking curl/curl.h presence... yes
checking for curl/curl.h... yes
checking for libcurl soname... libcurl-gnutls.so.4
checking for CRYPTO_set_locking_callback(0) in libcurl-gnutls.so.4... no
checking openssl/crypto.h usability... yes
checking openssl/crypto.h presence... yes
checking for openssl/crypto.h... yes
checking gcrypt.h usability... yes
checking gcrypt.h presence... yes
checking for gcrypt.h... yes
checking for main in -lgpg-error... no
configure: error: Could not find a required library. Please see the README for your platform.
Any Ideas of how to exit from this hell? :S
Posts: 1,897
Joined: Feb 2013
Reputation:
128
afedchin know about it already. this is hack and not solves issue.
Posts: 53
Joined: May 2015
Reputation:
0
Hi Hman,
I have already fixed the problem with the patch (problem was related with CTRL-M (^M) in file I think you are using Windows to develop), but my problem is that the compilation on RaspBerry doesn't work, also if I have added tons of libraires, and I cannot understand wich is the library missed.
Just a stupid question, do you know if can I compile kodi on another linux machine adn after put it in Raspberry, maybe the missed libraries on Raspberry are present on different distribution like Ubuntu.
Please let me know.
Thanks!
Have a nice day
Posts: 82
Joined: May 2011
Reputation:
0
Has anybody built a version from source with the "hack" that they talk about in the open ticket? Would anyone be kind to upload a version in that case? I would love to do it myself but my skills in this department are pretty much useless.
Posts: 7
Joined: Aug 2015
Reputation:
0
Ok, build and configured it. With Alexelec Build I can confirm that the timeout is gone. It´s not as quick as VLC player, but I found it reasonable. 3-5 seconds changing channel in kodi it´s way better than 15 seconds...
Posts: 331
Joined: Mar 2012
Reputation:
8
2015-08-27, 21:52
(This post was last modified: 2015-08-27, 22:06 by misa.)
Yes nice........BUT that's only for 5 day's, correct me if I am wrong but that's what I have seen last week, maybe they changed it now.