Kodi Community Forum
Linux HOW-TO compile XBMC from a GIT source - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Tips, tricks, and step by step guides (https://forum.kodi.tv/forumdisplay.php?fid=110)
+--- Thread: Linux HOW-TO compile XBMC from a GIT source (/showthread.php?tid=89817)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14


- neil.j1983 - 2011-07-23

i hope you don't mind, but for a few days i'm gonna leave it as it is!

next time (probably a week or so) i'll do it with the libnfs compile too.


- X3lectric - 2011-07-23

No I dont mind mate its up to you, you only need to compile NFS if you have use for it...

I dont wanna pressure you please don't get the wrong idea.

Ill be here, gimme a holler btw I rep you up before check you user cp

Im glad it was simpler to solve and Im glad that you have it working... Trully.


- neil.j1983 - 2011-07-23

did a compile of gnif's audio engine, that compiled fine.
and did a compile including libnfs, that works fine.

regards.


- X3lectric - 2011-07-23

Thats was a short few days... Wink

excellent. Ive updated the nvidia drivers on my ppa to latest stable, feel free if you want to.


- dg69 - 2011-07-24

@X3lectric... just wanted to say thanks for your efforts, I would have been lost in the world of linux without your help Smile


- X3lectric - 2011-07-24

@ dg69 your welcome.


- m3g4tr0n - 2011-08-03

getting error below...any solution?

Code:
root@XBMCLive:~/setup/xbmc/lib/libnfs# make -C $HOME/setup/xbmc/lib/addons/script.module.pil
make: Entering directory `/root/setup/xbmc/lib/addons/script.module.pil'
make: *** No targets specified and no makefile found. Stop.
make: Leaving directory `/root/setup/xbmc/lib/addons/script.module.pil'
root@XBMCLive:~/setup/xbmc/lib/libnfs#

inside script.module.pil directory there's a Makefile.in file


- X3lectric - 2011-08-03

try
Code:
git reset --hard
git clean -xfd
and compile again.


- m3g4tr0n - 2011-08-03

done that

Code:
root@XBMCLive:~/setup/xbmc# git reset --hard
HEAD is now at f70c522 fixed: don't use frametime here for sanity
root@XBMCLive:~/setup/xbmc# git clean -xfd
Removing Makefile.include
Removing addons/script.module.pil/lib/
Removing lib/libnfs/.gitignore
Removing lib/libnfs/libnfs-48593f5.tar.gz
Removing lib/libnfs/libnfs-48593f5/
root@XBMCLive:~/setup/xbmc#

should i skip this and just compile xbmc?
make -C $HOME/setup/xbmc/lib/addons/script.module.pil


- X3lectric - 2011-08-03

does it error out after this?


- m3g4tr0n - 2011-08-03

yes still gave the same error. but doing it manually inside the script.module.pil directory works

Code:
cd $HOME/setup/xbmc/lib/addons/script.module.pil

and then

Code:
curl -Ls --output Imaging-1.1.7.tar.gz http://www.effbot.org/downloads/Imaging-1.1.7.tar.gz
rm -rf Imaging-1.1.7
tar xf Imaging-1.1.7.tar.gz
rm -rf /root/setup/xbmc/addons/script.module.pil/lib/PIL
pushd Imaging-1.1.7 && /usr/bin/python setup.py build --build-lib /root/setup/xbmc/addons/script.module.pil/lib/PIL; popd

can you check if it's okay http://pastebin.com/pRr8wv2z

will any of these cause trouble?

--------------------------------------------------------------------
*** TKINTER support not available
*** JPEG support not available
*** ZLIB (PNG/ZIP) support not available
*** FREETYPE2 support not available
*** LITTLECMS support not available
--------------------------------------------------------------------


- X3lectric - 2011-08-03

dont know.

\\see below


- X3lectric - 2011-08-03

try this.

Code:
stop xbmc-live
cd $HOME/setup/xbmc
make distclean
git reset --hard
git clean -xfd
git pull --rebase
cd $HOME/setup/xbmc/lib/libnfs/
make -j4; make install
cd $HOME/setup/xbmc
./bootstrap ; ./configure --prefix=/usr --enable-vdpau --disable-pulse --disable-crystalhd
cd $HOME/setup/xbmc
make -j4
make -C $HOME/setup/xbmc/lib/addons/script.module.pil
make install prefix=/usr
start xbmc-live

thats from frst post see how the make -C pil is after xbmc make, since then it actually builds all make files.


- X3lectric - 2011-08-04

ANNOUCEMENT

Corrected MAIN POST manual instruction and script so pil is always built with no errors.

especially since we are weeding out with git clean -xfd which and makedisclean which remove all makefiles form GIT dir.

Only after command make is executed, then all makefiles are created for all components that are part of the GIT build.

all is well.

cheers.


- boykster - 2011-08-10

Nice work!