..further to my above post #132:
since the "install ready" image of m_o_d has been prepared for KODI version 15.2 we need to start with
#wget
https://github.com/xbmc/xbmc/archieve/15...ard.tar.gz
#tar -zxvf 15.2-Isengard.tar.gz
#cd xbmc-15.2-Isengard
then, instead of making a script you may continue from command line as I did
#./bootstrap
#CFLAGS=.. (copy from code section 3 in post #77 without the : at the end)
#CXXFLAGS= .
#LDLFLAGS= ...
#FFMPEG_OPTS=...
#./configure ....
here you may consider changing the prefix. it is unnecessarily long and the "date-time" inclusion may cause some problems as it did to me ( I started the make before 24 o'clock make terminated for some reason then I continued make after 24 o'clock with day change and the result was 2 different file sets etc..
Furthermore when I ran kodi I got "unable to find path to Kodi data files!" error so before going further I recommend to consider the prefix and the paths here!
Anyway I didn't change the prefix.
If you got installation without any error and warning continue to next step ( warnings are also indications of possible problems in next steps)
#make
before starting make stop all the other processes. I was using htop to see the running processes and make terminated 2 -3 times probably for this reason. You may also try parallel execution option of make like make -j2 or -j3, -j4. (I didn't try yet) Note that -j1 is unnecessary because the default is already 1
If make terminates for some reason (internal error) as it happened to me a few times, simply restart make.
If you got make finish without error then,
#make install
since I didn't change the install prefix in ./configure I got "unable to find path to kodi data files!" error and for this reason I started kodi with showing where my data files are stored as below (this is simple solution, experienced persons may find more elegant solutions):
#KODI_HOME=/usr/local/kodi/git-YYYYMMDD-HHmm/share/kodi /usr/local/kodi/git-YYYYMMDD-HHmm/bin/kodi-standalone -- -nocursor :0
here YYYMMDD-HHmm is date and time of your actual installation.
Kodi works without problem furthermore it is possible to exit kodi simply from its menu and go back to terminal screen and do whatever else you want easily (this is what many persons want to do). Now I will try to install a web browser.
thank you @
m_o_d